[java-oidc-common] branch main updated: Add getter for KeyId in KeyId criterion

Phil Smart philip.smart at jisc.ac.uk
Thu Jan 5 13:49:18 UTC 2023


This is an automated email from the git hooks/post-receive script.

philsmart pushed a commit to branch main
in repository java-oidc-common.

View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=428c0f2f5274c9755b2899009a283e6ba78380d2

The following commit(s) were added to refs/heads/main by this push:
     new 428c0f2  Add getter for KeyId in KeyId criterion
428c0f2 is described below

commit 428c0f2f5274c9755b2899009a283e6ba78380d2
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Jan 5 13:49:16 2023 +0000

    Add getter for KeyId in KeyId criterion
---
 .../credential/impl/EvaluableKeyIDCredentialCriterion.java       | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/EvaluableKeyIDCredentialCriterion.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/EvaluableKeyIDCredentialCriterion.java
index 45832a6..9f4183d 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/EvaluableKeyIDCredentialCriterion.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/EvaluableKeyIDCredentialCriterion.java
@@ -63,6 +63,15 @@ public class EvaluableKeyIDCredentialCriterion extends AbstractTriStatePredicate
 
        keyId = trimmed;
    }
+   
+   /**
+    * Get the keyId.
+    * 
+    * @return the keyId
+    */
+   @Nonnull public String getKeyId() {
+       return keyId;
+   }
 
     @Override
     public boolean test(@Nullable final Credential target) {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list