public final class ConnectionPeerIdentityContext extends PeerIdentityContext
| Modifier and Type | Method and Description |
|---|---|
ConnectionPeerIdentity |
authenticate(AuthenticationConfiguration configuration)
Perform an authentication.
|
IoFuture<ConnectionPeerIdentity> |
authenticateAsync(AuthenticationConfiguration configuration) |
ConnectionPeerIdentity |
getAnonymousIdentity()
Get the anonymous identity for this context.
|
ConnectionPeerIdentity |
getCurrentIdentity()
Get the current identity.
|
constructIdentity, ownspublic IoFuture<ConnectionPeerIdentity> authenticateAsync(AuthenticationConfiguration configuration)
public ConnectionPeerIdentity authenticate(AuthenticationConfiguration configuration) throws AuthenticationException
authenticate in class PeerIdentityContextconfiguration - the authentication configuration to use (must not be null)null)AuthenticationException - if the authentication attempt failedpublic ConnectionPeerIdentity getAnonymousIdentity()
null)public ConnectionPeerIdentity getCurrentIdentity()
getCurrentIdentity in class PeerIdentityContextnull)Copyright © 2017 JBoss by Red Hat. All rights reserved.