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

Henri Mikkonen henri.mikkonen at iki.fi
Mon Apr 24 05:42:40 UTC 2023


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

hjmikkon 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=eec718e488240685377d4143330690e4d96561ec

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

commit eec718e488240685377d4143330690e4d96561ec
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Mon Apr 24 08:42:30 2023 +0300

    Fix Javadoc
---
 .../oidc/security/jose/impl/DefaultEncryptionParametersResolver.java  | 3 +++
 .../security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java   | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jose/impl/DefaultEncryptionParametersResolver.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jose/impl/DefaultEncryptionParametersResolver.java
index 7e206d5..7a3af14 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jose/impl/DefaultEncryptionParametersResolver.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jose/impl/DefaultEncryptionParametersResolver.java
@@ -434,6 +434,7 @@ public class DefaultEncryptionParametersResolver extends AbstractSecurityParamet
      * @param criteria the set of criterion passed into additional source implementations
      * @param dataEncryptionAlgorithms the data encryption algorithms
      * @param algorithm the direct encryption algorithm
+     * @return true if operation was successful, false otherwise
      */
     private boolean buildDirectEncryptionParameters(@Nonnull final EncryptionParameters params,
             @Nonnull final CriteriaSet criteria, @Nonnull final List<EncryptionMethod> dataEncryptionAlgorithms, 
@@ -482,6 +483,7 @@ public class DefaultEncryptionParametersResolver extends AbstractSecurityParamet
      * @param criteria the set of criterion passed into additional source implementations
      * @param dataEncryptionAlgorithms the data encryption algorithms
      * @param algorithm the key wrapping algorithm
+     * @return true if operation was successful, false otherwise
      */
     private boolean buildKeyWrappingParameters(@Nonnull final EncryptionParameters params,
             @Nonnull final CriteriaSet criteria, @Nonnull final List<EncryptionMethod> dataEncryptionAlgorithms, 
@@ -523,6 +525,7 @@ public class DefaultEncryptionParametersResolver extends AbstractSecurityParamet
      * @param criteria the set of criterion passed into additional source implementations
      * @param dataEncryptionAlgorithms the data encryption algorithms
      * @param algorithm the key encryption algorithm
+     * @return true if operation was successful, false otherwise
      */
     private boolean buildKeyEncryptionOrAgreementParameters(@Nonnull final EncryptionParameters params,
             @Nonnull final CriteriaSet criteria,  @Nonnull final List<EncryptionMethod> dataEncryptionAlgorithms, 
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
index 18db2db..ad7773d 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
@@ -45,8 +45,8 @@ import net.shibboleth.utilities.java.support.logic.FunctionSupport;
  * Verifies the auth_time (when the End-User authentication took place):
  * <ol>
  * <li>If the authnLifetimeLookup returns 0 seconds (e.g. max_age=0), assume the 'forced authentication' semantic, and 
- * check the auth_time is after the authentication request time.</p>
- * <li>Or, if the authnLifetimeLookup returns a value >0, check the authentication occurred within a valid expiration 
+ * check the auth_time is after the authentication request time.</li>
+ * <li>Or, if the authnLifetimeLookup returns a value >0, check the authentication occurred within a valid expiration 
  * window.</li>
  * </ol>
  * 

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


More information about the commits mailing list