Class JaspiAuthenticationContext
- java.lang.Object
-
- org.wildfly.security.auth.jaspi.impl.JaspiAuthenticationContext
-
public class JaspiAuthenticationContext extends Object
- Author:
- Darran Lofthouse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CallbackHandlercreateCallbackHandler()SecurityIdentitygetAuthorizedIdentity()Get the authorized identity result of this authentication.ServerAuthConfiggetServerAuthConfig(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 Detail
-
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
public CallbackHandler createCallbackHandler()
-
getAuthorizedIdentity
public SecurityIdentity getAuthorizedIdentity() throws IllegalStateException
Get the authorized identity result of this authentication.- Returns:
- the authorized identity
- Throws:
IllegalStateException- if the authentication is incomplete
-
-