Class FinalizeJettyBase
java.lang.Object
net.shibboleth.idp.installer.impl.FinalizeJettyBase
Deprecated.
This is only used by the windows jetty-base installer
and will be removed when we use the plugin
Small class to do the post install work on an embedded jetty-base.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidDeprecated.Copy one file to another.private voidDeprecated.If they don't exists create.private voidDeprecated.Create the jetty.sslContext.keyStorePath as a copy from the idp.backchannel.keyStorePath file.private voidexecute()Deprecated.Do the work associated with finalizing this install.static voidDeprecated.Main entry.private voidDeprecated.lock down the jetty base directory.private voidDeprecated.Rewrite any property names needed.
-
Field Details
-
idpHome
Deprecated.The IdP Installation dir. -
jettyBase
Deprecated.The jetty-base dir.
-
-
Constructor Details
-
FinalizeJettyBase
Deprecated.Constructor.- Throws:
IOException- if we are incorrectly configured
-
-
Method Details
-
execute
Deprecated.Do the work associated with finalizing this install.- Throws:
IOException- if we encounter other issues
-
createDirectories
Deprecated.If they don't exists create.- Throws:
IOException- if we failed to create a directory
-
createP12IdPini
Deprecated.Create the jetty.sslContext.keyStorePath as a copy from the idp.backchannel.keyStorePath file. The create start.d/idp.ini from the start.d.dist/idp.ini.windows but replacing the two password properties- Throws:
IOException- if we trip up.
-
updateIdPini
Deprecated.Rewrite any property names needed.- Throws:
IOException- on a failed update
-
copyFile
Deprecated.Copy one file to another.- Parameters:
fromFile- fromtoFile- to- Throws:
IOException- if it fails.
-
reprotect
private void reprotect()Deprecated.lock down the jetty base directory. -
main
Deprecated.Main entry.- Parameters:
args- As supplied- Throws:
IOException- if there is a problem with the jetty base.
-