[java-shib-shared] 02/02: Make servlet interface getters protected.

Scott Cantor cantor.2 at osu.edu
Thu Dec 14 14:13:42 UTC 2023


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

scantor pushed a commit to branch main
in repository java-shib-shared.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=7c617b49cc03f6640e6cef27c6c92d52302ee84e

commit 7c617b49cc03f6640e6cef27c6c92d52302ee84e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 14 09:13:19 2023 -0500

    Make servlet interface getters protected.
---
 .../src/main/java/net/shibboleth/shared/net/CookieManager.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shib-networking/src/main/java/net/shibboleth/shared/net/CookieManager.java b/shib-networking/src/main/java/net/shibboleth/shared/net/CookieManager.java
index 0d451377..6ae7e674 100644
--- a/shib-networking/src/main/java/net/shibboleth/shared/net/CookieManager.java
+++ b/shib-networking/src/main/java/net/shibboleth/shared/net/CookieManager.java
@@ -128,7 +128,7 @@ public class CookieManager extends AbstractInitializableComponent {
      *
      * @return current HTTP request
      */
-    @NonnullAfterInit private HttpServletRequest getHttpServletRequest() {
+    @NonnullAfterInit protected HttpServletRequest getHttpServletRequest() {
         if (httpRequestSupplier == null) {
             return null;
         }
@@ -150,7 +150,7 @@ public class CookieManager extends AbstractInitializableComponent {
      *
      * @return current HTTP response or null
      */
-    @NonnullAfterInit private HttpServletResponse getHttpServletResponse() {
+    @NonnullAfterInit protected HttpServletResponse getHttpServletResponse() {
         if (httpResponseSupplier == null) {
             return null;
         }

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


More information about the commits mailing list