svn commit: r680101 - in /tomcat: container/tc5.5.x/webapps/docs/realm-howto.xml tc6.0.x/trunk/webapps/docs/realm-howto.xml trunk/webapps/docs/realm-howto.xml

2008-07-27 Thread markt
Author: markt
Date: Sun Jul 27 06:20:07 2008
New Revision: 680101

URL: http://svn.apache.org/viewvc?rev=680101view=rev
Log:
Fix error in JAAS realm doc reported on users list.

Modified:
tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml
tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml
tomcat/trunk/webapps/docs/realm-howto.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml?rev=680101r1=680100r2=680101view=diff
==
--- tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml Sun Jul 27 06:20:07 
2008
@@ -1058,7 +1058,7 @@
  
href=http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html;JAAS
 LoginConfig file/a) and tell Tomcat where to find it by specifying
 its location to the JVM, for instance by setting the environment
-variable: 
codeJAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==$CATALINA_HOME/conf/jaas.config/code/li
+variable: codeJAVA_OPTS=$JAVA_OPTS 
-Djava.security.auth.login.config==$CATALINA_HOME/conf/jaas.config/code/li
 
   liConfigure your security-constraints in your web.xml for
 the resources you want to protect/li

Modified: tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml?rev=680101r1=680100r2=680101view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml Sun Jul 27 06:20:07 2008
@@ -1342,7 +1342,7 @@
  
href=http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html;JAAS
 LoginConfig file/a) and tell Tomcat where to find it by specifying
 its location to the JVM, for instance by setting the environment
-variable: 
codeJAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config/code/li
+variable: codeJAVA_OPTS=$JAVA_OPTS 
-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config/code/li
 
   liConfigure your security-constraints in your web.xml for
 the resources you want to protect/li

Modified: tomcat/trunk/webapps/docs/realm-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/realm-howto.xml?rev=680101r1=680100r2=680101view=diff
==
--- tomcat/trunk/webapps/docs/realm-howto.xml (original)
+++ tomcat/trunk/webapps/docs/realm-howto.xml Sun Jul 27 06:20:07 2008
@@ -1342,7 +1342,7 @@
  
href=http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html;JAAS
 LoginConfig file/a) and tell Tomcat where to find it by specifying
 its location to the JVM, for instance by setting the environment
-variable: 
codeJAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config/code/li
+variable: codeJAVA_OPTS=$JAVA_OPTS 
-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config/code/li
 
   liConfigure your security-constraints in your web.xml for
 the resources you want to protect/li



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread markt
Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102view=rev
Log:
Fix RDF as per report on users list

Modified:
tomcat/site/trunk/docs/doap_Tomcat.rdf

Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=680102r1=680101r2=680102view=diff
==
--- tomcat/site/trunk/docs/doap_Tomcat.rdf (original)
+++ tomcat/site/trunk/docs/doap_Tomcat.rdf Sun Jul 27 06:33:31 2008
@@ -34,11 +34,15 @@
 created2006-04-14/created
 revision5.5.17/revision
   /Version
+/release
+release
   Version
 name5.5.16/name
 created2006-03-05/created
 revision5.5.16/revision
   /Version
+/release
+release
   Version
 name5.5.15/name
 created2006-01-23/created



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread William A. Rowe, Jr.

Mark Thomas wrote:

[EMAIL PROTECTED] wrote:

Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102view=rev
Log:
Fix RDF as per report on users list


This is now fixed but the data is horribly out of date? Does anyone care 
about this file? If not, better to delete it than to provide information 
that is two years out of date.


Hmm... see http://projects.apache.org/indexes/quick.html

I don't suppose we want tomcat falling off that list?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread William A. Rowe, Jr.

William A. Rowe, Jr. wrote:

Mark Thomas wrote:

[EMAIL PROTECTED] wrote:

Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102view=rev
Log:
Fix RDF as per report on users list


This is now fixed but the data is horribly out of date? Does anyone 
care about this file? If not, better to delete it than to provide 
information that is two years out of date.


Hmm... see http://projects.apache.org/indexes/quick.html

I don't suppose we want tomcat falling off that list?


Speaking of which, none of my projects seemed to understand the fields
required for presentation of
http://projects.apache.org/indexes/releases.html
(or that page is just broken :).  Will research, if I learn anything I'm
happy to update tomcat's doap as well.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread Mark Thomas

William A. Rowe, Jr. wrote:

Mark Thomas wrote:

[EMAIL PROTECTED] wrote:

Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102view=rev
Log:
Fix RDF as per report on users list


This is now fixed but the data is horribly out of date? Does anyone 
care about this file? If not, better to delete it than to provide 
information that is two years out of date.


For starters, try the attached.

I've committed something similar. Note 6.0.18 isn't released yet.


Is part of the flaw that it's not in the xdocs origin tree?  Maybe leaving
this in plain site for authoring would make it easier to keep it in sync.
Possibly but I suspect it is more than to with the fact the none of the 
committers use/care about the information. We'll see if it gets kept up to 
date now.


Mark



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Programmatically detecting a login or logout using Apache Tomcat

2008-07-27 Thread MartinOShea

Hello

