Class AuthenticationMethod
java.lang.Object
net.sf.basedb.core.authentication.AuthenticationMethod
Holds information about the method that was used to verify a user when logging in.
See
SessionControl.getAuthenticationMethod()
. The INTERNAL
is method is a static constant used when the regular internal username/password
verification is used. The EXTERNAL
is a generic external verification but
external AuthenticationManager
:s are encouraged to define their own authentication
methods.- Since:
- 3.3
- Author:
- Nicklas
-
Field Summary
Modifier and TypeFieldDescriptionstatic AuthenticationMethod
This is a generic external authentication method.static AuthenticationMethod
This is special-case internal login used by job queue, etc.private final String
private static Map<String,
AuthenticationMethod> static AuthenticationMethod
This is the regular internal username/password verification authentication method. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final AuthenticationMethod
getInstance
(String method) Get an instance of this class for the given authentication method.Get the name of the authentication method.toString()
-
Field Details
-
methods
-
INTERNAL
This is special-case internal login used by job queue, etc.- Since:
- 3.9
-
PASSWORD
This is the regular internal username/password verification authentication method.- Since:
- 3.9
-
EXTERNAL
This is a generic external authentication method.AuthenticationManager
:s are encouraged to define their own authentication methods. -
method
-
-
Constructor Details
-
AuthenticationMethod
-
-
Method Details