Package net.shibboleth.idp.cli
Class AbstractIdPHomeAwareCommandLineArguments
- java.lang.Object
-
- net.shibboleth.ext.spring.cli.AbstractCommandLineArguments
-
- net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
-
- All Implemented Interfaces:
CommandLineArguments
- Direct Known Subclasses:
DataSealerArguments,JarCheckArguments,ModuleManagerArguments,PluginInstallerArguments
public abstract class AbstractIdPHomeAwareCommandLineArguments extends AbstractCommandLineArguments
An extension toAbstractCommandLineArgumentsthat allows idp.home override and includes HTTP client support.- Since:
- 4.1.0
-
-
Field Summary
Fields Modifier and Type Field Description private StringhttpClientNameName for theHttpClient.private StringhttpClientSecurityParametersNameName for theHttpClientSecurityParameters.private StringidpHomeIdP location.
-
Constructor Summary
Constructors Constructor Description AbstractIdPHomeAwareCommandLineArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHttpClientName()Get bean name for theHttpClient(if specified).StringgetHttpClientSecurityParameterstName()Get bean name for theHttpClientSecurityParameters(if specified).StringgetIdPHome()Gets the configured home location.voidprintHelp(PrintStream out)voidsetHttpClientName(String name)Set bean name for theHttpClient.-
Methods inherited from class net.shibboleth.ext.spring.cli.AbstractCommandLineArguments
getLanguageRanges, getLog, getLoggingConfiguration, getOtherArgs, getPropertyFiles, isANSI, isHelp, isQuietOutput, isVerboseOutput, isVersion, validate
-
-
-
-
Field Detail
-
idpHome
@Nullable private String idpHome
IdP location.
-
httpClientSecurityParametersName
@Nullable @NotEmpty private String httpClientSecurityParametersName
Name for theHttpClientSecurityParameters.
-
-
Method Detail
-
getIdPHome
@Nullable public String getIdPHome()
Gets the configured home location.- Returns:
- home location
-
getHttpClientName
@Nullable @NotEmpty public String getHttpClientName()
Get bean name for theHttpClient(if specified).- Returns:
- the name or null
-
setHttpClientName
public void setHttpClientName(@Nullable @NotEmpty String name)
Set bean name for theHttpClient.- Parameters:
name- bean name
-
getHttpClientSecurityParameterstName
@Nullable @NotEmpty public String getHttpClientSecurityParameterstName()
Get bean name for theHttpClientSecurityParameters(if specified).- Returns:
- the name or null
-
printHelp
public void printHelp(PrintStream out)
- Specified by:
printHelpin interfaceCommandLineArguments- Overrides:
printHelpin classAbstractCommandLineArguments
-
-