public class DefaultLibrarySPAccountMapper extends DefaultAccountMapper implements SPAccountMapper
DefaultLibrarySPAccountMapper
is the default
implementation of the SPAccountMapper
that is used
to map the SAML
protocol objects to the user accounts.
at the ServiceProvider
side of WSFederation plugin.
Custom implementations may extend from this class to override some
of these implementations if they choose to do so.bundle, debug, dsProvider, IDP, keyProvider, role, SP
Constructor and Description |
---|
DefaultLibrarySPAccountMapper()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentity(RequestSecurityTokenResponse rstr,
String hostEntityID,
String realm)
Returns the user's disntinguished name or the universal ID for the
corresponding
SAML Assertion . |
protected boolean |
isDynamicalOrIgnoredProfile(String realm)
Checks if dynamical profile creation or ignore profile is enabled.
|
getAttribute, getSearchParameters
public DefaultLibrarySPAccountMapper()
public String getIdentity(RequestSecurityTokenResponse rstr, String hostEntityID, String realm) throws WSFederationException
SAML
Assertion
. This method
will be invoked by the WS-Federation
framework while
processing the Assertion
and retrieves the identity
information. The implementation of this method checks for
the user for the corresponding name identifier in the assertion.getIdentity
in interface SPAccountMapper
rstr
- Request Security Token Response.hostEntityID
- EntityID
of the hosted provider.realm
- realm or the organization name that may be used to find
the user information.WSFederationException
- if any failure.protected boolean isDynamicalOrIgnoredProfile(String realm)
realm
- realm to check the dynamical profile creation attributes.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.