Table of Contents |
---|
Status
Current state: Under Discussion Adopted
Discussion thread: here
JIRA:
Jira | ||||||
---|---|---|---|---|---|---|
|
...
To address these problems, we propose first to introduce a new AuthenticationContext
interface to encapsulate the authentication state needed to derive the principal. Initially we expose a single method methods to get the underlying security protocol in use and the client address.
Code Block |
---|
interface AuthenticationContext { SecurityProtocol protocolString securityProtocolName(); InetAddress clientAddress(); } |
There will be two implementations of this interface exposed: SslAuthenticationContext
and SaslAuthenticationContext
. These expose the respective state needed to derive the Principal
.
...