You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by "steinarb (via GitHub)" <gi...@apache.org> on 2026/08/15 20:34:57 UTC

Re: [PR] Enhancement: support for remembered principals in session management, check w… [shiro]

steinarb commented on code in PR #2859:
URL: https://github.com/apache/shiro/pull/2859#discussion_r3790211348


##########
core/src/main/java/org/apache/shiro/subject/SubjectContext.java:
##########
@@ -235,4 +235,17 @@ public interface SubjectContext extends Map<String, Object> {
     void setHost(String host);
 
     String resolveHost();
+
+    /**
+     * Sets whether the constructed {@code Subject} instance should was constructed from remembered principals
+     */
+    default void setRememberedPrincipals(boolean rememberedPrincipals) { }

Review Comment:
   Value not saved? Are there context subclasses, some of which store the value?
   (hm... but these are new methods so if there were subclasses implementing, they should have been shown here...?)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@shiro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org