Package com.qwazr.server
Class HostnameAuthenticationMechanism
java.lang.Object
com.qwazr.server.HostnameAuthenticationMechanism
- All Implemented Interfaces:
io.undertow.security.api.AuthenticationMechanism
public class HostnameAuthenticationMechanism
extends java.lang.Object
implements io.undertow.security.api.AuthenticationMechanism
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HostnameAuthenticationMechanism.Factory
static class
HostnameAuthenticationMechanism.MapPrincipalResolver
static interface
HostnameAuthenticationMechanism.PrincipalResolver
-
Method Summary
Modifier and Type Method Description io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome
authenticate(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)
io.undertow.security.api.AuthenticationMechanism.ChallengeResult
sendChallenge(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)
-
Method Details
-
authenticate
public io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)- Specified by:
authenticate
in interfaceio.undertow.security.api.AuthenticationMechanism
-
sendChallenge
public io.undertow.security.api.AuthenticationMechanism.ChallengeResult sendChallenge(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)- Specified by:
sendChallenge
in interfaceio.undertow.security.api.AuthenticationMechanism
-