Class AuthenticationClientManagerBase
- All Implemented Interfaces:
PublicKeyAuthenticationClient
,TokenAuthenticationClient
,TokenFactoryFactory
,TokenVerificationClient
- Direct Known Subclasses:
AuthenticationClientManager
Class for managing and authenticating to potentially multiple authentication servers.
In a gRPC context, when there is more than one authentication server, all of them are symmetric, and any context required for satisfying a request (eg, authentication state and cookie-related data) are kept in etcd, to allow transparent failover and switching from one server to another. However, in the context of the three way handshake required for presenting a delegate token to a server, where (1) a client obtains a token from an auth server, (2) the client presents the token to a third service for authentication, and (3) the third service validates the token with the auth server, the auth server /should/ be the same in (1) and (3), since that context is not kept in etcd; our current implementation has auth servers forward verification to the correct origin on behalf of clients.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Token factory for the single client case, which applies for the gRPC authentication server case.static class
Partial implementation ofTokenFactoryFactory.TokenFactory
Nested classes/interfaces inherited from interface io.deephaven.enterprise.auth.TokenFactoryFactory
TokenFactoryFactory.TokenFactory
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.enterprise.auth.PublicKeyAuthenticationClient
challengeResponse
Methods inherited from interface io.deephaven.enterprise.auth.TokenAuthenticationClient
createToken, createToken, createTokenForUser, createTokenForUser
Methods inherited from interface io.deephaven.enterprise.auth.TokenFactoryFactory
close, getTokenFactory, getTokenFactory, getTokenFactory, getTokenFactory
Methods inherited from interface io.deephaven.enterprise.auth.TokenVerificationClient
verifyToken
-
Constructor Details
-
AuthenticationClientManagerBase
public AuthenticationClientManagerBase()
-