public final class LocalPrincipalSaslClientFactory extends AbstractDelegatingSaslClientFactory
WildFlySasl.PRINCIPAL
negotiated property to retrieve the principal.delegate
Constructor and Description |
---|
LocalPrincipalSaslClientFactory(SaslClientFactory delegate)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SaslClient |
createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
calculateHashCode, delegatesThrough, equals, equals, getMechanismNames, hashCode, toString
public LocalPrincipalSaslClientFactory(SaslClientFactory delegate)
delegate
- the delegate client factory (must not be null
)public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslClient
in interface SaslClientFactory
createSaslClient
in class AbstractDelegatingSaslClientFactory
SaslException
Copyright © 2020 JBoss by Red Hat. All rights reserved.