Interface SPAccountMapper
The class
PartnerAccountMapper is an interface
that is implemented to map partner account to user account
in OpenAM.
Different partner would need to have a different implementation
of the interface. The mappings between the partner source ID and
the implementation class are configured at the Partner URLs
field in SAML service.
-
Method Summary
Modifier and TypeMethodDescriptiongetIdentity(com.sun.identity.wsfederation.profile.RequestSecurityTokenResponse rstr, String hostEntityID, String targetURL) Returns user's distinguished name or the universal ID for the RSTR.
-
Method Details
-
getIdentity
String getIdentity(com.sun.identity.wsfederation.profile.RequestSecurityTokenResponse rstr, String hostEntityID, String targetURL) throws WSFederationException Returns user's distinguished name or the universal ID for the RSTR. This method will be invoked by the WS-Federation framework while processing theRequestSecurityTokenResponseand retrieves the identity information.- Parameters:
rstr- the incomingRequestSecurityTokenResponsehostEntityID-EntityIDof the hosted provider.targetURL- final target URL.- Returns:
- user's disntinguished name or the universal ID.
- Throws:
WSFederationException- if any failure.
-