[java-oidc-common] branch main updated: Fix Javadoc

Phil Smart philip.smart at jisc.ac.uk
Tue Oct 11 09:39:38 UTC 2022


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=214e57db423978726a7cf2f1ac46485d5939003b

The following commit(s) were added to refs/heads/main by this push:
     new 214e57d  Fix Javadoc
214e57d is described below

commit 214e57db423978726a7cf2f1ac46485d5939003b
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Oct 11 10:39:33 2022 +0100

    Fix Javadoc
---
 .../shibboleth/oidc/security/criterion/ClientInformationCriterion.java | 3 +--
 .../net/shibboleth/oidc/security/impl/BaseSignedJWTTrustEngine.java    | 2 ++
 .../oidc/security/impl/DefaultJWTEncryptionParametersResolver.java     | 1 -
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/oidc-common-crypto-api/src/main/java/net/shibboleth/oidc/security/criterion/ClientInformationCriterion.java b/oidc-common-crypto-api/src/main/java/net/shibboleth/oidc/security/criterion/ClientInformationCriterion.java
index 48ed46d..197ad3b 100644
--- a/oidc-common-crypto-api/src/main/java/net/shibboleth/oidc/security/criterion/ClientInformationCriterion.java
+++ b/oidc-common-crypto-api/src/main/java/net/shibboleth/oidc/security/criterion/ClientInformationCriterion.java
@@ -25,8 +25,7 @@ import net.shibboleth.utilities.java.support.logic.Constraint;
 import net.shibboleth.utilities.java.support.resolver.Criterion;
 
 /**
- * Client information criterion to make decisions based on client information. Usually used by
- * {@link OIDCClientInformationSignatureSigningParametersResolver}.
+ * Client information criterion to make decisions based on client information.
  */
 public class ClientInformationCriterion implements Criterion {
 
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseSignedJWTTrustEngine.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseSignedJWTTrustEngine.java
index cb0c0d9..bfb34c5 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseSignedJWTTrustEngine.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseSignedJWTTrustEngine.java
@@ -156,6 +156,8 @@ public abstract class BaseSignedJWTTrustEngine<TrustBasisType> implements TrustE
      * @param signedJWT the JWT on which to attempt verification
      * @param credential the credential containing the candidate validation key
      * @return true if the signature can be verified using the key from the credential, otherwise false
+     * 
+     * @throws SecurityException if there is a fatal error evaluating the signature
      */
     protected boolean verifySignature(@Nonnull final SignedJWT signedJWT, @Nonnull final Credential credential)
             throws SecurityException {
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/DefaultJWTEncryptionParametersResolver.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/DefaultJWTEncryptionParametersResolver.java
index ba4b3a4..fb6cb62 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/DefaultJWTEncryptionParametersResolver.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/DefaultJWTEncryptionParametersResolver.java
@@ -504,7 +504,6 @@ public class DefaultJWTEncryptionParametersResolver extends AbstractSecurityPara
      * @param enc the content encryption algorithm
      * 
      * @return a *new* derived credential, or {@code null} if an error occurs
-     * @throws JOSEException on error deriving the credential
      */
     @Nullable private JWKCredential deriveSymmetricKeyForAlgAndEnc(
             @Nullable final JWKCredential credential, @Nullable final JWEAlgorithm alg, 

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


More information about the commits mailing list