Quantcast
Channel: Claims based access platform (CBA), code-named Geneva forum
Viewing all articles
Browse latest Browse all 2535

Passing UPPERCASE nameidenifier?

$
0
0

Hello,

Using ADFS 3.0 I want to present a federated application the samaccount name in UPPERCASE. Currently the configuration for the claims rules are as follows:

RULE1

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]

 => issue(store = "Active Directory", types = ("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"), query = ";sAMAccountName;{0}", param = c.Value);

RULE2

c:[Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"]

 => issue(Type = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", Issuer = c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType = c.ValueType, Properties["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/format"] = "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified");

This works when case is like it is in AD. So I know these are good. DLL was created using the follow information.

http://msdn.microsoft.com/en-us/library/hh599320.aspx

Tried created third rule:

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/nameidentifier"]
=> issue(store = "UPPERADFS", types = ("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"), query = "toUpper", param = c.Value);

But I am unable to PASS the user in upper. New to ADFS would appreciate any help.

Thanks


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>