Package net.shibboleth.sp.saml.conf
Class SAMLModule
- All Implemented Interfaces:
IdPModule,Module,Component,IdentifiedComponent
IdPModule implementation.-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.profile.module.AbstractModule
AbstractModule.BasicModuleResourceNested classes/interfaces inherited from interface net.shibboleth.profile.module.Module
Module.ModuleResource, Module.ResourceResult -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault value of property naming encryption cert.static final StringDefault value of property naming encryption key.static final StringDefault value of property naming signing cert.static final StringDefault value of property naming signing key.private org.slf4j.LoggerClass logger.Fields inherited from class net.shibboleth.idp.module.impl.PluginIdPModule
MODULE_URL_BASEFields inherited from class net.shibboleth.profile.module.PropertyDrivenModule
DEFAULT_RESOURCE, MODULE_DESC_PROPERTY, MODULE_DEST_PROPERTY, MODULE_EXEC_PROPERTY, MODULE_LANGS_PROPERTY, MODULE_NAME_PROPERTY, MODULE_NONWINDOWS_PROPERTY, MODULE_OPTIONAL_PROPERTY, MODULE_PLUGIN_PROPERTY, MODULE_POSTDISABLE_PROPERTY, MODULE_POSTENABLE_PROPERTY, MODULE_REPLACE_PROPERTY, MODULE_SRC_PROPERTY, MODULE_URL_PROPERTY, MODULE_WINDOWS_PROPERTYFields inherited from interface net.shibboleth.idp.module.IdPModule
IDPNEW_EXT_BASE, IDPSAVE_EXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenable(ModuleContext moduleContext) private voidgenerateKeyPair(Path keyFile, Path crtFile) Generate a keypair.Methods inherited from class net.shibboleth.idp.module.impl.PluginIdPModule
loadMethods inherited from class net.shibboleth.idp.module.PropertyDrivenIdPModule
getNewExtension, getSaveExtensionMethods inherited from class net.shibboleth.profile.module.PropertyDrivenModule
disable, getDescription, getId, getName, getOwnerId, getURL, isHttpClientRequired, setURLMethods inherited from class net.shibboleth.profile.module.AbstractModule
equals, getResources, hashCode, isEnabled, setResources, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.profile.module.Module
disable, enable, getDescription, getName, getOwnerId, getResources, getURL, isEnabled, isHttpClientRequired
-
Field Details
-
DEFAULT_SIGNING_KEY_FILENAME
Default value of property naming signing key.- See Also:
-
DEFAULT_SIGNING_CERT_FILENAME
Default value of property naming signing cert.- See Also:
-
DEFAULT_ENCRYPTION_KEY_FILENAME
Default value of property naming encryption key.- See Also:
-
DEFAULT_ENCRYPTION_CERT_FILENAME
Default value of property naming encryption cert.- See Also:
-
log
@Nonnull private org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
SAMLModule
Constructor.- Throws:
ModuleException- on errorIOException- on error
-
-
Method Details
-
enable
@Nonnull public Map<Module.ModuleResource,Module.ResourceResult> enable(@Nonnull ModuleContext moduleContext) throws ModuleException - Specified by:
enablein interfaceModule- Overrides:
enablein classPropertyDrivenModule- Throws:
ModuleException
-
generateKeyPair
Generate a keypair.- Parameters:
keyFile- where to put the key filecrtFile- where to put the crt file- Throws:
ModuleException- if the generator fails
-