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 _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel