Package io.aeron.security
package io.aeron.security
Basic security infrastructure for authenticating sessions by delegating to a supplied instance of an
Authenticator.
New connection requests will be allocated a unique 64-bit session identity which is first passed to
Authenticator.onConnectRequest(long, byte[], long). Once the response stream to the client
is connected then the system will make periodic calls to
Authenticator.onConnectedSession(io.aeron.security.SessionProxy, long) until the
Authenticator updates the status of the SessionProxy to indicate
if the session is authenticated, needs to be challenged, or is rejected.
-
ClassDescriptionUsed to indicate a failed authentication attempt when connecting to a system.Interface for an Authenticator to handle authentication of clients to a system.Used to supply instances of
Authenticator.Interface for an authorisation service to handle authorisation checks on clients performing actions to a system.Used to supply instances ofAuthorisationService.Supplier of credentials for authentication with a system.Default Authenticator which authenticates all connection requests immediately.Null provider of credentials when no authentication is required.Representation of a session during the authentication process from the perspective of anAuthenticator.An authenticator that works off a simple principal/credential pair constructed by a builder.Builder to create instances of SimpleAuthenticator.Authorisation service that supports setting general and per-principal rules as well as scoping to protocol, action, and type.Builder to create the authorisation service.