|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface SPAccountMapper
is used to identify the
local identities that maps the SAML
protocol objects such as
Assertion
, ManageNameIDRequest
etc.
This mapper interface is used to map the identities only at the
SAMLAssertionConsumer
, in otherwords,
ServiceProvider
version of the SAML
provider.
The implementation of this interface will be used by the SAML
framework to retrieve the user identity information for the consumption
of generating a user session, or manage the user account information while
handling the SAML
protocols and it is pluggable
through local configuration in the SAML2
plugin.
The implementation of this interface may need to consider the
deployment of the SAML v2 plugin for example on the Access Manager platform
or on Federation Manager.
IDPAccountMapper
Method Summary | |
java.lang.String |
getIdentity(Assertion assertion,
java.lang.String hostEntityID,
java.lang.String realm)
Returns the user's disntinguished name or the universal ID for the corresponding SAML Assertion . |
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 . |
Method Detail |
public java.lang.String getIdentity(Assertion assertion, java.lang.String hostEntityID, java.lang.String realm) throws SAML2Exception
SAML
Assertion
. This method
will be invoked by the SAML
framework while processing
the Assertion
and retrieves the identity information.
assertion
- SAML
Assertion
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.public java.lang.String getIdentity(ManageNameIDRequest manageNameIDRequest, java.lang.String hostEntityID, java.lang.String realm) throws SAML2Exception
SAML
ManageNameIDRequest
.
This method will be invoked by the SAML
framework for
retrieving the user identity while processing the
ManageIDRequest
.
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 |