Dynamically add/change SAML attributes
Hi,
Is it possible to dynamically adding assertion attributes to SAML depending on the authentication method?
From what I see in the LocalAuthenticationClass ( NACM API ), there is a method called:
addPrincipalAttributes(java.lang.String strAttr, java.lang.String[] values)
Sets attributes for a user that has been authenticated.
Does it mean that these attributes will be added to the SAML when NAM responses to the AuthnRequest?
If so, will they be automatically added to the e-Directory?
Basically, my boss wants me to send, say attributes 1,2,3 when a user authenticates with username/password contract. However, when a user logins with digital certificate, then I need to send attributes 1,2,3,4,5. Can this be done?
Thanks in advance,
Annon
|