|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface SPAuthnContextMapper.java
determines
the Authentication Context to be set in the Authentication Request
and the Auth Level of an Authentication Context.
The implementation of this interface will be used to create
RequestedAuthnContext
to set in the AuthnRequest
and the Authentication Level of an Authentication Context.
Method Summary | |
int |
getAuthLevel(RequestedAuthnContext reqCtx,
AuthnContext authContext,
java.lang.String realm,
java.lang.String hostEntityID,
java.lang.String idpEntityID)
Returns the Auth Level for the AuthContext . |
RequestedAuthnContext |
getRequestedAuthnContext(java.lang.String realm,
java.lang.String hostEntityID,
java.util.Map paramsMap)
Returns the RequestedAuthnContext Object . |
Method Detail |
public RequestedAuthnContext getRequestedAuthnContext(java.lang.String realm, java.lang.String hostEntityID, java.util.Map paramsMap) throws SAML2Exception
RequestedAuthnContext
Object .
This method is called during Single Sign On initiation
at the Service Provider for determining the
RequestedAuthnContext
to be set in the
AuthRequest
before sending the request to
the Identity Provider.
realm
- Organization or realm of the Service Provider.hostEntityID
- Entity Identifier of the Host.paramsMap
- Map containing key/value pairs of request parameters.
SAML2Exception
- if an error occurs.public int getAuthLevel(RequestedAuthnContext reqCtx, AuthnContext authContext, java.lang.String realm, java.lang.String hostEntityID, java.lang.String idpEntityID) throws SAML2Exception
AuthContext
.
This method is called by the Service Provider to determine
the authLevel of Identity Provider Authentication Context
which will set in the SSOToken created for the user on successful
authentication.
reqCtx
- the RequestedAuthContext
object.authContext
- the AuthContext
object.realm
- the organization or realm of the Service Provider.hostEntityID
- the Hosted Provider Entity ID.idpEntityID
- the Identity Provider Entity ID.
AuthContext
.
SAML2Exception
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |