Class PasswordProviderBuilderProcessor
- java.lang.Object
-
- com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor<ParameterizedBuilder<PasswordProvider>>
-
- com.tangosol.coherence.config.xml.processor.PasswordProviderBuilderProcessor
-
- All Implemented Interfaces:
ConditionalElementProcessor<ParameterizedBuilder<PasswordProvider>>,ElementProcessor<ParameterizedBuilder<PasswordProvider>>
@XmlSimpleName("password-provider") public class PasswordProviderBuilderProcessor extends AbstractEmptyElementProcessor<ParameterizedBuilder<PasswordProvider>>
AnElementProcessorfor <password-provider> elements defined by a Coherence Operational Configuration file.- Since:
- Coherence 12.12.1.4
- Author:
- spuneet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPasswordProviderBuilderProcessor.DefaultPasswordProviderThis class is to wrap the existing password into the password-provider approach.-
Nested classes/interfaces inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
AbstractEmptyElementProcessor.EmptyElementBehavior
-
-
Constructor Summary
Constructors Constructor Description PasswordProviderBuilderProcessor()Constructs aPasswordProviderBuilderProcessor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 anXmlElementto return a specific type of value.-
Methods inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
accepts, isEmptyElement, process
-
-
-
-
Constructor Detail
-
PasswordProviderBuilderProcessor
public PasswordProviderBuilderProcessor()
Constructs aPasswordProviderBuilderProcessor.
-
-
Method Detail
-
onProcess
public ParameterizedBuilder<PasswordProvider> onProcess(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException
Description copied from class:AbstractEmptyElementProcessorProcess anXmlElementto return a specific type of value.- Specified by:
onProcessin classAbstractEmptyElementProcessor<ParameterizedBuilder<PasswordProvider>>- Parameters:
context- theProcessingContextin which theXmlElementis being processedxmlElement- theXmlElementto process- Returns:
- a value of type T
- Throws:
ConfigurationException- when a configuration problem was encountered
-
getPasswordProviderBuilderForPasswordStr
public static ParameterizedBuilder<PasswordProvider> getPasswordProviderBuilderForPasswordStr(String password)
Generates a ParameterizedBuilder using the DefaultPasswordProvider.class by passing the string-input to its single-param constructor.- Parameters:
password- the clear text password- Returns:
- ParameterizedBuilder of PsswordProvider
-
getNullPasswordProviderBuilder
public static ParameterizedBuilder<PasswordProvider> getNullPasswordProviderBuilder()
Rerturns a builder for null password values.- Returns:
- ParameterizedBuilder of PasswordProvider
-
-