You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2009/08/19 18:45:14 UTC

svn commit: r805878 - /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java

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);
         }
     }