Class KeyManagerImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.auth.saml.key.KeyManagerImpl
- All Implemented Interfaces:
net.shibboleth.shared.resolver.Resolver<org.opensaml.security.credential.Credential,,net.shibboleth.shared.resolver.CriteriaSet> KeyManager,Adaptable,Component,Extensible,TimestampedService,org.opensaml.security.credential.CredentialResolver
An implementation of
KeyManager that uses a JKS key store.-
Field Summary
FieldsFields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe component notification order forComponent.start(ComponentContext).getCertificate(String alias) org.opensaml.security.credential.CredentialgetCredential(String keyName) getKeyHolder(String name) Iterable<org.opensaml.security.credential.Credential> resolve(net.shibboleth.shared.resolver.CriteriaSet criteria) org.opensaml.security.credential.CredentialresolveSingle(net.shibboleth.shared.resolver.CriteriaSet criteria) voidstart(ComponentContext context) Start the component.Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, stop, unregister, unregisterContribution, unregisterExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.platform.auth.saml.key.KeyManager
getEncryptionCredential, getSigningCredential, getTlsCredential
-
Field Details
-
XP_CONFIGURATION
- See Also:
-
keyHolders
-
config
-
-
Constructor Details
-
KeyManagerImpl
public KeyManagerImpl()
-
-
Method Details
-
getApplicationStartedOrder
public int getApplicationStartedOrder()Description copied from interface:ComponentThe component notification order forComponent.start(ComponentContext).Components are notified in increasing order. Order 1000 is the default order for components that don't care. Order 100 is the repository initialization.
- Specified by:
getApplicationStartedOrderin interfaceComponent- Returns:
- the order, 1000 by default
-
start
Description copied from interface:ComponentStart the component. This method is called after all the components were resolved and activated- Specified by:
startin interfaceComponent- Overrides:
startin classDefaultComponent
-
getKeyHolder
- Specified by:
getKeyHolderin interfaceKeyManager
-
getCredential
- Specified by:
getCredentialin interfaceKeyManager
-
getAvailableCredentials
- Specified by:
getAvailableCredentialsin interfaceKeyManager
-
getCertificate
- Specified by:
getCertificatein interfaceKeyManager
-