Class InlineJwksProvider
- java.lang.Object
-
- org.opensaml.xmlsec.keyinfo.impl.provider.AbstractKeyInfoProvider
-
- net.shibboleth.oidc.metadata.keyinfo.ext.impl.provider.InlineJwksProvider
-
- All Implemented Interfaces:
KeyInfoProvider
public class InlineJwksProvider extends AbstractKeyInfoProvider
Implementation ofKeyInfoProviderwhich provides basic support for extracting aJWKCredentialchild of KeyInfo. The value is expected to be either a Base64-encoded value of either a single JWK credential or a JSON array of JWK credentials.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description InlineJwksProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BasicJWKCredentialbuildCredential(com.nimbusds.jose.jwk.JWK jwk, KeyInfoResolutionContext kiContext)protected JwksDatagetJwksData(XMLObject xmlObject)Get the JwksData from the passed XML object.booleanhandles(XMLObject keyInfoChild)protected com.nimbusds.jose.jwk.JWKparseJWK(String input)protected List<com.nimbusds.jose.jwk.JWK>parseJWKs(String input)protected com.nimbusds.jose.jwk.JWKSetparseJWKSet(String input)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
-
buildCredential
@Nonnull protected BasicJWKCredential buildCredential(@Nonnull com.nimbusds.jose.jwk.JWK jwk, @Nonnull KeyInfoResolutionContext kiContext)
-
parseJWKSet
@Nullable protected com.nimbusds.jose.jwk.JWKSet parseJWKSet(@Nullable String input)
-
parseJWK
@Nullable protected com.nimbusds.jose.jwk.JWK parseJWK(@Nullable String input)
-
handles
public boolean handles(@Nonnull XMLObject keyInfoChild)
-
-