Re: How to retrieve an user Principal?

2006-03-17 Thread Tremal Naik
2006/3/17, Mladen Turk <[EMAIL PROTECTED]>: > Go and troll somewhere else. sorry, I thought you where pissing on me. I didn't understand your real intentions. I will manage the request to get what I'm looking for. Thanks, -- TREMALNAIK ---

Re: How to retrieve an user Principal?

2006-03-17 Thread Mladen Turk
Tremal Naik wrote: 2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: Yes. Servlet spec 2.4 Thank you very much. Persons like you make me loosing faith in the Open Source. I think I'll call the guys at IBM... Go and troll somewhere else. I told you that JBoss uses thread local storage. 1. Request

Re: How to retrieve an user Principal?

2006-03-17 Thread Tremal Naik
2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: > Yes. Servlet spec 2.4 Thank you very much. Persons like you make me loosing faith in the Open Source. I think I'll call the guys at IBM... -- TREMALNAIK - To unsubscribe, e-mail: [EM

Re: How to retrieve an user Principal?

2006-03-16 Thread Mladen Turk
Tremal Naik wrote: 2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: JBoss getPrincipal() figures that from the request, Maybe, but it doesn't require I pass the request as an argument, It uses thread local storage. So my question follows: is there anything similar in Tomcat? Yes. Servlet spe

Re: How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: > JBoss getPrincipal() figures that from the request, Maybe, but it doesn't require I pass the request as an argument, ir returns the principal from whenever I call it in the code, simply, even in those classes which doesn't have a request variabile. It

Re: How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
2006/3/16, Caldarale, Charles R <[EMAIL PROTECTED]>: > ??? That doesn't make any sense to me. There may be may users > connected to Tomcat at any given time; if you don't get the one > corresponding to a specific request (or associated session), what do you > think you're getting? well, I don't

Re: How to retrieve an user Principal?

2006-03-16 Thread Mladen Turk
Tremal Naik wrote: Hello, how can i retrieve an user principal? I don't want to get it from the request, but directly from the underlying security framework. My application, when developed in Jboss, uses an instruction like the following: org.jboss.security.SecurityAssociation.getPrincipal();

RE: How to retrieve an user Principal?

2006-03-16 Thread Caldarale, Charles R
> From: Tremal Naik [mailto:[EMAIL PROTECTED] > Subject: How to retrieve an user Principal? > > how can i retrieve an user principal? > > I don't want to get it from the request, but directly from the > underlying security framework. ??? That doesn't make any

How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
Hello, how can i retrieve an user principal? I don't want to get it from the request, but directly from the underlying security framework. My application, when developed in Jboss, uses an instruction like the following: org.jboss.security.SecurityAssociation.getPrincipal(); Is there something s