Class EnvMasterSource
java.lang.Object
org.codehaus.plexus.components.secdispatcher.internal.sources.MasterSourceSupport
org.codehaus.plexus.components.secdispatcher.internal.sources.PrefixMasterSourceSupport
org.codehaus.plexus.components.secdispatcher.internal.sources.EnvMasterSource
- All Implemented Interfaces:
MasterSource
,MasterSourceMeta
@Singleton
@Named("env")
public final class EnvMasterSource
extends PrefixMasterSourceSupport
implements MasterSourceMeta
Password source that uses env.
Config: env:$ENVIRONMENT_VARIABLE_NAME
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional "config template" that may serve as basis to configure this master source.String describing what this source does.protected String
protected SecDispatcher.ValidationResponse
doValidateConfiguration
(String transformed) Methods inherited from class org.codehaus.plexus.components.secdispatcher.internal.sources.MasterSourceSupport
handle, validateConfiguration
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
EnvMasterSource
public EnvMasterSource()
-
-
Method Details
-
description
Description copied from interface:MasterSourceMeta
String describing what this source does.- Specified by:
description
in interfaceMasterSourceMeta
-
configTemplate
Description copied from interface:MasterSourceMeta
Optional "config template" that may serve as basis to configure this master source. The template cannot be "reused" as is as configuration.- Specified by:
configTemplate
in interfaceMasterSourceMeta
-
doHandle
- Specified by:
doHandle
in classMasterSourceSupport
- Throws:
SecDispatcherException
-
doValidateConfiguration
- Specified by:
doValidateConfiguration
in classMasterSourceSupport
-