Class HttpServerAuthenticator
- java.lang.Object
-
- com.sun.net.httpserver.Authenticator
-
- org.apache.activemq.artemis.spi.core.security.jaas.HttpServerAuthenticator
-
public class HttpServerAuthenticator extends Authenticator
delegate to our JAAS login modules by adapting our handlers to httpserver.httpExchange
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.net.httpserver.Authenticator
Authenticator.Failure, Authenticator.Result, Authenticator.Retry, Authenticator.Success
-
-
Constructor Summary
Constructors Constructor Description HttpServerAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authenticator.Result
authenticate(HttpExchange httpExchange)
protected String
extractAuthHeader(HttpExchange httpExchange)
protected String
nameFromAuthSubject(Subject subject)
-
-
-
Method Detail
-
authenticate
public Authenticator.Result authenticate(HttpExchange httpExchange)
- Specified by:
authenticate
in classAuthenticator
-
extractAuthHeader
protected String extractAuthHeader(HttpExchange httpExchange)
-
-