Class KeyManagerImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.auth.saml.key.KeyManagerImpl
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,
,net.shibboleth.utilities.java.support.resolver.CriteriaSet> KeyManager
,Adaptable
,Component
,Extensible
,TimestampedService
,org.opensaml.security.credential.CredentialResolver
An implementation of
KeyManager
that uses a JKS key store.-
Field Summary
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCertificate
(String alias) org.opensaml.security.credential.Credential
getCredential
(String keyName) org.opensaml.security.credential.Credential
org.opensaml.security.credential.Credential
org.opensaml.security.credential.Credential
void
registerContribution
(Object contribution, String extensionPoint, ComponentInstance contributor) Iterable<org.opensaml.security.credential.Credential>
resolve
(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria) org.opensaml.security.credential.Credential
resolveSingle
(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria) void
unregisterContribution
(Object contribution, String extensionPoint, ComponentInstance contributor) Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, 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.runtime.model.Component
getApplicationStartedOrder
-
Field Details
-
config
-
-
Constructor Details
-
KeyManagerImpl
public KeyManagerImpl()
-
-
Method Details
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
registerContribution
in classDefaultComponent
-
unregisterContribution
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
unregisterContribution
in classDefaultComponent
-
getCredential
- Specified by:
getCredential
in interfaceKeyManager
-
getAvailableCredentials
- Specified by:
getAvailableCredentials
in interfaceKeyManager
-
getCertificate
- Specified by:
getCertificate
in interfaceKeyManager
-
getSigningCredential
public org.opensaml.security.credential.Credential getSigningCredential()- Specified by:
getSigningCredential
in interfaceKeyManager
-
getEncryptionCredential
public org.opensaml.security.credential.Credential getEncryptionCredential()- Specified by:
getEncryptionCredential
in interfaceKeyManager
-
getTlsCredential
public org.opensaml.security.credential.Credential getTlsCredential()- Specified by:
getTlsCredential
in interfaceKeyManager
-
resolve
@NotNull public Iterable<org.opensaml.security.credential.Credential> resolve(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria) throws net.shibboleth.utilities.java.support.resolver.ResolverException - Specified by:
resolve
in interfacenet.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,
net.shibboleth.utilities.java.support.resolver.CriteriaSet> - Throws:
net.shibboleth.utilities.java.support.resolver.ResolverException
-
resolveSingle
public org.opensaml.security.credential.Credential resolveSingle(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria) throws net.shibboleth.utilities.java.support.resolver.ResolverException - Specified by:
resolveSingle
in interfacenet.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,
net.shibboleth.utilities.java.support.resolver.CriteriaSet> - Throws:
net.shibboleth.utilities.java.support.resolver.ResolverException
-