Class ExternalAuthenticationMechanism
java.lang.Object
org.wildfly.security.http.external.ExternalAuthenticationMechanism
- All Implemented Interfaces:
HttpServerAuthenticationMechanism
public class ExternalAuthenticationMechanism
extends Object
implements HttpServerAuthenticationMechanism
The EXTERNAL authentication mechanism.
- Author:
- Ashley Abdel-Sayed
-
Method Summary
Modifier and TypeMethodDescriptionvoidevaluateRequest(HttpServerRequest request) Evaluate the current request and attempt to authenticate if appropriate.Get the name of this mechanism, where appropriate this should be the IANA registered name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.http.HttpServerAuthenticationMechanism
dispose, getNegotiatedProperty, getNegotiationProperty
-
Method Details
-
getMechanismName
Description copied from interface:HttpServerAuthenticationMechanismGet the name of this mechanism, where appropriate this should be the IANA registered name.- Specified by:
getMechanismNamein interfaceHttpServerAuthenticationMechanism- Returns:
- the name of the mechanism.
- See Also:
-
evaluateRequest
Description copied from interface:HttpServerAuthenticationMechanismEvaluate the current request and attempt to authenticate if appropriate. The mechanism should call the appropriate callback methods on the {link HttpServerResponse} to both indicate the outcome of the evaluation and to register anyHttpServerMechanismsResponderas required.- Specified by:
evaluateRequestin interfaceHttpServerAuthenticationMechanism- Parameters:
request- representation of the HTTP request.- Throws:
HttpAuthenticationException- if there is an internal failure handling the authentication.
-