Package org.wildfly.security.sasl.util
Class AbstractDelegatingSaslServerFactory
java.lang.Object
org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
- All Implemented Interfaces:
SaslServerFactory
- Direct Known Subclasses:
AuthenticationCompleteCallbackSaslServerFactory,AuthenticationContextSaslServerFactory,AuthenticationTimeoutSaslServerFactory,AvailableRealmsSaslServerFactory,ChannelBindingSaslServerFactory,CredentialSaslServerFactory,DisposedCallbackSaslServerFactory,FilterMechanismSaslServerFactory,KeyManagerCredentialSaslServerFactory,LegacyRealmListSaslServerFactory,MechanismProviderFilteringSaslServerFactory,PrivilegedSaslServerFactory,PropertiesSaslServerFactory,ProtocolSaslServerFactory,SecurityIdentitySaslServerFactory,ServerNameSaslServerFactory,SetMechanismInformationSaslServerFactory,SocketAddressCallbackSaslServerFactory,SortedMechanismSaslServerFactory,SSLSaslServerFactory,TLSServerEndPointChannelBindingSaslServerFactory,TrustManagerSaslServerFactory
public abstract class AbstractDelegatingSaslServerFactory
extends Object
implements SaslServerFactory
An abstract base for
SaslServerFactory instances which delegate to another SaslServerFactory.- Author:
- David M. Lloyd
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SaslServerFactoryThe delegateSaslServerFactory. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstruct a new instance. -
Method Summary
Modifier and TypeMethodDescriptioncreateSaslServer(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) final booleandelegatesThrough(Class<? extends SaslServerFactory> factoryClass) Determine whether this chain of delegating factories delegates through an instance of the given class.String[]getMechanismNames(Map<String, ?> props) toString()
-
Field Details
-
delegate
The delegateSaslServerFactory.
-
-
Constructor Details
-
AbstractDelegatingSaslServerFactory
Construct a new instance.- Parameters:
delegate- the delegate server factory
-
-
Method Details
-
delegatesThrough
Determine whether this chain of delegating factories delegates through an instance of the given class.- Parameters:
factoryClass- the SASL server factory class- Returns:
trueif this chain delegates through the factory class,falseotherwise
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException- Specified by:
createSaslServerin interfaceSaslServerFactory- Throws:
SaslException
-
getMechanismNames
- Specified by:
getMechanismNamesin interfaceSaslServerFactory
-
toString
-