Interface SPAccountMapper
-
@SupportedAll public interface SPAccountMapper
The classPartnerAccountMapper
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getIdentity(com.sun.identity.wsfederation.profile.RequestSecurityTokenResponse rstr, String hostEntityID, String targetURL)
Returns user's distinguished name or the universal ID for the RSTR.
-
-
-
Method Detail
-
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 theRequestSecurityTokenResponse
and retrieves the identity information.- Parameters:
rstr
- the incomingRequestSecurityTokenResponse
hostEntityID
-EntityID
of the hosted provider.targetURL
- final target URL.- Returns:
- user's disntinguished name or the universal ID.
- Throws:
WSFederationException
- if any failure.
-
-