CVS: xdoclet/modules/jboss/src/xdoclet/modules/jboss/web JBossWebXmlSubTask.java,1.13,1.14

Matthias Germann <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Update of /cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12234/modules/jboss/src/xdoclet/modules/jboss/web

Modified Files:
	JBossWebXmlSubTask.java 
Log Message:
Support for "flushOnSessionInvalidation" added (XDT-1517). Thanks to Ted Sanne for the patch.

Index: JBossWebXmlSubTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/web/JBossWebXmlSubTask.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** JBossWebXmlSubTask.java	16 Jan 2005 12:51:48 -0000	1.13
--- JBossWebXmlSubTask.java	27 Aug 2005 11:28:44 -0000	1.14
***************
*** 75,78 ****
--- 75,86 ----
  
      /**
+      * Indicates whether the associated security domain cache should be flushed when the web session is invalidated. If
+      * true, the security manager service flushAuthenticationCache(String, java.security.Principal) is called when the
+      * session is seen to be invalid due to expiration or explicit invalidation. This attribute is supported on JBoss
+      * Version 4 and above. Default is false.
+      */
+     protected boolean flushOnSessionInvalidation = false;
+ 
+     /**
       * Describe what the JBossWebXmlSubTask constructor does
       */
***************
*** 124,127 ****
--- 132,145 ----
  
      /**
+      * Returns whether the associated security domain cache should be flushed when the web session is invalidated.
+      *
+      * @return   <code>true</code> if the security domain cache should be flushed on session ivalidation
+      */
+     public boolean getFlushOnSessionInvalidation()
+     {
+         return this.flushOnSessionInvalidation;
+     }
+ 
+     /**
       * Set the Security Domain.
       *
***************
*** 163,166 ****
--- 181,194 ----
      }
  
+     /**
+      * Sets whether the associated security domain cache should be flushed when the web session is invalidated.
+      *
+      * @param flag  <code>true</code> if the security domain cache should be flushed on session ivalidation
+      */
+     public void setFlushOnSessionInvalidation(boolean flag)
+     {
+         this.flushOnSessionInvalidation = flag;
+     }
+ 
      public void execute() throws XDocletException
      {



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.