[java-identity-provider] branch main updated: Javadoc errors.

Scott Cantor cantor.2 at osu.edu
Mon Feb 19 13:30:42 UTC 2024


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

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=9897655fb6d2ed2eddcc0a995d60b5d471876481

The following commit(s) were added to refs/heads/main by this push:
     new 9897655fb Javadoc errors.
9897655fb is described below

commit 9897655fb6d2ed2eddcc0a995d60b5d471876481
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Feb 19 08:30:17 2024 -0500

    Javadoc errors.
---
 .../navigate/PasswordErrorMessageLookupFunction.java     | 16 ++++++++++++++++
 .../idp/profile/support/StorageAwareCookieManager.java   |  8 ++++++++
 2 files changed, 24 insertions(+)

diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/navigate/PasswordErrorMessageLookupFunction.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/navigate/PasswordErrorMessageLookupFunction.java
index 90973ade0..a33661e9e 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/navigate/PasswordErrorMessageLookupFunction.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/navigate/PasswordErrorMessageLookupFunction.java
@@ -83,6 +83,14 @@ public class PasswordErrorMessageLookupFunction extends ApplicationObjectSupport
         return null;
     }
     
+    /**
+     * Get classified message.
+     * 
+     * @param messageSource Spring message source
+     * @param classifiedError classified error event
+     * 
+     * @return mapped message, or null
+     */
     @Nullable private String getClassifiedMessage(@Nonnull final MessageSourceAccessor messageSource,
             @Nonnull final String classifiedError) {
         
@@ -97,6 +105,14 @@ public class PasswordErrorMessageLookupFunction extends ApplicationObjectSupport
         return null;
     }
     
+    /**
+     * Get generic error message or exception message. 
+     * 
+     * @param messageSource Spring message source
+     * @param e exception
+     * 
+     * @return the exception message or the generic message as appropriate
+     */
     @Nullable private String getExceptionMessage(@Nonnull final MessageSourceAccessor messageSource,
             @Nonnull final Exception e) {
         
diff --git a/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/support/StorageAwareCookieManager.java b/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/support/StorageAwareCookieManager.java
index d555ce187..0e7c49032 100644
--- a/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/support/StorageAwareCookieManager.java
+++ b/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/support/StorageAwareCookieManager.java
@@ -196,6 +196,14 @@ public class StorageAwareCookieManager extends CookieManager {
         return defValue;
     }
     
+    /**
+     * Get cookie name as partitioned in storage by username.
+     * 
+     * @param cookieName base cookie name
+     * @return the storage key for the cookie
+     * 
+     * @throws IOException if unable to locate username for key
+     */
     @Nonnull protected String getPartitionedCookieName(@Nonnull final String cookieName) throws IOException {
         
         final Object obj = getHttpServletRequest().getAttribute(ProfileRequestContext.BINDING_KEY);

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


More information about the commits mailing list