Package io.deephaven.enterprise.auth
Class ClientAuthMethod
java.lang.Object
io.deephaven.enterprise.auth.ClientAuthMethod
A base class for enabling alternate means of confirming identity to the authentication server.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientAuthMethod
(com.fishlib.io.logger.Logger log) Any implementation of this class must include an initializer with this signature in order to be instantiated at runtime. -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
Perform whatever steps are needed to authenticate with the server.boolean
reauthenticate
(AuthenticationClient client) Allow for a separate reauthentication method from the original authentication method.
-
Field Details
-
log
protected final com.fishlib.io.logger.Logger log
-
-
Constructor Details
-
ClientAuthMethod
public ClientAuthMethod(com.fishlib.io.logger.Logger log) Any implementation of this class must include an initializer with this signature in order to be instantiated at runtime.- Parameters:
log
- The logger to use for this authentication method.
-
-
Method Details
-
nonInteractiveAuthentication
Perform whatever steps are needed to authenticate with the server.- Parameters:
client
- The client to attempt to authenticate with.- Returns:
- True if the authentication succeeded, false otherwise.
-
reauthenticate
Allow for a separate reauthentication method from the original authentication method. Defaults to the original authentication method.- Parameters:
client
- The client to attempt to reauthenticate with.- Returns:
- True if the authentication succeeded, false otherwise.
-