Interface SPAccountMapper
-
- All Known Implementing Classes:
DefaultADFSPartnerAccountMapper,DefaultLibrarySPAccountMapper
public interface SPAccountMapperThe classPartnerAccountMapperis 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 URLsfield in SAML service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetIdentity(RequestSecurityTokenResponse rstr, String hostEntityID, String targetURL)Returns user's distinguished name or the universal ID for the RSTR.
-
-
-
Method Detail
-
getIdentity
String getIdentity(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.
-
-