public class CachedAuthenticatedSessionMechanism extends Object implements AuthenticationMechanism
AuthenticationMechanism which uses any cached AuthenticationSessions.AuthenticationMechanism.AuthenticationMechanismOutcome, AuthenticationMechanism.ChallengeResult| Constructor and Description |
|---|
CachedAuthenticatedSessionMechanism() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationMechanism.AuthenticationMechanismOutcome |
authenticate(HttpServerExchange exchange,
SecurityContext securityContext)
Perform authentication of the request.
|
AuthenticationMechanism.AuthenticationMechanismOutcome |
runCached(HttpServerExchange exchange,
SecurityContext securityContext,
AuthenticatedSessionManager sessionManager) |
AuthenticationMechanism.ChallengeResult |
sendChallenge(HttpServerExchange exchange,
SecurityContext securityContext)
Send an authentication challenge to the remote client.
|
public AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(HttpServerExchange exchange, SecurityContext securityContext)
AuthenticationMechanismauthenticate in interface AuthenticationMechanismexchange - The exchangepublic AuthenticationMechanism.AuthenticationMechanismOutcome runCached(HttpServerExchange exchange, SecurityContext securityContext, AuthenticatedSessionManager sessionManager)
public AuthenticationMechanism.ChallengeResult sendChallenge(HttpServerExchange exchange, SecurityContext securityContext)
AuthenticationMechanismAuthenticationMechanism.ChallengeResult and the most appropriate
overall response code will be selected.sendChallenge in interface AuthenticationMechanismexchange - The exchangesecurityContext - The security contextAuthenticationMechanism.ChallengeResult indicating if a challenge was sent and the desired response code.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.