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, setAuthenticationRequiredvoid 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 SecurityContextmechanism - The mechanism to addCopyright © 2020 JBoss by Red Hat. All rights reserved.