Package io.deephaven.status.dashboard
Class DeephavenAuthenticator
java.lang.Object
com.sun.net.httpserver.Authenticator
com.sun.net.httpserver.BasicAuthenticator
io.deephaven.status.dashboard.DeephavenAuthenticator
Simple extension of
BasicAuthenticator
that authenticates usernames and passwords against the Deephaven database.
It also verifies that the user is a member of one of the groups specified by the property StatusDashboard.allowedGroups
,
or superusers if that property isn't specified.-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.net.httpserver.Authenticator
Authenticator.Failure, Authenticator.Result, Authenticator.Retry, Authenticator.Success
-
Field Summary
Fields inherited from class com.sun.net.httpserver.BasicAuthenticator
realm
-
Method Summary
Methods inherited from class com.sun.net.httpserver.BasicAuthenticator
getRealm
-
Method Details
-
authenticate
- Overrides:
authenticate
in classBasicAuthenticator
-
checkCredentials
- Specified by:
checkCredentials
in classBasicAuthenticator
-