public final class ConnectionPeerIdentityContext
extends org.wildfly.security.auth.client.PeerIdentityContext
| Modifier and Type | Method and Description |
|---|---|
ConnectionPeerIdentity |
authenticate(org.wildfly.security.auth.client.AuthenticationConfiguration configuration)
Perform an authentication.
|
ConnectionPeerIdentity |
getAnonymousIdentity()
Get the anonymous identity for this context.
|
ConnectionPeerIdentity |
getCurrentIdentity()
Get the current identity.
|
public ConnectionPeerIdentity authenticate(org.wildfly.security.auth.client.AuthenticationConfiguration configuration) throws org.wildfly.security.auth.AuthenticationException
authenticate in class org.wildfly.security.auth.client.PeerIdentityContextconfiguration - the authentication configuration to use (must not be null)null)org.wildfly.security.auth.AuthenticationException - if the authentication attempt failedpublic ConnectionPeerIdentity getAnonymousIdentity()
null)public ConnectionPeerIdentity getCurrentIdentity()
getCurrentIdentity in class org.wildfly.security.auth.client.PeerIdentityContextnull)Copyright © 2017 JBoss, a division of Red Hat, Inc.. All rights reserved.