Class JaspiAuthenticationContext
java.lang.Object
org.wildfly.security.auth.jaspi.impl.JaspiAuthenticationContext
- Author:
- Darran Lofthouse
-
Method Summary
Modifier and TypeMethodDescriptionGet the authorized identity result of this authentication.getServerAuthConfig(AuthConfigProvider authConfigProvider, String layer, String appContext) static JaspiAuthenticationContextnewInstance(SecurityDomain securityDomain, boolean integrated) Deprecated.static JaspiAuthenticationContextnewInstance(SecurityDomain securityDomain, boolean integrated, SecurityIdentity cachedIdentity) static JaspiAuthenticationContextnewInstance(SecurityDomain securityDomain, boolean integrated, CachedIdentity cachedIdentity)
-
Method Details
-
newInstance
@Deprecated public static JaspiAuthenticationContext newInstance(SecurityDomain securityDomain, boolean integrated) Deprecated. -
newInstance
public static JaspiAuthenticationContext newInstance(SecurityDomain securityDomain, boolean integrated, CachedIdentity cachedIdentity) -
newInstance
public static JaspiAuthenticationContext newInstance(SecurityDomain securityDomain, boolean integrated, SecurityIdentity cachedIdentity) -
getServerAuthConfig
public ServerAuthConfig getServerAuthConfig(AuthConfigProvider authConfigProvider, String layer, String appContext) throws AuthException - Throws:
AuthException
-
createCallbackHandler
-
getAuthorizedIdentity
Get the authorized identity result of this authentication.- Returns:
- the authorized identity
- Throws:
IllegalStateException- if the authentication is incomplete
-