shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r805878 - /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java
Date Wed, 19 Aug 2009 16:45:14 GMT
Author: lhazlewood
Date: Wed Aug 19 16:45:14 2009
New Revision: 805878

URL: http://svn.apache.org/viewvc?rev=805878&view=rev
Log:
fixed Exception message incorrect interface name reference

Modified:
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java?rev=805878&r1=805877&r2=805878&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java
(original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java
Wed Aug 19 16:45:14 2009
@@ -136,9 +136,9 @@
         if (sm instanceof SessionDAOAware) {
             ((SessionDAOAware) sm).setSessionDAO(sessionDAO);
         } else {
-            String msg = "The underlying session manager is null or does not implement the
" +
-                    SessionDAO.class.getName() + " interface, which is required if the underlying
" +
-                    "instance is to receive the sessionDAO argument.";
+            String msg = "The underlying SessionManager is null or does not implement the
" +
+                    SessionDAOAware.class.getName() + " interface, which is required if it
is " +
+                    "to receive the sessionDAO argument.";
             throw new IllegalArgumentException(msg);
         }
     }



Mime
View raw message