Package net.shibboleth.idp.installer
Interface InstallerProperties
- All Superinterfaces:
Component
,InitializableComponent
- All Known Implementing Classes:
InstallerPropertiesImpl
Interface to describe simply parameterization and status of the installation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThose modules enabled by default. -
Method Summary
Modifier and TypeMethodDescriptionGet a directory to use to "pre-overlay" the conf directory.Group to set on all files in credentials and conf.Mode to set on all files in credentials.Get the EntityId for this install.Get the host name for this install.Get the a file to merge with idp.properties or null.Get a path to use to do the initial edit-webapp populate.int
Get the key size for signing, encryption and backchannel.Get the password for the keystore for this installation.Get the a file to merge with ldap.properties or null.Get the LDAP password iff one was provided.Get the modules to enable after first install.getScope()
Get the scope for this installation.Get the alias for the sealer key.Get the password for the sealer for this installation.Where is the install coming from?Get the SubjectAltName for the certificates.Get where we are installing/updating/building the war.boolean
isNoTidy()
Does the user want us to *not* tidy up.boolean
Do we set the mode?Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
DEFAULT_MODULES
Those modules enabled by default.
-
-
Method Details
-
getTargetDir
Get where we are installing/updating/building the war.- Returns:
- the target directory
- Throws:
org.apache.tools.ant.BuildException
- if something goes awry.
-
isNoTidy
boolean isNoTidy()Does the user want us to *not* tidy up.- Returns:
- do we not tidy up?
-
getCredentialsKeyFileMode
Mode to set on all files in credentials.- Returns:
- the mode
-
getCredentialsGroup
Group to set on all files in credentials and conf.- Returns:
- the mode or null if none to be set
-
isSetGroupAndMode
@Nonnull boolean isSetGroupAndMode()Do we set the mode?- Returns:
- do we the mode
-
getSourceDir
Where is the install coming from?- Returns:
- the source directory
-
getEntityID
Get the EntityId for this install.- Returns:
- the name.
-
getHostName
Get the host name for this install.- Returns:
- the host name.
-
getScope
Get the scope for this installation.- Returns:
- The scope.
-
getSubjectAltName
Get the SubjectAltName for the certificates.- Returns:
- the SubjectAltName
-
getKeyStorePassword
Get the password for the keystore for this installation.- Returns:
- the password.
-
getSealerPassword
Get the password for the sealer for this installation.- Returns:
- the password.
-
getSealerAlias
Get the alias for the sealer key.- Returns:
- the alias
-
getKeySize
int getKeySize()Get the key size for signing, encryption and backchannel.- Returns:
- the keysize
-
getIdPMergeProperties
Get the a file to merge with idp.properties or null.- Returns:
- the file or null if it none required.
- Throws:
org.apache.tools.ant.BuildException
- if badness happens
-
getLDAPMergeProperties
Get the a file to merge with ldap.properties or null.- Returns:
- the path or null if it none required.
- Throws:
org.apache.tools.ant.BuildException
- if badness happens
-
getLDAPPassword
Get the LDAP password iff one was provided. DO NOT PROMPT- Returns:
- the password if provided by a properties
- Throws:
org.apache.tools.ant.BuildException
- if badness happens
-
getConfPreOverlay
Get a directory to use to "pre-overlay" the conf directory. Files will be copied from here if they don't already exist in conf, before the files are copied from the distribution.- Returns:
- the path or null if non specified.
- Throws:
org.apache.tools.ant.BuildException
- if badness happens
-
getInitialEditWeb
Get a path to use to do the initial edit-webapp populate.- Returns:
- the path or null if non specified.
- Throws:
org.apache.tools.ant.BuildException
- if badness happens
-
getModulesToEnable
Get the modules to enable after first install.- Returns:
- the modules
-