shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r736235 - in /incubator/jsecurity/trunk/core/src/org/jsecurity: mgt/SessionsSecurityManager.java session/mgt/AbstractSessionManager.java
Date Wed, 21 Jan 2009 06:17:48 GMT
Author: lhazlewood
Date: Tue Jan 20 22:17:48 2009
New Revision: 736235

URL: http://svn.apache.org/viewvc?rev=736235&view=rev
Log:
JavaDoc update

Modified:
    incubator/jsecurity/trunk/core/src/org/jsecurity/mgt/SessionsSecurityManager.java
    incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/AbstractSessionManager.java

Modified: incubator/jsecurity/trunk/core/src/org/jsecurity/mgt/SessionsSecurityManager.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/mgt/SessionsSecurityManager.java?rev=736235&r1=736234&r2=736235&view=diff
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/mgt/SessionsSecurityManager.java (original)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/mgt/SessionsSecurityManager.java Tue
Jan 20 22:17:48 2009
@@ -25,7 +25,6 @@
 import org.jsecurity.session.SessionListener;
 import org.jsecurity.session.SessionListenerRegistrar;
 import org.jsecurity.session.mgt.AbstractSessionManager;
-import org.jsecurity.session.mgt.AbstractValidatingSessionManager;
 import org.jsecurity.session.mgt.DefaultSessionManager;
 import org.jsecurity.session.mgt.SessionManager;
 import org.jsecurity.util.LifecycleUtils;
@@ -149,7 +148,7 @@
         if (this.sessionManager == null) {
             throw new IllegalStateException("SessionManager is null - cannot configure property!");
         }
-        if (!(this.sessionManager instanceof AbstractValidatingSessionManager)) {
+        if (!(requiredType.isInstance(this.sessionManager))) {
             String msg = "Property configuration failed.  The target property is only configurable
when the " +
                     "underlying SessionManager instance is a part of the " +
                     "[" + requiredType.getName() + "] class hierarchy.  " +

Modified: incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/AbstractSessionManager.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/AbstractSessionManager.java?rev=736235&r1=736234&r2=736235&view=diff
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/AbstractSessionManager.java
(original)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/AbstractSessionManager.java
Tue Jan 20 22:17:48 2009
@@ -56,7 +56,7 @@
 
     /**
      * Returns the system-wide default time in milliseconds that any session may remain idle
before expiring. This
-     * value is just a main default for all sessions and may be overridden on a <em>per-session</em>
basis by calling
+     * value is the main default for all sessions and may be overridden on a <em>per-session</em>
basis by calling
      * {@code Subject.getSession().}{@link Session#setTimeout setTimeout(long)} if so desired.
      * <ul>
      * <li>A negative return value means sessions never expire.</li>
@@ -74,7 +74,7 @@
 
     /**
      * Sets the system-wide default time in milliseconds that any session may remain idle
before expiring. This
-     * value is just a main default for all sessions and may be overridden on a <em>per-session</em>
basis by calling
+     * value is the main default for all sessions and may be overridden on a <em>per-session</em>
basis by calling
      * {@code Subject.getSession().}{@link Session#setTimeout setTimeout(long)} if so desired.
      *
      * <ul>



Mime
View raw message