[java-oidc-common] branch main updated: JCOMOIDC-186 - Merge the oidc-config module into java-oidc-common
Codeberg
noreply at shibboleth.net
Thu Nov 19 13:13:39 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
https://codeberg.org/Shibboleth/java-oidc-common/commit/ebca14cede54625e3e668c7058b6bba5175d71c1
The following commit(s) were added to refs/heads/main by this push:
new ebca14ce JCOMOIDC-186 - Merge the oidc-config module into java-oidc-common
ebca14ce is described below
commit ebca14cede54625e3e668c7058b6bba5175d71c1
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Thu Nov 19 15:11:14 2026 +0200
JCOMOIDC-186 - Merge the oidc-config module into java-oidc-common
https://shibboleth.atlassian.net/browse/JCOMOIDC-186
Included the three postconfig.xmls from java-idp-plugin-oidc-config
- Commit 1cb4e159f23f19f526323cedb4099e171efc8fda included
---
.../META-INF/net.shibboleth.idp/postconfig.xml | 35 +
.../idp/service/attribute/registry/postconfig.xml | 35 +
.../idp/service/relying-party/postconfig.xml | 833 +++++++++++++++++++++
3 files changed, 903 insertions(+)
diff --git a/oidc-common-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/oidc-common-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index 282b85c1..5eaf3855 100644
--- a/oidc-common-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/oidc-common-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -9,6 +9,41 @@
default-init-method="initialize" default-destroy-method="destroy">
+ <!-- Generic OIDC System beans needed for OIDC based extensions to function, loaded after global.xml. -->
+
+ <!-- Credential bean factories -->
+ <bean id="shibboleth.oidc.ClientSecretCredential" abstract="true"
+ class="net.shibboleth.oidc.security.credential.BasicClientSecretCredentialFactoryBean" />
+
+ <bean id="shibboleth.oidc.JWKCredential" abstract="true"
+ class="net.shibboleth.oidc.security.credential.BasicJWKCredentialFactoryBean" />
+
+ <!-- Singleton JWK cache -->
+ <bean id="shibboleth.oidc.RemoteJwkSetCache"
+ class="net.shibboleth.oidc.jwk.RemoteJwkSetCache"
+ p:storage-ref="#{'%{idp.oidc.jwk.StorageService:shibboleth.StorageService}'.trim()}"
+ p:httpClient="#{getObject('shibboleth.oidc.NonBrowser.HttpClient') ?: getObject('shibboleth.InternalHttpClient')}"
+ p:httpClientSecurityParameters="#{getObject('shibboleth.oidc.NonBrowser.HttpClientSecurityParameters')}" />
+
+ <!-- Manager for auto-wired JWKSetDecorators -->
+ <bean id="shibboleth.oidc.JWKSetDecoratorManager"
+ class="net.shibboleth.oidc.security.credential.JWKSetDecoratorManager" />
+
+ <bean class="net.shibboleth.idp.spring.DeprecatedPropertyBean">
+ <property name="deprecatedProperties">
+ <map>
+ </map>
+ </property>
+ <property name="deadProperties">
+ <list>
+ <value>idp.oidc.tevalid.config</value>
+ <value>idp.oidc.rovalid.config</value>
+ <value>idp.oidc.rodecrypt.config</value>
+ <value>idp.oidc.refreshToken.defaultLifetime</value>
+ </list>
+ </property>
+ </bean>
+
<!-- OAuth2 login flow -->
<bean p:id="authn/OAuth2Client" parent="shibboleth.AuthenticationFlow"
p:order="%{idp.authn.OAuth2Client.order:1000}"
diff --git a/oidc-common-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/service/attribute/registry/postconfig.xml b/oidc-common-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/service/attribute/registry/postconfig.xml
new file mode 100644
index 00000000..2214f666
--- /dev/null
+++ b/oidc-common-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/service/attribute/registry/postconfig.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xmlns:p="http://www.springframework.org/schema/p"
+ xmlns:c="http://www.springframework.org/schema/c"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
+
+ default-init-method="initialize" default-destroy-method="destroy">
+
+ <!-- Necessary for encoder parsing and claims mapping to function. -->
+
+ <bean id="OIDCMetadataNamingStrategy" parent="shibboleth.TagLookupSet"
+ p:profileMetadataLookupStrategy-ref="shibboleth.EntityDescriptorLookup.RelyingParty"
+ p:propertyName="#{T(net.shibboleth.oidc.attribute.transcoding.OIDCAttributeTranscoder).METADATA_TAG_NAME}"
+ p:strictNameFormat="true"
+ p:explicitPropertyName="true"
+ p:ignoreUnmappedEntityAttributes="true" />
+
+ <bean id="OIDCByteTranscoder"
+ class="net.shibboleth.oidc.attribute.transcoding.impl.OIDCByteAttributeTranscoder"
+ p:nameFromMetadataLookupStrategy-ref="OIDCMetadataNamingStrategy" />
+
+ <bean id="OIDCStringTranscoder"
+ class="net.shibboleth.oidc.attribute.transcoding.impl.OIDCStringAttributeTranscoder"
+ p:nameFromMetadataLookupStrategy-ref="OIDCMetadataNamingStrategy" />
+
+ <bean id="OIDCScopedStringTranscoder"
+ class="net.shibboleth.oidc.attribute.transcoding.impl.OIDCScopedStringAttributeTranscoder"
+ p:nameFromMetadataLookupStrategy-ref="OIDCMetadataNamingStrategy" />
+
+</beans>
diff --git a/oidc-common-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml b/oidc-common-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
new file mode 100644
index 00000000..bcb08859
--- /dev/null
+++ b/oidc-common-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
@@ -0,0 +1,833 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:util="http://www.springframework.org/schema/util" xmlns:p="http://www.springframework.org/schema/p"
+ xmlns:c="http://www.springframework.org/schema/c" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
+
+ default-init-method="initialize" default-destroy-method="destroy">
+
+ <!--
+ Security Configuration Defaults. These settings establish the default security configurations for
+ signatures and loads the default credentials used.
+ -->
+ <bean id="shibboleth.oidc.BasicSignatureValidationConfiguration" abstract="true"
+ class="net.shibboleth.oidc.security.jose.impl.BasicSignatureValidationConfiguration"
+ p:includedAlgorithms="#{getObject('shibboleth.oidc.IncludedSignatureAlgorithms')}"
+ p:excludedAlgorithms="#{getObject('shibboleth.oidc.ExcludedSignatureAlgorithms')}" />
+
+ <bean id="shibboleth.oidc.BasicSignatureSigningConfiguration" abstract="true"
+ class="net.shibboleth.oidc.security.jose.impl.BasicSignatureSigningConfiguration"
+ p:includedAlgorithms="#{getObject('shibboleth.oidc.IncludedSignatureAlgorithms')}"
+ p:excludedAlgorithms="#{getObject('shibboleth.oidc.ExcludedSignatureAlgorithms')}" />
+
+ <bean id="shibboleth.oidc.BasicEncryptionConfiguration" abstract="true"
+ class="net.shibboleth.oidc.security.jose.impl.BasicEncryptionConfiguration"
+ p:includedAlgorithms="#{getObject('shibboleth.oidc.IncludedEncryptionAlgorithms')}"
+ p:excludedAlgorithms="#{getObject('shibboleth.oidc.ExcludedEncryptionAlgorithms')}" />
+
+ <bean id="shibboleth.oidc.BasicDecryptionConfiguration" abstract="true"
+ class="net.shibboleth.oidc.security.jose.impl.BasicDecryptionConfiguration"
+ p:includedAlgorithms="#{getObject('shibboleth.oidc.IncludedEncryptionAlgorithms')}"
+ p:excludedAlgorithms="#{getObject('shibboleth.oidc.ExcludedEncryptionAlgorithms')}" />
+
+ <bean id="AbstractOIDCProfile" abstract="true"
+ p:securityConfiguration-ref="%{idp.security.oidc.config:shibboleth.oidc.DefaultSecurityConfiguration}" />
+
+ <bean id="AbstractOIDCSSOProfile" parent="AbstractOIDCProfile" abstract="true"
+ p:issuer="#{getObject('shibboleth.oidc.issuer')}"
+ p:tokenEndpointAuthMethods="%{idp.oidc.tokenEndpointAuthMethods:client_secret_basic,client_secret_post,client_secret_jwt,private_key_jwt}"
+ p:claimsValidator="#{getObject('DefaultJWTClaimsValidator')}"
+ p:encryptionOptional="%{idp.oidc.encryptionOptional:true}"
+ p:forcePKCE="%{idp.oidc.forcePKCE:false}"
+ p:allowPKCEPlain="%{idp.oidc.allowPKCEPlain:false}"
+ p:iDTokenLifetime="%{idp.oidc.idToken.defaultLifetime:PT1H}"
+ p:accessTokenType="%{idp.oauth2.accessToken.type:}"
+ p:accessTokenLifetime="%{idp.oidc.accessToken.defaultLifetime:PT10M}"
+ p:refreshTokenType="%{idp.oauth2.refreshToken.type:}"
+ p:refreshTokenTimeout="%{idp.oidc.refreshToken.defaultTimeout:PT2H}"
+ p:refreshTokenChainLifetime="%{idp.oidc.refreshToken.defaultChainLifetime:PT2H}"
+ p:alwaysIncludedAttributes="%{idp.oidc.alwaysIncludedAttributes:}"
+ p:tokenEndpointAuthMethod="%{idp.authn.oidc.rp.client.authenticationMethod:client_secret_basic}"
+ p:useTargetedEndpointAsJWTAudience="%{idp.oauth2.jwtAuth.targetedEndpointAsJWTAudience:true}"
+ p:requireSingleJWTAudience="%{idp.oauth2.jwtAuth.requireSingleJWTAudience:false}"
+ p:clientId="#{%{idp.authn.oidc.rp.provider.discoveryRequired:false} == true ? null : '%{idp.authn.oidc.rp.client.clientId:}'}"
+ p:clientCredential="#{%{idp.authn.oidc.rp.provider.discoveryRequired:false} == true ? {null} : getObject('shibboleth.authn.oidc.rp.DefaultCredential')}"
+ p:unregisteredClientPolicy="#{getObject('shibboleth.oidc.DefaultUnregisteredClientPolicy')}"
+ p:dpopProofClaimsValidator="#{getObject('DefaultDPoPProofClaimsValidator')}"
+ p:dpopProofSignatureValidationConfiguration="#{getObject('DPoPSignatureValidationConfiguration')}"
+ p:dpopProofNonceGenerator="#{getObject('DefaultOAuth2DPoPNonceGenerator')}"
+ p:strictScopeValidation="%{idp.oidc.strictScopeValidation:false}"/>
+
+ <bean id="OIDC.SSO" parent="AbstractOIDCSSOProfile" lazy-init="true"
+ class="net.shibboleth.oidc.profile.config.impl.DefaultOIDCAuthorizationConfiguration"
+ p:authorizeCodeLifetime="%{idp.oidc.authorizeCode.defaultLifetime:PT5M}"
+ p:encodeConsentInTokens="%{idp.oidc.encodeConsentInTokens:false}"
+ p:encodedAttributes="%{idp.oidc.encodedAttributes:%{idp.oidc.embeddedAttributes:}}"
+ p:deniedUserInfoAttributes="%{idp.oidc.deniedUserInfoAttributes:}"
+ p:httpRequestMethod="%{idp.authn.oidc.rp.httpRequestMethod:GET}"
+ p:retrieveUserInfoEndpointClaims="%{idp.authn.oidc.rp.client.userinfo.enabled:true}"
+ p:redirectUriOverride="%{idp.authn.oidc.rp.client.redirectURI:#{null}}"
+ p:encryptRequestObject="%{idp.oidc.requestobject.encrypted:false}"
+ p:signRequestObject="%{idp.oidc.requestobject.signed:true}"
+ p:useRequestObject="%{idp.oidc.requestobject.used:false}"
+ p:responseMode="%{idp.authn.oidc.rp.client.responseMode:#{null}}"
+ p:tlsServerValidationSufficient="%{idp.authn.oidc.rp.client.idtoken.tlsServerValidationOnly:false}"
+ p:userInfoHttpRequestMethod="%{idp.authn.oidc.rp.client.userinfo.httpRequestMethod:GET}"
+ p:scopes="%{idp.authn.oidc.rp.client.scopes:#{null}}"
+ p:responseModes="%{idp.oauth2.responseModes:}"
+ p:requireAuthenticationRequestPredicate-ref="%{idp.oauth2.requireAuthenticationRequestPredicate:shibboleth.Conditions.TRUE}">
+ <property name="forceAuthnPredicate">
+ <bean class="net.shibboleth.idp.saml.profile.config.logic.ProxyAwareForceAuthnPredicate" />
+ </property>
+ <property name="defaultAuthenticationMethodsLookupStrategy">
+ <bean
+ class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassRequestLookupFunction"
+ p:mappings="#{getObject('shibboleth.oidc.PrincipalProxyRequestMappings')}" />
+ </property>
+ <property name="authenticationContextClassReferenceTranslationStrategyLookupStrategy">
+ <bean
+ class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassResponseLookupFunction$LookupFunctionWrapper">
+ <constructor-arg>
+ <bean class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassResponseLookupFunction"
+ c:mappings="#{getObject('shibboleth.oidc.PrincipalProxyResponseMappings')}"/>
+ </constructor-arg>
+ </bean>
+ </property>
+ <property name="authenticationMethodsReferencesTranslationStrategyLookupStrategy">
+ <bean
+ class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassResponseLookupFunction$LookupFunctionWrapper">
+ <constructor-arg>
+ <bean class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassResponseLookupFunction"
+ c:mappings="#{getObject('shibboleth.oidc.PrincipalProxyResponseMappings')}"/>
+ </constructor-arg>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="AbstractMDDrivenOIDCProfile" parent="AbstractMDDrivenProfile" abstract="true">
+ <property name="securityConfigurationLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="securityConfiguration"
+ p:propertyType="#{T(org.opensaml.security.config.SecurityConfiguration)}"
+ p:defaultValue-ref="%{idp.security.oidc.config:shibboleth.oidc.DefaultSecurityConfiguration}" />
+ </property>
+ </bean>
+
+ <bean id="AbstractMDDrivenOAuthClientAuthenticatableProfile" parent="AbstractMDDrivenOIDCProfile" abstract="true">
+ <property name="claimsValidatorLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="claimsValidator"
+ p:propertyType="#{T(net.shibboleth.oidc.jwt.claims.ClaimsValidator)}"
+ p:defaultValue="#{getObject('DefaultJWTClaimsValidator')}" />
+ </property>
+ <property name="forceAuthnPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="forceAuthn" />
+ </constructor-arg>
+ <constructor-arg>
+ <bean class="net.shibboleth.idp.saml.profile.config.logic.ProxyAwareForceAuthnPredicate" />
+ </constructor-arg>
+ </bean>
+ </property>
+ <property name="proxyCountLookupStrategy">
+ <bean parent="shibboleth.MDDrivenIntProperty" p:propertyName="proxyCount" />
+ </property>
+ <property name="authenticationFlowsLookupStrategy">
+ <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="authenticationFlows" />
+ </property>
+ <property name="postAuthenticationFlowsLookupStrategy">
+ <bean parent="shibboleth.MDDrivenListProperty" p:propertyName="postAuthenticationFlows" />
+ </property>
+ <property name="defaultAuthenticationMethodsLookupStrategy">
+ <bean parent="shibboleth.MDDrivenListProperty" p:propertyName="defaultAuthenticationMethods"
+ p:propertyType="#{T(net.shibboleth.oidc.authn.principal.AuthenticationContextClassReferencePrincipal)}">
+ <property name="defaultValueStrategy">
+ <bean class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassRequestLookupFunction"
+ p:mappings="#{getObject('shibboleth.oidc.PrincipalProxyRequestMappings')}" />
+ </property>
+ </bean>
+ </property>
+ <property name="messageHandlerLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="messageHandler"
+ p:propertyType="#{T(java.util.function.Function)}" />
+ </property>
+ <property name="requireDpopProofPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="requireDpopProof" />
+ </constructor-arg>
+ <constructor-arg value="false" />
+ </bean>
+ </property>
+ <property name="dpopProofSignatureValidationConfigurationLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="dpopProofSignatureValidationConfiguration"
+ p:propertyType="#{T(net.shibboleth.oidc.security.jose.SignatureValidationConfiguration)}"
+ p:defaultValue="#{getObject('DPoPSignatureValidationConfiguration')}" />
+ </property>
+ <property name="dpopProofNonceGeneratorLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="dpopProofNonceGenerator"
+ p:propertyType="#{T(java.util.function.Function)}"
+ p:defaultValue="#{getObject('DefaultOAuth2DPoPNonceGenerator')}" />
+ </property>
+ <property name="useTargetedEndpointAsJWTAudiencePredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="useTargetedEndpointAsJWTAudience" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oauth2.jwtAuth.targetedEndpointAsJWTAudience:true}" />
+ </bean>
+ </property>
+ <property name="requireSingleJWTAudiencePredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="requireSingleJWTAudience" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oauth2.jwtAuth.requireSingleJWTAudience:false}" />
+ </bean>
+ </property>
+ <property name="clientAuthenticationJWTTypeLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="clientAuthenticationJWTType"
+ p:defaultValue="#{null}" />
+ </property>
+ </bean>
+
+ <bean id="AbstractMDDrivenOIDCFlowAwareProfile" parent="AbstractMDDrivenOAuthClientAuthenticatableProfile" abstract="true">
+ <property name="authorizationCodeFlowEnabledPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="authorizationCodeFlowEnabled" />
+ </constructor-arg>
+ <constructor-arg value="true" />
+ </bean>
+ </property>
+ <property name="implicitFlowEnabledPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="implicitFlowEnabled" />
+ </constructor-arg>
+ <constructor-arg value="true" />
+ </bean>
+ </property>
+ <property name="hybridFlowEnabledPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="hybridFlowEnabled" />
+ </constructor-arg>
+ <constructor-arg value="true" />
+ </bean>
+ </property>
+ <property name="refreshTokensEnabledPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="refreshTokensEnabled" />
+ </constructor-arg>
+ <constructor-arg value="true" />
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="AbstractMDDrivenOIDCSSOProfile" parent="AbstractMDDrivenOIDCFlowAwareProfile" abstract="true">
+ <property name="issuerLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="issuer"
+ p:defaultValue="#{getObject('shibboleth.oidc.issuer')}" />
+ </property>
+ <property name="tokenEndpointAuthMethodsLookupStrategy">
+ <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="tokenEndpointAuthMethods">
+ <property name="defaultValue">
+ <bean parent="shibboleth.CommaDelimStringArray">
+ <constructor-arg type="java.lang.String"
+ value="%{idp.oidc.tokenEndpointAuthMethods:client_secret_basic,client_secret_post,client_secret_jwt,private_key_jwt}" />
+ </bean>
+ </property>
+ </bean>
+ </property>
+ <property name="resolveAttributesPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="resolveAttributes" />
+ </constructor-arg>
+ <constructor-arg value="true" />
+ </bean>
+ </property>
+ <property name="encryptionOptionalPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="encryptionOptional" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oidc.encryptionOptional:true}" />
+ </bean>
+ </property>
+ <property name="forcePKCEPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="forcePKCE" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oidc.forcePKCE:false}" />
+ </bean>
+ </property>
+ <property name="allowPKCEPlainPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="allowPKCEPlain" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oidc.allowPKCEPlain:false}" />
+ </bean>
+ </property>
+ <property name="iDTokenLifetimeLookupStrategy">
+ <bean parent="shibboleth.MDDrivenDurationProperty" p:propertyName="IDTokenLifetime"
+ p:defaultValue="%{idp.oidc.idToken.defaultLifetime:PT1H}" />
+ </property>
+ <property name="accessTokenTypeLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="accessTokenType"
+ p:defaultValue="%{idp.oidc.accessToken.type:%{idp.oauth2.accessToken.type:}}" />
+ </property>
+ <property name="accessTokenLifetimeLookupStrategy">
+ <bean parent="shibboleth.MDDrivenDurationProperty" p:propertyName="accessTokenLifetime"
+ p:defaultValue="%{idp.oidc.accessToken.defaultLifetime:PT10M}" />
+ </property>
+ <property name="refreshTokenTypeLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="refreshTokenType"
+ p:defaultValue="%{idp.oidc.accessToken.type:%{idp.oauth2.refreshTokenType.type:}}" />
+ </property>
+ <property name="additionalAudiencesForIdTokenLookupStrategy">
+ <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="tokenAudiences" />
+ </property>
+ <property name="alwaysIncludedAttributesLookupStrategy">
+ <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="alwaysIncludedAttributes">
+ <property name="defaultValue">
+ <bean parent="shibboleth.CommaDelimStringArray">
+ <constructor-arg type="java.lang.String" value="%{idp.oidc.alwaysIncludedAttributes:}" />
+ </bean>
+ </property>
+ </bean>
+ </property>
+ <property name="tokenEndpointAuthMethodLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="tokenEndpointAuthMethod"
+ p:defaultValue="%{idp.authn.oidc.rp.client.authenticationMethod:client_secret_basic}" />
+ </property>
+ <property name="clientIdLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="clientId"
+ p:defaultValue="#{%{idp.authn.oidc.rp.provider.discoveryRequired:false} == true ? null : '%{idp.authn.oidc.rp.client.clientId:}'}" />
+ </property>
+ <property name="clientCredentialLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="clientCredential"
+ p:propertyType="#{T(java.util.function.Function)}"
+ p:defaultValue="#{%{idp.authn.oidc.rp.provider.discoveryRequired:false} == true ? {null} : getObject('shibboleth.authn.oidc.rp.DefaultCredential')}" />
+ </property>
+ <property name="iDTokenManipulationStrategyLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="IDTokenManipulationStrategy"
+ p:propertyType="#{T(java.util.function.BiFunction)}" />
+ </property>
+ <property name="accessTokenClaimsSetManipulationStrategyLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="accessTokenClaimsSetManipulationStrategy"
+ p:propertyType="#{T(java.util.function.BiFunction)}" />
+ </property>
+ <property name="unregisteredClientPolicyLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="unregisteredClientPolicy"
+ p:propertyType="#{T(java.util.function.Function)}"
+ p:defaultValue="#{getObject('shibboleth.oidc.DefaultUnregisteredClientPolicy')}" />
+ </property>
+ <property name="dpopProofClaimsValidatorLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="dpopProofClaimsValidator"
+ p:propertyType="#{T(net.shibboleth.oidc.jwt.claims.ClaimsValidator)}"
+ p:defaultValue="#{getObject('DefaultDPoPProofClaimsValidator')}" />
+ </property>
+ <property name="dpopProofSignatureValidationConfigurationLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="dpopProofSignatureValidationConfiguration"
+ p:propertyType="#{T(net.shibboleth.oidc.security.jose.SignatureValidationConfiguration)}"
+ p:defaultValue="#{getObject('DPoPSignatureValidationConfiguration')}" />
+ </property>
+ <property name="dpopProofNonceGeneratorLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="dpopProofNonceGenerator"
+ p:propertyType="#{T(java.util.function.Function)}"
+ p:defaultValue="#{getObject('DefaultOAuth2DPoPNonceGenerator')}" />
+ </property>
+ <property name="strictScopeValidationPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="strictScopeValidation" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oidc.strictScopeValidation:false}" />
+ </bean>
+ </property>
+ <property name="customRedirectUriValidationStrategyLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="customRedirectUriValidationStrategy"
+ p:propertyType="#{T(java.util.function.BiPredicate)}" />
+ </property>
+ </bean>
+
+ <bean id="OIDC.SSO.MDDriven" parent="AbstractMDDrivenOIDCSSOProfile" lazy-init="true"
+ class="net.shibboleth.oidc.profile.config.impl.DefaultOIDCAuthorizationConfiguration">
+ <property name="acrRequestAlwaysEssentialPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="acrRequestAlwaysEssential" />
+ </constructor-arg>
+ <constructor-arg value="false" />
+ </bean>
+ </property>
+ <property name="encodeConsentInTokensPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="encodeConsentInTokens" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oidc.encodeConsentInTokens:false}" />
+ </bean>
+ </property>
+ <property name="authorizeCodeLifetimeLookupStrategy">
+ <bean parent="shibboleth.MDDrivenDurationProperty" p:propertyName="authorizeCodeLifetime"
+ p:defaultValue="%{idp.oidc.authorizeCode.defaultLifetime:PT5M}" />
+ </property>
+ <property name="encodedAttributesLookupStrategy">
+ <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="encodedAttributes">
+ <property name="defaultValue">
+ <bean parent="shibboleth.CommaDelimStringArray">
+ <constructor-arg type="java.lang.String"
+ value="%{idp.oidc.encodedAttributes:%{idp.oidc.embeddedAttributes:}}" />
+ </bean>
+ </property>
+ </bean>
+ </property>
+ <property name="deniedUserInfoAttributesLookupStrategy">
+ <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="deniedUserInfoAttributes">
+ <property name="defaultValue">
+ <bean parent="shibboleth.CommaDelimStringArray">
+ <constructor-arg type="java.lang.String" value="%{idp.oidc.deniedUserInfoAttributes:}" />
+ </bean>
+ </property>
+ </bean>
+ </property>
+ <property name="httpRequestMethodLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="httpRequestMethod"
+ p:defaultValue="%{idp.authn.oidc.rp.httpRequestMethod:GET}" />
+ </property>
+ <property name="retrieveUserInfoEndpointClaimsPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="retrieveUserInfoEndpointClaims" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.authn.oidc.rp.client.userinfo.enabled:true}" />
+ </bean>
+ </property>
+ <property name="redirectUriOverrideLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="redirectUriOverride"
+ p:defaultValue="{idp.authn.oidc.rp.client.redirectURI:#{null}}" />
+ </property>
+ <property name="refreshTokenTimeoutLookupStrategy">
+ <bean parent="shibboleth.MDDrivenDurationProperty" p:propertyName="refreshTokenTimeout"
+ p:defaultValue="%{idp.oidc.refreshToken.defaultTimeout:%{idp.oidc.refreshToken.defaultLifetime:PT2H}}" />
+ </property>
+ <property name="refreshTokenChainLifetimeLookupStrategy">
+ <bean parent="shibboleth.MDDrivenDurationProperty" p:propertyName="refreshTokenChainLifetime"
+ p:defaultValue="%{idp.oidc.refreshToken.defaultChainLifetime:PT2H}" />
+ </property>
+ <property name="includeIssuerInResponsePredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="includeIssuerInResponse" />
+ </constructor-arg>
+ <constructor-arg value="false" />
+ </bean>
+ </property>
+ <property name="authorizationCodeClaimsSetManipulationStrategyLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="authorizationCodeClaimsSetManipulationStrategy"
+ p:propertyType="#{T(java.util.function.BiFunction)}" />
+ </property>
+ <property name="securityConfigurationLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="securityConfiguration"
+ p:propertyType="#{T(org.opensaml.security.config.SecurityConfiguration)}"
+ p:defaultValue-ref="%{idp.security.oidc.authorize.config:shibboleth.oidc.DefaultSecurityConfiguration}" />
+ </property>
+ <property name="encryptRequestObjectPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="encryptRequestObject" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oidc.requestobject.encrypted:false}" />
+ </bean>
+ </property>
+ <property name="signRequestObjectPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="signRequestObject" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oidc.requestobject.signed:true}" />
+ </bean>
+ </property>
+ <property name="useRequestObjectPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="useRequestObject" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.oidc.requestobject.used:false}" />
+ </bean>
+ </property>
+ <property name="responseModeLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="responseMode"
+ p:defaultValue="%{idp.authn.oidc.rp.client.responseMode:#{null}}" />
+ </property>
+ <property name="tlsServerValidationSufficientPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="tlsServerValidationSufficient" />
+ </constructor-arg>
+ <constructor-arg value="%{idp.authn.oidc.rp.client.idtoken.tlsServerValidationOnly:false}" />
+ </bean>
+ </property>
+ <property name="userInfoHttpRequestMethodLookupStrategy">
+ <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="userInfoHttpRequestMethod"
+ p:defaultValue="%{idp.authn.oidc.rp.client.userinfo.httpRequestMethod:GET}" />
+ </property>
+ <property name="scopesLookupStrategy">
+ <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="scopes">
+ <property name="defaultValue">
+ <bean parent="shibboleth.CommaDelimStringArray">
+ <constructor-arg type="java.lang.String"
+ value="{idp.authn.oidc.rp.client.scopes:#{null}}" />
+ </bean>
+ </property>
+ </bean>
+ </property>
+ <property name="responseModesLookupStrategy">
+ <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="responseModes">
+ <property name="defaultValue">
+ <bean parent="shibboleth.CommaDelimStringArray">
+ <constructor-arg type="java.lang.String"
+ value="%{idp.oauth2.responseModes:}" />
+ </bean>
+ </property>
+ </bean>
+ </property>
+ <property name="requireAuthenticationRequestPredicateLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="requireAuthenticationRequestPredicate"
+ p:propertyType="#{T(java.util.function.Predicate)}"
+ p:defaultValue-ref="%{idp.oauth2.requireAuthenticationRequestPredicate:shibboleth.Conditions.TRUE}"/>
+ </property>
+ <property name="requirePushedAuthorizationRequestPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="requirePushedAuthorizationRequest" />
+ </constructor-arg>
+ <constructor-arg value="false" />
+ </bean>
+ </property>
+ <property name="requireDpopJktPredicate">
+ <bean class="net.shibboleth.shared.logic.PredicateSupport" factory-method="fromFunction">
+ <constructor-arg>
+ <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="requireDpopJkt" />
+ </constructor-arg>
+ <constructor-arg value="false" />
+ </bean>
+ </property>
+ <property name="authenticationContextClassReferenceTranslationStrategyLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="authenticationContextClassReferenceTranslationStrategy"
+ p:propertyType="#{T(java.util.function.Function)}">
+ <property name="defaultValue">
+ <bean
+ class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassResponseLookupFunction$LookupFunctionWrapper">
+ <constructor-arg>
+ <bean class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassResponseLookupFunction"
+ c:mappings="#{getObject('shibboleth.oidc.PrincipalProxyResponseMappings')}"/>
+ </constructor-arg>
+ </bean>
+ </property>
+ </bean>
+ </property>
+ <property name="authenticationMethodsReferencesTranslationStrategyLookupStrategy">
+ <bean parent="shibboleth.MDDrivenBeanProperty" p:propertyName="authenticationMethodsReferencesTranslationStrategy"
+ p:propertyType="#{T(java.util.function.Function)}">
+ <property name="defaultValue">
+ <bean
+ class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassResponseLookupFunction$LookupFunctionWrapper">
+ <constructor-arg>
+ <bean class="net.shibboleth.oidc.profile.config.navigate.ProxyAwareDefaultOIDCAuthenticationContextClassResponseLookupFunction"
+ c:mappings="#{getObject('shibboleth.oidc.PrincipalProxyResponseMappings')}"/>
+ </constructor-arg>
+ </bean>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <!-- Keyset profile -->
+ <bean id="OIDC.Keyset" parent="AbstractOIDCProfile" lazy-init="true"
+ class="net.shibboleth.oidc.profile.config.impl.DefaultOIDCPublishKeySetConfiguration"
+ p:securityConfiguration-ref="shibboleth.oidc.PublishKeySetSecurityConfiguration" />
+
+ <!-- Configuration for publishing key set. -->
+ <bean id="shibboleth.oidc.PublishKeySetSecurityConfiguration"
+ class="net.shibboleth.oidc.profile.config.JSONSecurityConfiguration">
+ <property name="jwtSignatureSigningConfiguration">
+ <ref bean="shibboleth.oidc.PublishKeySetSigningConfiguration" />
+ </property>
+ <property name="jwtDecryptionConfiguration">
+ <ref bean="shibboleth.oidc.PublishKeySetDecryptionConfiguration" />
+ </property>
+ </bean>
+
+ <!-- Signing keys to publish. -->
+ <bean id="shibboleth.oidc.PublishKeySetSigningConfiguration"
+ parent="shibboleth.oidc.BasicSignatureSigningConfiguration"
+ p:signingCredentials="#{getObject('shibboleth.oidc.SigningCredentialsToPublish') ?: getObject('shibboleth.oidc.SigningCredentialsFactory')}"/>
+
+ <!-- Encryption keys to publish. -->
+ <bean id="shibboleth.oidc.PublishKeySetDecryptionConfiguration"
+ parent="shibboleth.oidc.BasicDecryptionConfiguration">
+ <property name="KEKCredentialResolver">
+ <bean id="defaultOIDCKeyDecryptionCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ReturnAllCollectionJOSEObjectCredentialResolver"
+ c:credentials="#{getObject('shibboleth.oidc.EncryptionCredentialsToPublish') ?: getObject('shibboleth.oidc.EncryptionCredentialsFactory')}"/>
+ </property>
+ </bean>
+
+ <bean id="shibboleth.oidc.EncryptionCredentialsFactory"
+ class="net.shibboleth.oidc.profile.config.CredentialsListFactory"
+ c:_0="#{getObject('shibboleth.oidc.EncryptionCredentials')}" />
+
+
+ <bean id="shibboleth.oidc.DefaultSecurityConfiguration"
+ class="net.shibboleth.oidc.profile.config.JSONSecurityConfiguration" c:clockSkew="%{idp.policy.clockSkew:PT1M}">
+ <constructor-arg name="idGenerator">
+ <bean
+ class="net.shibboleth.shared.security.IdentifierGenerationStrategy" factory-method="getInstance">
+ <constructor-arg>
+ <util:constant
+ static-field="net.shibboleth.shared.security.IdentifierGenerationStrategy.ProviderType.SECURE" />
+ </constructor-arg>
+ </bean>
+ </constructor-arg>
+ <property name="jwtSignatureSigningConfiguration">
+ <ref bean="#{'%{idp.oidc.signing.config:shibboleth.oidc.SigningConfiguration}'.trim()}" />
+ </property>
+ <property name="jwtEncryptionConfiguration">
+ <ref bean="#{'%{idp.oidc.encryption.config:shibboleth.oidc.EncryptionConfiguration}'.trim()}" />
+ </property>
+ <property name="jwtDecryptionConfiguration">
+ <ref bean="#{'%{idp.oidc.decryption.config:shibboleth.oidc.DecryptionConfiguration}'.trim()}" />
+ </property>
+ <property name="jwtSignatureValidationConfiguration">
+ <ref bean="#{'%{idp.oidc.validation.config:shibboleth.oidc.SignatureValidationConfiguration}'.trim()}" />
+ </property>
+ </bean>
+
+ <bean id="shibboleth.oidc.SigningConfiguration"
+ parent="shibboleth.oidc.BasicSignatureSigningConfiguration"
+ p:signingCredentials-ref="shibboleth.oidc.SigningCredentialsFactory">
+ <property name="signatureAlgorithms">
+ <list>
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_RS_256" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_RS_384" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_RS_512" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_HS_256" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_HS_384" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_HS_512" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_ES_256" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_ES_384" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_ES_512" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_PS_256" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_PS_384" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.SignatureConstants.ALGO_ID_SIGNATURE_PS_512" />
+ </list>
+ </property>
+ </bean>
+
+ <bean id="shibboleth.oidc.EncryptionConfiguration" parent="shibboleth.oidc.BasicEncryptionConfiguration"
+ p:KEKCredentialResolver-ref="defaultOIDCKeyEncryptionCredentialResolver"
+ p:contentEncryptionKeyCredentialResolver-ref="defaultOIDCContentEncryptionKeyCredentialResolver">
+ <property name="keyTransportEncryptionAlgorithms">
+ <list>
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_RSA_1_5" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_RSA_OAEP" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_RSA_OAEP_256" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_RSA_OAEP_384" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_RSA_OAEP_512" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_AES_128_KW" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_AES_192_KW" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_AES_256_KW" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_AES_128_GCM_KW" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_AES_192_GCM_KW" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_AES_256_GCM_KW" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_ECDH_ES" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_ECDH_ES_AES_128_KW" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_ECDH_ES_AES_192_KW" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.KeyManagementConstants.ALGO_ID_ALG_ECDH_ES_AES_256_KW" />
+ </list>
+ </property>
+ <property name="dataEncryptionAlgorithms">
+ <list>
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.EncryptionConstants.ALGO_ID_ENC_ALG_A128CBC_HS256" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.EncryptionConstants.ALGO_ID_ENC_ALG_A192CBC_HS384" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.EncryptionConstants.ALGO_ID_ENC_ALG_A256CBC_HS512" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.EncryptionConstants.ALGO_ID_ENC_ALG_A128GCM" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.EncryptionConstants.ALGO_ID_ENC_ALG_A192GCM" />
+ <util:constant
+ static-field="net.shibboleth.oidc.jwa.support.EncryptionConstants.ALGO_ID_ENC_ALG_A256GCM" />
+ </list>
+ </property>
+ </bean>
+
+ <bean id="shibboleth.oidc.SigningCredentialsFactory"
+ class="net.shibboleth.oidc.profile.config.CredentialsListFactory"
+ c:_0="#{getObject('shibboleth.oidc.SigningCredentials')}" />
+
+ <bean id="defaultOIDCKeyEncryptionCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ChainingJOSEObjectCredentialResolver">
+ <constructor-arg>
+ <list>
+ <!-- Used by the OP -->
+ <bean id="ClientInformationCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientInformationCredentialResolver"
+ c:remoteJwkSetCache-ref="shibboleth.oidc.RemoteJwkSetCache"
+ c:keyFetchInterval="%{idp.oidc.provider.keyfetch.interval:PT30M}"
+ c:jwkSetDecoratorManager-ref="shibboleth.oidc.JWKSetDecoratorManager"/>
+ <!-- Used by the RP -->
+ <bean id="OIDCProviderMetadataCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ProviderMetadataCredentialResolver"
+ c:remoteJwkSetCache-ref="shibboleth.oidc.RemoteJwkSetCache"
+ c:keyFetchInterval="%{idp.oidc.provider.keyfetch.interval:PT30M}"
+ c:jwkSetDecoratorManager-ref="shibboleth.oidc.JWKSetDecoratorManager"/>
+ <bean id="ClientSecretCriterionCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientSecretCriterionCredentialResolver"/>
+ </list>
+ </constructor-arg>
+ </bean>
+
+ <bean id="defaultOIDCContentEncryptionKeyCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ChainingJOSEObjectCredentialResolver">
+ <constructor-arg>
+ <list>
+ <!-- Used by the OP -->
+ <bean id="ClientInformationCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientInformationCredentialResolver"
+ c:remoteJwkSetCache-ref="shibboleth.oidc.RemoteJwkSetCache"
+ c:keyFetchInterval="%{idp.oidc.provider.keyfetch.interval:PT30M}"
+ c:jwkSetDecoratorManager-ref="shibboleth.oidc.JWKSetDecoratorManager"/>
+ <!-- Used by the RP -->
+ <bean id="ClientSecretCriterionCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientSecretCriterionCredentialResolver"/>
+ </list>
+ </constructor-arg>
+ </bean>
+
+ <bean id="shibboleth.oidc.DecryptionConfiguration"
+ parent="shibboleth.oidc.BasicDecryptionConfiguration"
+ p:KEKCredentialResolver-ref="defaultOIDCKeyDecryptionCredentialResolver"
+ p:contentEncryptionKeyCredentialResolver-ref="defaultOIDCContentDecryptionKeyCredentialResolver">
+ </bean>
+
+ <!--
+ A resolver to public/private key encryption keys global to the RP
+ -->
+ <bean id="defaultOIDCKeyDecryptionCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ChainingJOSEObjectCredentialResolver">
+ <constructor-arg>
+ <list>
+ <bean class="net.shibboleth.oidc.security.credential.impl.LocalJOSEObjectCredentialResolver">
+ <constructor-arg name="localCredentialResolver">
+ <bean
+ class="net.shibboleth.oidc.security.credential.impl.CollectionJOSEObjectCredentialResolver"
+ c:credentials-ref="shibboleth.oidc.EncryptionCredentialsFactory" />
+ </constructor-arg>
+ </bean>
+ <!-- Used by the OP -->
+ <bean id="ClientInformationCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientInformationCredentialResolver"
+ c:remoteJwkSetCache-ref="shibboleth.oidc.RemoteJwkSetCache"
+ c:keyFetchInterval="%{idp.oidc.provider.keyfetch.interval:PT30M}"
+ c:jwkSetDecoratorManager-ref="shibboleth.oidc.JWKSetDecoratorManager"/>
+ <!-- Used by the RP -->
+ <bean id="CriterionCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientSecretCriterionCredentialResolver"/>
+ </list>
+ </constructor-arg>
+ </bean>
+
+ <bean id="defaultOIDCContentDecryptionKeyCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ChainingJOSEObjectCredentialResolver">
+ <constructor-arg>
+ <list>
+ <!-- Used by the OP -->
+ <bean id="ClientInformationCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientInformationCredentialResolver"
+ c:remoteJwkSetCache-ref="shibboleth.oidc.RemoteJwkSetCache"
+ c:keyFetchInterval="%{idp.oidc.provider.keyfetch.interval:PT30M}"
+ c:jwkSetDecoratorManager-ref="shibboleth.oidc.JWKSetDecoratorManager"/>
+ <!-- Used by the RP -->
+ <bean id="CriterionCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientSecretCriterionCredentialResolver"/>
+ </list>
+ </constructor-arg>
+ </bean>
+
+ <bean id="shibboleth.oidc.SignatureValidationConfiguration"
+ parent="shibboleth.oidc.BasicSignatureValidationConfiguration"
+ p:signatureTrustEngine-ref="ExplicitKeySignedJWTTrustEngine"/>
+
+
+ <bean id="ExplicitKeySignedJWTTrustEngine"
+ class="net.shibboleth.oidc.security.impl.ExplicitKeySignedJWTTrustEngine"
+ c:resolver-ref="defaultSignedJWTTrustedCredentialResolver"
+ c:JOSEObjectResolver-ref="defaultSignedJWTJOSEHeaderCredentialResolver" />
+
+ <!-- A resolver for resolving 'untrusted' credentials out of the JOSE header of JWTs -->
+ <bean id="defaultSignedJWTJOSEHeaderCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.BasicJOSEObjectCredentialResolver" />
+
+ <!-- A resolver for resolving trusted credentials to match against those resolved from the JWT -->
+ <bean id="defaultSignedJWTTrustedCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ChainingJOSEObjectCredentialResolver">
+ <constructor-arg>
+ <list>
+ <!-- Used by the OP -->
+ <bean id="ClientInformationCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientInformationCredentialResolver"
+ c:remoteJwkSetCache-ref="shibboleth.oidc.RemoteJwkSetCache"
+ c:keyFetchInterval="%{idp.oidc.provider.keyfetch.interval:PT30M}"
+ c:jwkSetDecoratorManager-ref="shibboleth.oidc.JWKSetDecoratorManager"/>
+ <!-- Used by the RP -->
+ <bean id="OIDCProviderMetadataCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ProviderMetadataCredentialResolver"
+ c:remoteJwkSetCache-ref="shibboleth.oidc.RemoteJwkSetCache"
+ c:keyFetchInterval="%{idp.oidc.provider.keyfetch.interval:PT30M}"
+ c:jwkSetDecoratorManager-ref="shibboleth.oidc.JWKSetDecoratorManager"/>
+ <bean id="CriterionCredentialResolver"
+ class="net.shibboleth.oidc.security.credential.impl.ClientSecretCriterionCredentialResolver"/>
+ </list>
+ </constructor-arg>
+ </bean>
+
+</beans>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list