Authentication and logging problem

2005-03-04 Thread Guillaume Lederrey
();) { RolePrincipal role = (RolePrincipal) it.next(); log(Adding role : + role.getName()); subject.getPrincipals().add(role); } Does anybody have any idea where i should be looking to find the solution ? Thanks Guillaume Lederrey DEBUG http-8080-Processor25

Re: Authentication and logging problem

2005-03-07 Thread Guillaume Lederrey
as it was equals to the User ... Pretty easy problem, but I still took 1 full day to track it down ! Guillaume On Friday 04 March 2005 15.23, Guillaume Lederrey wrote: I'm having problem with a JAAS authentication realm. I created a LoginModule, configured it as explained in http

JAAS authentication and global realms

2005-03-10 Thread Guillaume Lederrey
could just move this Realm around to change its visibility, but there would not need to do anything more ... Thanks for the help. Guillaume -- Guillaume Lederrey Informaticien Développement Tecost - Technology Consulting Studies Fribourg (Switzerland) http://www.tecost.ch

Re: Single Sign On(SSO) problem

2005-03-11 Thread Guillaume Lederrey
this one : Valve className=org.apache.catalina.authenticator.SingleSignOn/ More docs in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html That works for me, I hope it helps you ! Guillaume -- Guillaume Lederrey Informaticien Développement Tecost - Technology Consulting

Defining authorization problem

2005-03-23 Thread Guillaume Lederrey
Is this possible ? What's the syntax ? Thanks for your help ! Guillaume -- Guillaume Lederrey Informaticien Développement Tecost - Technology Consulting Studies Fribourg (Switzerland) http://www.tecost.ch

Re: Defining authorization problem

2005-03-23 Thread Guillaume Lederrey
-- Geertjan S easy ! How come I couldnt find it ? Thanks a lot ! Guillaume -- Guillaume Lederrey Informaticien Développement Tecost - Technology Consulting Studies Fribourg (Switzerland) http://www.tecost.ch

Re: Defining authorization problem

2005-03-23 Thread Guillaume Lederrey
-pattern/someServlet/exclude-pattern I forgot to mention that I am using Tomcat 4.1.31 ... It seems that exclude-pattern/ is not recognized. Is it a Servlet 2.4 addition ? Is there a work around for Servlet 2.3 ? Thanks again ! Guillaume -- Guillaume Lederrey Informaticien Développement

Re: JAAS authentication and global realms

2005-04-04 Thread Guillaume Lederrey
you send the relevant java code ? Sorry that I'm not able to help you more right now ... Guillaume -- Guillaume Lederrey Rte des Arsenaux 15 1700 Fribourg +41 76 / 573 32 40 - To unsubscribe, e-mail: [EMAIL PROTECTED

symlink in a webapp

2005-04-04 Thread Guillaume Lederrey
, it would me most usefull for me to be able to use that trick. I suspect there is a config option somewhere but I could find it ... Thx for your help ... Guillaume Lederrey - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: symlink in a webapp

2005-04-04 Thread Guillaume Lederrey
On Apr 4, 2005 1:41 PM, Trond G. Ziarkowski [EMAIL PROTECTED] wrote: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Look for the allowLinking attribute... Once more, I seems to be blind ... Thanks for the hint ! Guillaume Lederrey

multiple parameters and Laszlo

2005-04-13 Thread Guillaume Lederrey
Hello ! This is not directly Tomcat related, but more of a general servlet API question. I am developping an application with laszlo (www.openlaszlo.org) as the front end and a servlet backend. Laszlo is a rich-client framework based on flash. My problem is that when using a multiple

SingleSignOn and Form Authentication

2005-04-20 Thread Guillaume Lederrey
Hello ! I'm using SSO and Form authentication. Most of it works just fine. The only problem I have, is that I have to have the login form in both apps. Every time I change it, I have to update it in two places. I use the following code in web.xml : login-config

Re: SingleSignOn and Form Authentication

2005-04-20 Thread Guillaume Lederrey
On 4/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, are you able to redirect after login. ? I'm not sure I understand the question ... The default FORM authentication redirects after the login to the page initially requested. I think I would more need to redirect BEFORE login to get

Re: SingleSignOn and Form Authentication

2005-04-21 Thread Guillaume Lederrey
On 4/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: After the authetication and login I want to redirect to a Menu Page not to any page requested earlier. Using default form authentication tomcat redirects to the page requested not to the page I want (e.g Menu Page). That's the

Re: Servlet app error

2005-05-06 Thread Guillaume Lederrey
On 5/6/05, Gastón Simone [EMAIL PROTECTED] wrote: Hi! Does anybody know how to solve this problem? Please excuse me if the cuestion is too stupid. I am really newbie. :) root cause java.lang.NoClassDefFoundError at com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown

Re: accessing app from Manager - get 'Unable to find a javac compiler '

2005-06-13 Thread Guillaume Lederrey
On 6/13/05, Brereton, Stephen [EMAIL PROTECTED] wrote: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK C:\Program Files\Java\jre1.5.0_02 is my JAVA_HOME path, which agrees with the jvm path in the tomcat

Re: where do i place log4j

2005-06-13 Thread Guillaume Lederrey
On 6/13/05, teknokrat [EMAIL PROTECTED] wrote: Marius Scurtescu wrote: teknokrat wrote: Place it as usual in WEB-INF/classes. It doesn't matter where the library (jar) is loaded from as long as the code is executed by your web app. If there are multiple webapps with their own

Re: Merlia driver error

2005-06-22 Thread Guillaume Lederrey
On 6/22/05, Sue Roe [EMAIL PROTECTED] wrote: Hello We have a system set up with Tomcat 4.1 and SQL Server 7. We use a Merlia jdbc driver to communicate with SQL Server via a connection pool. Occasionally users get the following error when they first access a servlet that needs to call a

Re: what is wrong with this tomcat-users.xml?

2005-06-25 Thread Guillaume Lederrey
On 6/24/05, Christian Stalp [EMAIL PROTECTED] wrote: Hello, I still have this strange Problem with my Debian Tomcat installation: I make some entrys in my tomcat-users.xml: [...] And get this as result on my browser: [quote] HTTP Status 404 - /admin/j_security_check type Status report

Re: What is allowed to do with a HttpServletRequest ?

2005-07-14 Thread Guillaume Lederrey
The question is probably : why do you need to refer to the first request ?. Dont you need to actually refer to some state of the request ? Could you extract that state from the request instead of storing the full request ? Maybe I'm just asking a dumb question, but I have problem understanding

Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
Hello ! This is probably a dumb question, but I'll try anyway. Please dont laugh at my ignorance ;-) I'm trying to use a constant (static final String) that is defined in a class. My code looks roughly so : %@ page import='ch.tecost.siems.dao.care.planification.FrequencyType' % [...]

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
On 7/20/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: html:radio name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % [...] / Regards Guru Thanks a lot ! Of course, it's obvious once we know it ...

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
/20/05, Guillaume Lederrey [EMAIL PROTECTED] wrote: On 7/20/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: html:radio name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % [...] / Regards Guru Thanks a lot ! Of course, it's obvious once we know

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
On 7/20/05, Bernhard Slominski [EMAIL PROTECTED] wrote: Hi, this is simply not supported in EL! I submitted this already as an enhancement https://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=134 But it won't be in the next release in JSP 2.1, that's for sure. So you need to do a

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
On 7/20/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: logic:equals name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % Guru Loves Struts /logic:equals Wow... ! This one looks better ! Thanks a lot ! Guillaume

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
On 7/20/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: logic:equals name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % Guru Loves Struts /logic:equals Just a small correction for the next one who'll need this advice : The tag is logic:equal/ and NOT

WEB-INF/context.xml

2005-07-21 Thread Guillaume Lederrey
Hello ! I've read on http://wiki.jboss.org/wiki/Wiki.jsp?page=LimitAccessToCertainClients that it seems possible to add a context.xml file under WEB-INF. I tried to use the following context.xml : Context privileged=true antiResourceLocking=false antiJARLocking=false

Easy EL question

2005-08-08 Thread Guillaume Lederrey
Hello ! I'm still having problem with all the different syntax used in JSP... so excuse my question if it sound really stupid ! I'm having to iterate on the values of a Map. So I'd like something like that : c:catch c:set var=items value=${itemsMap.values}/ /c:catch c:forEach

Re: Easy EL question

2005-08-08 Thread Guillaume Lederrey
for the answer, but I would be even more thankfull if a bit more explanation goes with it ... On 8/8/05, Allistair Crossley [EMAIL PROTECTED] wrote: you use .key or .value, e.g item.value['key'] item.key Allistair -Original Message- From: Guillaume Lederrey [mailto:[EMAIL

Re: Easy EL question

2005-08-08 Thread Guillaume Lederrey
On 8/8/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, With what you supplied, the answer was the best you could have expected. The deletedDma item per loop iteration is of type MapEntry. This has getKey and getValue, hence why you can call deletedDma.key and deletedDma.value. Thanks