Package org.actioncontroller.httpserver
Class ActionAuthenticator
- java.lang.Object
-
- com.sun.net.httpserver.Authenticator
-
- org.actioncontroller.httpserver.ActionAuthenticator
-
public abstract class ActionAuthenticator extends Authenticator
Used withHttpServeras a base class for authentication with action-controller
-
-
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 ActionAuthenticator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Authenticator.Resultauthenticate(HttpExchange exchange)abstract voidlogin(ApiHttpExchange exchange)
-
-
-
Method Detail
-
authenticate
public abstract Authenticator.Result authenticate(HttpExchange exchange)
- Specified by:
authenticatein classAuthenticator
-
login
public abstract void login(ApiHttpExchange exchange) throws IOException
- Throws:
IOException
-
-