Another...java.lang.LinkageError:loader constraints violated

2001-12-12 Thread Antony Bowesman
Hi, I have found a number of this error in the archive but no answer. From a standard 4.0.1 distribution I place xalan.jar in the webapps lib directory for this webapp and I get the error, however, if I move xalan.jar to %CATALINA_HOME%/lib the problem does not occur. I can't figure out why

Re: Off topic:Old jserv source question

2001-12-04 Thread Antony Bowesman
Daniel Rall wrote: On Mon, 3 Dec 2001, Antony Bowesman wrote: Craig R. McClanahan wrote: Apache JServ sources are still available via anonymous CVS from the Jakarta web site (see http://jakarta.apache.org/site/cvsindex.html). The CVS module name is java-jserv. Brilliant

Off topic:Old jserv source question

2001-12-03 Thread Antony Bowesman
Hi, Sorry for the legacy question but it seems all the names I come across when doing a search for this seem to be working on Tomcat... I'm stuck fixing a problem with a servlet running in jserv/apache environment. I have a servlet service() method which sets a response header public void

Re: Problem with JAAS and TOMCAT 4.0.1

2001-11-29 Thread Antony Bowesman
Ismael Blesa Part wrote: Hi have modified the sample given with JAAS 1.0. I have developed a jsp that calls the sample.java file. This file has been modificated in several ways, the main method has been changed to a method class and some other changes to adapt it to a web application. The

Default policy file for TC4 - excessive permissions

2001-11-15 Thread Antony Bowesman
The catalina.policy file gives AllPermissions to the webapp shared lib/classes directories by default. Isn't this too liberal. Shouldn't the policy file explicitly name the 3 jars with the default 4.0.1 distribution in lib. Rgds Antony -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Session variables in TC 4.0.1 realms

2001-11-13 Thread Antony Bowesman
Hi, I'm going to develop an authentication realm (based on FORM authentication) for TC 4.0.1 which performs a kind of challenge/response task: Put a challange into a session variable on the login page (.jsp). The expected password would then be the encrypted challenge. Whithin my realm

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Antony Bowesman
RMI and the proxy is local to the container. Rgds Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] phone: +358 9 5128 2562 fax : +358 9 5128 2705 intra / extra / Internet solutions at www.teamware.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

J2EE 1.3/Tomcat/JAAS

2001-10-31 Thread Antony Bowesman
Hi, Is there a target for Tomcat to become a J2EE 1.3 conformant web container? If so, what are the plans for supporting section 6.13 J2EE.6.13 Java™ Authentication and Authorization Service (JAAS) 1.0 Requirements All EJB containers and all web containers must support the use of the JAAS

Re: J2EE 1.3/Tomcat/JAAS

2001-10-31 Thread Antony Bowesman
Craig R. McClanahan wrote: That being said, we have tried to conform to the J2EE 1.3 platform requirements where feasible (such as with the JNDI naming context), and this one (JAAS) looks like a very useful addition. In principle, it will require a Realm implementation that speaks the JAAS

Re: Getting HttpRequest inside Realm/Tomcat 4

2001-10-26 Thread Antony Bowesman
Craig, One of the outgrowths of that realization is another JSR that you might want to keep track of (via http://www.jcp.org: JSR #115 -- Java(tm) Authorization Service Provider Contract for Containers Once this is fleshed out, Tomcat can be modified to support the new

Re: Getting HttpRequest inside Realm/Tomcat 4

2001-10-25 Thread Antony Bowesman
Hi Craig, Thanks for your comments again. You're right ... there is nothing there to do this. The original design was based on the idea that Realm simply encapsulates a service that authenticates a user, given a username and some credentials. In addition, it needs to work even when HTTP

Re: JAAS/Classloaders/Tomcat4

2001-10-24 Thread Antony Bowesman
Hi Craig, Thanks for the reply. Craig R. McClanahan wrote: You should *not* be doing both of these things -- either put it on the classpath *or* put it in $CATALINA_HOME/lib. I agree, but that's part of the problem, where do you put the jar file if it needs to be on the system classpath,

Getting HttpRequest inside Realm/Tomcat 4

2001-10-24 Thread Antony Bowesman
find anything. Rgds -- Antony Bowesman Teamware Group [EMAIL PROTECTED] phone: +358 9 5128 2562 fax : +358 9 5128 2705 intra / extra / Internet solutions at www.teamware.com

JAAS/Classloaders/Tomcat4

2001-10-23 Thread Antony Bowesman
scripts and JAAS login modules can just be dropped into the system classes directory as needed. Rgds -- Antony Bowesman Teamware Group [EMAIL PROTECTED] phone: +358 9 5128 2562 fax : +358 9 5128 2705 intra / extra / Internet solutions at www.teamware.com

Re: First day - RE: PROPOSAL: Tomcat docs

2001-07-06 Thread Antony Bowesman
Glenn Nielsen wrote: Antony Bowesman wrote: 8. Security How about 8.1 Concepts - Explanation of J2EE and Java 2 security models 8.2 Authentication with Realms 8.2.1 Simple realm 8.2.2 JDBC Realm 8.2.3 Custom realms 8.3 Authorization 8.3.1 J2EE role based

Re: First day - RE: PROPOSAL: Tomcat docs

2001-07-06 Thread Antony Bowesman
Glenn, Glenn Nielsen wrote: Antony Bowesman wrote: Glenn Nielsen wrote: Antony Bowesman wrote: 8. Security How about 8.1 Concepts - Explanation of J2EE and Java 2 security models 8.2 Authentication with Realms 8.2.1 Simple realm 8.2.2 JDBC Realm

Re: First day - RE: PROPOSAL: Tomcat docs

2001-07-04 Thread Antony Bowesman
Punky Tse wrote: Rob, Please see below for rephrased version of Introduction and Administrator Guide. I combined the Introduction and Administrator's Guide to Administrator Guide. Actually this is my proposed TOC. And I believe that we need separate document for different

Re: per-context realms

2001-06-06 Thread Antony Bowesman
Michael Jennings wrote: Hi everyone, Does anyone have an idea of how I could go about implementing realms/authentication on a per-context basis? Ideally, what I would like to do is have each context control their users and roles. Where should I look to get a clue? Make a simple realm

Re: realms and authentication

2001-06-05 Thread Antony Bowesman
Andy Armstrong wrote: Michael Jennings wrote: Thanks for the feedback! Does tomcat 3.2.2 currently support JAAS? Not in any explicit sense I think (anyone?), JAAS is not explicitly supported by tomcat. JAAS was only available from JDK 1.3, supplied as an extension. JAAS is now

Re: realms and authentication

2001-06-05 Thread Antony Bowesman
Ignacio J. Ortega wrote: I do like your idea , this was something i was talking some time ago, But better than for 3.2.2 ( that is on bug fix mode only , no new features ), But I would prefer to apply your idea to share Realms Implementatios between 3.3 and 4.0, a much more useful

Re: realms and authentication

2001-06-05 Thread Antony Bowesman
Andy Armstrong wrote: Antony Bowesman wrote: Andy Armstrong wrote: Michael Jennings wrote: Thanks for the feedback! Does tomcat 3.2.2 currently support JAAS? Not in any explicit sense I think (anyone?), JAAS is not explicitly supported by tomcat. JAAS

What are 'notes' all about

2001-06-04 Thread Antony Bowesman
are fairly abstract and don't give much clue. Rgds Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Re: JSP and SecurityManager [was RE: 3.2.2. When's it shipping?]

2001-05-21 Thread Antony Bowesman
the most recent tomcat.policy file. -Original Message- From: Antony Bowesman [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 12:49 AM To: [EMAIL PROTECTED] Subject: Re: JSP and SecurityManager [was RE: 3.2.2. When's it shipping?] Marc Saegesser wrote: The null

Re: Tomcat Interceptors - proof read, anyone?

2001-05-21 Thread Antony Bowesman
! Tomcat is sorely lacking good documentation. Rgds -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Re: JSP and SecurityManager [was RE: 3.2.2. When's it shipping?]

2001-05-20 Thread Antony Bowesman
cause the access exception. I have even tried the following codeBases grant codeBase file:c:/- grant codeBase file:h:/- with still the same exception. Why doesn't it work?? Rgds Antony -Original Message- From: Antony Bowesman [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18

Bug in runtime/JspFactoryImpl.java

2001-05-17 Thread Antony Bowesman
this problem occur. Rgds -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Jasper Exception with security and login.jsp

2001-05-16 Thread Antony Bowesman
); } Is this a known problem with an access control failure during an authentication request. Full exception details shown below. Rgds Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705 Error: 500 Location: /helloweb/jsp/security/login/login.jsp Internal

Re: Session per context question

2001-05-14 Thread Antony Bowesman
how the interactions work. Thanks for comments again! I will take a look. Rgds Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Session per context question

2001-05-11 Thread Antony Bowesman
if a session should be created when getSession(true) is called. Rgds Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Re: Realm implementations

2001-05-07 Thread Antony Bowesman
Craig, Thanks for your comments. Craig R. McClanahan wrote: On Fri, 4 May 2001, Antony Bowesman wrote: Hi, In TC 3.x authenticate() method of a realm is called for every request. (I gather this is changed in 4.x). You are correct. Tomcat 4 caches the user Principal object

Re: Realm implementations

2001-05-07 Thread Antony Bowesman
. Costin Best regards Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Realm implementations

2001-05-04 Thread Antony Bowesman
I want to prevent Tomcat from losing the authenticated context. How does this fit into TC4? Best regards Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Relase 3.3 status

2001-05-02 Thread Antony Bowesman
Does anyone have schedules for 3.3 release. Current release plan shows 3.3 final release as at Apr 5. Rgds Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Re: JNDI realm

2001-04-26 Thread Antony Bowesman
. Rgds -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128 2562 fax: +358 9 5128 2705

Plugging realms and JAAS into Tomcat 3.2

2001-03-14 Thread Antony Bowesman
security context into the Web container's security context, so that, for example, IsUserInRole() can be used to determine Roles from the original user realm and any calls to EJB container will get the security context. Rgds Antony -- Antony Bowesman Teamware Group [EMAIL PROTECTED] tel: +358 9 5128