[java-idp-oidc] branch main updated: JOIDC-196 - Enhance metadata and unregistered client policy config options
Henri Mikkonen
henri.mikkonen at iki.fi
Mon Mar 11 13:14:54 UTC 2024
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch main
in repository java-idp-oidc.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=81944c0b61808c767a069f96c59bf88796950b3e
The following commit(s) were added to refs/heads/main by this push:
new 81944c0b JOIDC-196 - Enhance metadata and unregistered client policy config options
81944c0b is described below
commit 81944c0b61808c767a069f96c59bf88796950b3e
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Mon Mar 11 15:10:48 2024 +0200
JOIDC-196 - Enhance metadata and unregistered client policy config options
https://shibboleth.atlassian.net/browse/JOIDC-196
New abstract global bean 'shibboleth.oidc.MetadataPolicyOperator' can be used
for wiring customn (including cripted/expression) policy operators.
The bean contains two properties:
- validator: Predicate<MetadataPolicy>
- defaults to always TRUE
- valueOperator: BiFunction<Object, MetadataPolicy, Object>
- input1: value candidate
- input2: policy related to the value
- return: the value after the operator has been applied or throw net.shibboleth.shared.logic.ConstraintViolationException if the candidate was not accepted
---
.../src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index 919dbf7f..2f08bb74 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -777,4 +777,9 @@
</entry>
</util:map>
+ <bean id="shibboleth.oidc.MetadataPolicyOperator"
+ class="net.shibboleth.oidc.metadata.policy.impl.DefaultMetadataPolicyOperator"
+ p:validator-ref="shibboleth.Conditions.TRUE"
+ abstract="true" />
+
</beans>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list