Package org.restheart.plugins.security
Interface AuthMechanism
-
- All Superinterfaces:
io.undertow.security.api.AuthenticationMechanism,ConfigurablePlugin,Plugin
public interface AuthMechanism extends io.undertow.security.api.AuthenticationMechanism, ConfigurablePlugin
- Author:
- Andrea Di Cesare
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcomeauthenticate(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)default StringgetMechanismName()io.undertow.security.api.AuthenticationMechanism.ChallengeResultsendChallenge(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)
-
-
-
Method Detail
-
authenticate
io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)- Specified by:
authenticatein interfaceio.undertow.security.api.AuthenticationMechanism
-
sendChallenge
io.undertow.security.api.AuthenticationMechanism.ChallengeResult sendChallenge(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)- Specified by:
sendChallengein interfaceio.undertow.security.api.AuthenticationMechanism
-
getMechanismName
default String getMechanismName()
-
-