I'm trying to find a way to detect a user logging into or logging out of an
application I'm working on. I want to record these events so that I know the
exact steps a user has taken through the application's JSPs and servlets. I
want to do this without reference to the Apache Tomcat server logs as well.

I have tried the following code in index.jsp (which is serving as each
user's home page):

% if (request.getParameter(logoff) != null) {
   session.invalidate();
   response.sendRedirect(/myDataSharer/jsp/user/index.jsp);   
   return;
} %  

And I have tried using variations like:

% if (request.getParameter(logon) == true) {

But without success. 

does anyone know a way that the login and logout events can be recorded by
an event in a program, a session object and so on?

I'm using NetBeans 6.1 with Apache Tomcat 6.X.

Thanks

Martin O'Shea.

-- 
View this message in context: 
http://www.nabble.com/Programmatically-detecting-a-login-or-logout-using-Apache-Tomcat-tp18679788p18679788.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r680206 - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/

2008-07-27 Thread markt
Author: markt
Date: Sun Jul 27 16:30:46 2008
New Revision: 680206

URL: http://svn.apache.org/viewvc?rev=680206view=rev
Log:
Update website copyright dates. Bugs 45468 and 45469.

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/docs/contact.html
tomcat/site/trunk/docs/download-41.html
tomcat/site/trunk/docs/download-55.html
tomcat/site/trunk/docs/download-60.html
tomcat/site/trunk/docs/download-connectors.html
tomcat/site/trunk/docs/download-native.html
tomcat/site/trunk/docs/findhelp.html
tomcat/site/trunk/docs/getinvolved.html
tomcat/site/trunk/docs/heritage.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/irc.html
tomcat/site/trunk/docs/legal.html
tomcat/site/trunk/docs/lists.html
tomcat/site/trunk/docs/migration.html
tomcat/site/trunk/docs/resources.html
tomcat/site/trunk/docs/security-3.html
tomcat/site/trunk/docs/security-4.html
tomcat/site/trunk/docs/security-5.html
tomcat/site/trunk/docs/security-6.html
tomcat/site/trunk/docs/security-impact.html
tomcat/site/trunk/docs/security-jk.html
tomcat/site/trunk/docs/security.html
tomcat/site/trunk/docs/svn.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/docs/whoweare.html
tomcat/site/trunk/xdocs/legal.xml
tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=680206r1=680205r2=680206view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Sun Jul 27 16:30:46 2008
@@ -519,7 +519,7 @@
 div align=center
 font color=#525D76 size=-1
 em
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 /em
 /font
 /div

Modified: tomcat/site/trunk/docs/contact.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/contact.html?rev=680206r1=680205r2=680206view=diff
==
--- tomcat/site/trunk/docs/contact.html (original)
+++ tomcat/site/trunk/docs/contact.html Sun Jul 27 16:30:46 2008
@@ -292,7 +292,7 @@
 div align=center
 font color=#525D76 size=-1
 em
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 /em
 /font
 /div

Modified: tomcat/site/trunk/docs/download-41.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-41.html?rev=680206r1=680205r2=680206view=diff
==
--- tomcat/site/trunk/docs/download-41.html (original)
+++ tomcat/site/trunk/docs/download-41.html Sun Jul 27 16:30:46 2008
@@ -482,7 +482,7 @@
 div align=center
 font color=#525D76 size=-1
 em
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 /em
 /font
 /div

Modified: tomcat/site/trunk/docs/download-55.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-55.html?rev=680206r1=680205r2=680206view=diff
==
--- tomcat/site/trunk/docs/download-55.html (original)
+++ tomcat/site/trunk/docs/download-55.html Sun Jul 27 16:30:46 2008
@@ -506,7 +506,7 @@
 div align=center
 font color=#525D76 size=-1
 em
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 /em
 /font
 /div

Modified: tomcat/site/trunk/docs/download-60.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-60.html?rev=680206r1=680205r2=680206view=diff
==
--- tomcat/site/trunk/docs/download-60.html (original)
+++ tomcat/site/trunk/docs/download-60.html Sun Jul 27 16:30:46 2008
@@ -451,7 +451,7 @@
 div align=center
 font color=#525D76 size=-1
 em
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 /em
 /font
 /div

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-connectors.html?rev=680206r1=680205r2=680206view=diff
==
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Sun Jul 27 16:30:46 2008
@@ -423,7 +423,7 @@
 div align=center
 font color=#525D76 size=-1
 em
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 /em
 /font
 /div

Modified: tomcat/site/trunk/docs/download-native.html
URL: 

DO NOT REPLY [Bug 45469] Update copyright on legal page

2008-07-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45469





--- Comment #2 from Mark Thomas [EMAIL PROTECTED]  2008-07-27 16:31:37 PST ---
Many thanks. Updates applied and should be live in ~1 hour.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45468] Upate copyright to 2008, site-wide

2008-07-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45468


Mark Thomas [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #1 from Mark Thomas [EMAIL PROTECTED]  2008-07-27 16:32:09 PST ---
Many thanks. Updates applied and should be live in ~1 hour.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45467] typo corrections, whichversion web page

2008-07-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45467


Mark Thomas [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #1 from Mark Thomas [EMAIL PROTECTED]  2008-07-27 16:39:34 PST ---
Thanks for the patch. I applied a variation. It should be live in ~1 hour.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]