public interface AuthenticationMechanismContext extends SecurityContext
SecurityContext
that uses Undertow AuthenticationMechanism
instances for authentication.Modifier and Type | Method and Description |
---|---|
void | addAuthenticationMechanism(AuthenticationMechanism mechanism) Adds an authentication mechanism to this context. |
authenticate, authenticationComplete, authenticationFailed, getAuthenticatedAccount, getAuthenticationMechanisms, getIdentityManager, getMechanismName, isAuthenticated, isAuthenticationRequired, login, logout, registerNotificationReceiver, removeNotificationReceiver, setAuthenticationRequired
void addAuthenticationMechanism(AuthenticationMechanism mechanism)
SecurityContext.authenticate()
is called mechanisms will be iterated over in the order they are added, and given a chance to authenticate the user.addAuthenticationMechanism
in interface SecurityContext
mechanism
- The mechanism to addCopyright © 2020 JBoss by Red Hat. All rights reserved.