Class ClientSecretProvider
- java.lang.Object
-
- org.opensaml.xmlsec.keyinfo.impl.provider.AbstractKeyInfoProvider
-
- net.shibboleth.oidc.metadata.keyinfo.ext.impl.provider.ClientSecretProvider
-
- All Implemented Interfaces:
KeyInfoProvider
public class ClientSecretProvider extends AbstractKeyInfoProvider
Implementation ofKeyInfoProviderwhich provides basic support for extracting aNimbusSecretCredentialchild of KeyInfo.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description ClientSecretProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientSecretgetClientSecret(XMLObject xmlObject)Get the ClientSecret from the passed XML object.booleanhandles(XMLObject keyInfoChild)Collection<Credential>process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext)-
Methods inherited from class org.opensaml.xmlsec.keyinfo.impl.provider.AbstractKeyInfoProvider
buildCredentialContext, extractKeyValue
-
-
-
-
Method Detail
-
process
@Nullable public Collection<Credential> process(@Nonnull KeyInfoCredentialResolver resolver, @Nonnull XMLObject keyInfoChild, @Nullable CriteriaSet criteriaSet, @Nonnull KeyInfoResolutionContext kiContext) throws SecurityException
- Throws:
SecurityException
-
handles
public boolean handles(@Nonnull XMLObject keyInfoChild)
-
getClientSecret
@Nullable protected ClientSecret getClientSecret(@Nonnull XMLObject xmlObject)
Get the ClientSecret from the passed XML object.- Parameters:
xmlObject- an XML object, presumably aClientSecret- Returns:
- the ClientSecret which was found, or null if none
-
-