@XmlSimpleName(value="password-provider") public class PasswordProviderBuilderProcessor extends AbstractEmptyElementProcessor<ParameterizedBuilder<PasswordProvider>>
ElementProcessor
for <password-provider> elements defined by
a Coherence Operational Configuration file.Modifier and Type | Class and Description |
---|---|
static class |
PasswordProviderBuilderProcessor.DefaultPasswordProvider
This class is to wrap the existing password into the password-provider approach.
|
AbstractEmptyElementProcessor.EmptyElementBehavior
Constructor and Description |
---|
PasswordProviderBuilderProcessor()
Constructs a
PasswordProviderBuilderProcessor . |
Modifier and Type | Method and Description |
---|---|
static ParameterizedBuilder<PasswordProvider> |
getNullPasswordProviderBuilder()
Rerturns a builder for null password values.
|
static ParameterizedBuilder<PasswordProvider> |
getPasswordProviderBuilderForPasswordStr(String password)
Generates a ParameterizedBuilder using the DefaultPasswordProvider.class
by passing the string-input to its single-param constructor.
|
ParameterizedBuilder<PasswordProvider> |
onProcess(ProcessingContext context,
XmlElement xmlElement)
Process an
XmlElement to return a specific type of value. |
accepts, isEmptyElement, process
public PasswordProviderBuilderProcessor()
PasswordProviderBuilderProcessor
.public ParameterizedBuilder<PasswordProvider> onProcess(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException
AbstractEmptyElementProcessor
XmlElement
to return a specific type of value.onProcess
in class AbstractEmptyElementProcessor<ParameterizedBuilder<PasswordProvider>>
context
- the ProcessingContext
in which the
XmlElement
is being processedxmlElement
- the XmlElement
to processConfigurationException
- when a configuration problem was encounteredpublic static ParameterizedBuilder<PasswordProvider> getPasswordProviderBuilderForPasswordStr(String password)
password
- the clear text passwordpublic static ParameterizedBuilder<PasswordProvider> getNullPasswordProviderBuilder()