This is an automated email from the ASF dual-hosted git repository.

fpapon pushed a commit to branch 1.9.x
in repository https://gitbox.apache.org/repos/asf/shiro.git

commit 0b1ce93ccc705585a1cde40b84ee21cd54555052
Author: Attila Magyar <[email protected]>
AuthorDate: Thu Nov 4 15:13:11 2021 +0100

    Update core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java
    
    Co-authored-by: Brian Demers <[email protected]>
---
 core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java 
b/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java
index db37215..6413d17 100644
--- a/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java
+++ b/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java
@@ -150,7 +150,7 @@ public abstract class SessionsSecurityManager extends 
AuthorizingSecurityManager
 
     public Session start(SessionContext context) throws AuthorizationException 
{
         if (sessionManager == null) {
-            throw new IllegalStateException("Session manager is destroyed");
+            throw new IllegalStateException("Session manager is not available 
or has been destroyed");
         }
         return this.sessionManager.start(context);
     }

Reply via email to