Package com.sun.identity.saml2.plugins
Class IDPAuthnContextInfo
java.lang.Object
com.sun.identity.saml2.plugins.IDPAuthnContextInfo
The class 
IDPAuthnContextInfo consists of the mapping 
 between AuthnContextClassRef and the actual 
 authentication mechanism at the Identity Provider.- 
Constructor SummaryConstructorsConstructorDescriptionIDPAuthnContextInfo(AuthnContext authnContext, Set authnTypeAndValues, Integer authnLevel) The constructor.IDPAuthnContextInfo(AuthnContext authnContext, Set authnTypeAndValues, Integer authnLevel, boolean requiresRedirectToAuth) The constructor.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the returningAuthnContextReturns the Authentication LevelReturns the set of authentication mechanismReturns a map of the authentication mechanism.booleanWhether the AuthnContextInfo requires AM to redirect to auth service.
- 
Constructor Details- 
IDPAuthnContextInfoThe constructor.- Parameters:
- authnContext- The- AuthnContextthat is returned to the requester.
- authnTypeAndValues- The set of authentication mechanism
- authnLevel- The Authentication Level associated to the Authentication context
 
- 
IDPAuthnContextInfopublic IDPAuthnContextInfo(AuthnContext authnContext, Set authnTypeAndValues, Integer authnLevel, boolean requiresRedirectToAuth) The constructor.- Parameters:
- authnContext- The- AuthnContextthat is returned to the requester.
- authnTypeAndValues- The set of authentication mechanism
- authnLevel- The Authentication Level associated to the Authentication context
- requiresRedirectToAuth- whether this Authentication context requires that the IDP redirect to auth
 
 
- 
- 
Method Details- 
getAuthnContextReturns the returningAuthnContext- Returns:
- the returning AuthnContext
 
- 
getAuthnTypeAndValuesReturns the set of authentication mechanism- Returns:
- the set of authentication mechanism
 
- 
getAuthnTypeAndValuesAsMapReturns a map of the authentication mechanism.
- 
getAuthnLevelReturns the Authentication Level- Returns:
- the Authentication level
 
- 
requiresRedirectionToAuthpublic boolean requiresRedirectionToAuth()Whether the AuthnContextInfo requires AM to redirect to auth service. This is true if we have a service set directly on the remote SP, or we have a service specified via AuthnContext that has 'mustRun' set on the corresponding tree configuration.- Returns:
- trueif SAML should redirect the user to authenticate, otherwise false
 
 
-