public class DynamicSaslRegistrar extends Object
The sasl configuration should be specified in a properties file, refered to by the System property "amp.dynamicsaslregistrar.properties". The format of the properties file is:
mechanism=fully.qualified.class.name
Where mechanism is an IANA-registered mechanism name and the fully qualified class name refers to a class that implements javax.security.sasl.SaslClientFactory and provides the specified mechanism.
Modifier and Type | Class and Description |
---|---|
static class |
DynamicSaslRegistrar.ProviderRegistrationResult |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_RESOURCE_NAME
The default name of the SASL properties file resource.
|
Modifier and Type | Method and Description |
---|---|
static DynamicSaslRegistrar.ProviderRegistrationResult |
registerSaslProviders()
Reads the properties file, and creates a dynamic security provider to register the SASL implementations with.
|
public static final String DEFAULT_RESOURCE_NAME
public static DynamicSaslRegistrar.ProviderRegistrationResult registerSaslProviders()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.