|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface IDPAccountMapper
is used to map the
local identities to the SAML
protocol objects and
also the vice versa for some of the protocols for e.g.
ManageNameIDRequest
.
This mapper interface is used to map the identities only at the
SAMLAssertionProducer
, in otherwords, SAML
Provider as an IdentityProvider
. The implementation of this
interface will be used by the SAML
framework to retrieve
the user's account federation information for the constructing
SAML protocol objects such as Assertion
and also to
find out the corresponding user account for the given SAML requests.
The implementation of this interface may need to consider the
deployment of the SAMLv2 plugin for example the AccessManger
platform or the FederationManager
platform.
SPAccountMapper
Method Summary | |
java.lang.String |
getIdentity(ManageNameIDRequest manageNameIDRequest,
java.lang.String hostEntityID,
java.lang.String realm)
Returns the user's disntinguished name or the universal ID for the corresponding SAML ManageNameIDRequest . |
NameID |
getNameID(com.iplanet.sso.SSOToken ssoToken,
java.lang.String hostEntityID,
java.lang.String remoteEntityID)
Returns the user's NameID information that contains
account federation with the corresponding remote and local entities. |
Method Detail |
public NameID getNameID(com.iplanet.sso.SSOToken ssoToken, java.lang.String hostEntityID, java.lang.String remoteEntityID) throws SAML2Exception
NameID
information that contains
account federation with the corresponding remote and local entities.
ssoToken
- Single Sign On Token of the user.hostEntityID
- EntityID
of the hosted provider.remoteEntityID
- EntityID
of the remote provider.
NameID
corresponding to the authenticated user.
SAML2Exception
- if any failure.public java.lang.String getIdentity(ManageNameIDRequest manageNameIDRequest, java.lang.String hostEntityID, java.lang.String realm) throws SAML2Exception
SAML
ManageNameIDRequest
.
This method returns the universal ID or the DN based on the
deployment of the SAMLv2 plugin base platform.
manageNameIDRequest
- SAML
ManageNameIDRequest
that needs to be mapped to the user.hostEntityID
- EntityID
of the hosted provider.realm
- realm or the organization name that may be used to find
the user information.
SAML2Exception
- if any failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |