[java-identity-provider] 19/51: Javadoc errors.
Rod Widdowson
rdw at steadingsoftware.com
Sat Mar 16 14:28:51 UTC 2024
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch dev/IDP-2147
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=33effa81a3017144abeb998d50afa8edc09a7e36
commit 33effa81a3017144abeb998d50afa8edc09a7e36
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