public class DSAKeyValueProvider extends AbstractKeyInfoProvider
KeyInfoProvider
which supports DSAKeyValue
.Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Class logger.
|
Constructor and Description |
---|
DSAKeyValueProvider() |
Modifier and Type | Method and Description |
---|---|
protected DSAKeyValue |
getDSAKeyValue(org.opensaml.core.xml.XMLObject xmlObject)
Get the DSAKeyValue from the passed XML object.
|
boolean |
handles(org.opensaml.core.xml.XMLObject keyInfoChild)
Evaluate whether the given provider should attempt to handle resolving a credential
from the specified KeyInfo child.
|
Collection<org.opensaml.security.credential.Credential> |
process(KeyInfoCredentialResolver resolver,
org.opensaml.core.xml.XMLObject keyInfoChild,
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet,
KeyInfoResolutionContext kiContext)
Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.
|
buildCredentialContext, extractKeyValue
public boolean handles(@Nonnull org.opensaml.core.xml.XMLObject keyInfoChild)
true
does not guarantee that a credential can or will be
extracted form the particular KeyInfo child, only that processing should be attempted.keyInfoChild
- the KeyInfo child object to consider@Nullable public Collection<org.opensaml.security.credential.Credential> process(@Nonnull KeyInfoCredentialResolver resolver, @Nonnull org.opensaml.core.xml.XMLObject keyInfoChild, @Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet, @Nonnull KeyInfoResolutionContext kiContext) throws org.opensaml.security.SecurityException
resolver
- reference to a resolver which is calling the providerkeyInfoChild
- the KeyInfo child being processedcriteriaSet
- the credential criteria the credential must satisfykiContext
- the resolution context, used for sharing state amongst resolvers and providersorg.opensaml.security.SecurityException
- if there is an error during credential resolution.
Note: failure to resolve a credential is not an error.protected DSAKeyValue getDSAKeyValue(@Nonnull org.opensaml.core.xml.XMLObject xmlObject)
xmlObject
- an XML object, presumably either a KeyValue
or an DSAKeyValue
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.