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 TypeMethodDescriptionint
The component notification order forComponent.start(ComponentContext)
.getCertificate
(String alias) org.opensaml.security.credential.Credential
getCredential
(String keyName) getKeyHolder
(String name) Iterable
<org.opensaml.security.credential.Credential> resolve
(net.shibboleth.shared.resolver.CriteriaSet criteria) org.opensaml.security.credential.Credential
resolveSingle
(net.shibboleth.shared.resolver.CriteriaSet criteria) void
start
(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, unregisterExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:Component
The 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:
getApplicationStartedOrder
in interfaceComponent
- Returns:
- the order, 1000 by default
-
start
Description copied from interface:Component
Start the component. This method is called after all the components were resolved and activated- Specified by:
start
in interfaceComponent
- Overrides:
start
in classDefaultComponent
-
getKeyHolder
- Specified by:
getKeyHolder
in interfaceKeyManager
-
getCredential
- Specified by:
getCredential
in interfaceKeyManager
-
getAvailableCredentials
- Specified by:
getAvailableCredentials
in interfaceKeyManager
-
getCertificate
- Specified by:
getCertificate
in interfaceKeyManager
-