Top Description Methods
io.undertow.security.api

public Interface AuthenticationMechanismContext

extends SecurityContext
Known Direct Implementers
io.undertow.security.impl.SecurityContextImpl

An Undertow SecurityContext that uses Undertow AuthenticationMechanism instances for authentication.
Author
Darran Lofthouse

Method Summary

Modifier and TypeMethod and Description
public void
addAuthenticationMechanism(AuthenticationMechanism
The mechanism to add
mechanism
)

Redeclares io.undertow.security.api.SecurityContext.addAuthenticationMechanism.

Adds an authentication mechanism to this context.

Inherited from io.undertow.security.api.SecurityContext:
authenticateauthenticationCompleteauthenticationFailedgetAuthenticatedAccountgetAuthenticationMechanismsgetIdentityManagergetMechanismNameisAuthenticatedisAuthenticationRequiredloginlogoutregisterNotificationReceiverremoveNotificationReceiversetAuthenticationRequired

Method Detail

addAuthenticationMechanismback to summary
public void addAuthenticationMechanism(AuthenticationMechanism mechanism)

Redeclares io.undertow.security.api.SecurityContext.addAuthenticationMechanism.

Adds an authentication mechanism to this context. When authenticate() is called mechanisms will be iterated over in the order they are added, and given a chance to authenticate the user.

Parameters
mechanism:AuthenticationMechanism

The mechanism to add

Annotations
@Override