Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-24 Thread Mark Thomas
On 24/11/2021 08:06, Mark Thomas wrote: On 23/11/2021 20:42, Michael B Allen wrote: On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: Short Addendum: The "destroyed" flag gets set, when the dispose-method of the GSSCredentialImpl was invoked. Currently, I have no clu

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-24 Thread Mark Thomas
On 23/11/2021 20:42, Michael B Allen wrote: On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: Short Addendum: The "destroyed" flag gets set, when the dispose-method of the GSSCredentialImpl was invoked. Currently, I have no clue when and how it happens, but I have see

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > > Short Addendum: > > The "destroyed" flag gets set, when the dispose-method of the > GSSCredentialImpl was invoked. > Currently, I have no clue when and how it happens, but I have seen this > problem every few months. >

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
On Mon, Nov 22, 2021 at 2:39 AM Thomas Hoffmann (Speed4Trade GmbH) wrote: > Would it be better to also catch IllegalStateException and instead of > checking left == 0 to change it to left <= 0 ? I would argue that this is a bug in JGSS. JGSS has been a comedy of errors over the years. I thought

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-22 Thread Mark Thomas
On 22/11/2021 07:38, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, we are using apache-tomcat-9.0.54 with LDAP authentication under Windows 2012R2. One of the user complained that access with Firefox stopped working. Would it be better to also catch IllegalStateException and instead of ch

Re: Authentication Memcached + Tomcat

2014-11-03 Thread Nilson Uehara
2014-11-02 4:34 GMT-02:00 Igor Cicimov : > On 01/11/2014 6:52 AM, "Nilson Uehara" wrote: > > > > I'm testing Memcached to implement failover on my Tomcat servers. > > > > Is there any way of implementing security by user / password? > From what I can see here > > https://code.google.com/p/memcach

Re: Authentication Memcached + Tomcat

2014-11-01 Thread Igor Cicimov
On 01/11/2014 6:52 AM, "Nilson Uehara" wrote: > > I'm testing Memcached to implement failover on my Tomcat servers. > > Is there any way of implementing security by user / password? >From what I can see here https://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration the instruc

Re: Authentication Memcached + Tomcat

2014-11-01 Thread Daniel Mikusa
On Nov 1, 2014 10:31 AM, "Nilson Uehara" wrote: > > Dan, > I'm trying to implement Memcached with SASL authentication > > https://code.google.com/p/memcached/wiki/SASLHowto > > But I can not get Tomcat to connect to it > > Nilson Uehara Please don't top post. Reply inline or at the bottom. It is

Re: Authentication Memcached + Tomcat

2014-11-01 Thread Nilson Uehara
Dan, I'm trying to implement Memcached with SASL authentication https://code.google.com/p/memcached/wiki/SASLHowto But I can not get Tomcat to connect to it Nilson Uehara 2014-10-31 18:18 GMT-02:00 Daniel Mikusa : > On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara > wrote: > > > I'm testing Mem

Re: Authentication Memcached + Tomcat

2014-10-31 Thread Daniel Mikusa
On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara wrote: > I'm testing Memcached to implement failover on my Tomcat servers. > > Is there any way of implementing security by user / password? > Can you clarify this request? Are these two separate thoughts, or is memcached somehow related to the sec

Re: Authentication Memcached + Tomcat

2014-10-31 Thread André Warnier
Nilson Uehara wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? Probably. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Authentication from a REST service

2013-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/29/13 12:30 PM, Martin O'Shea wrote: > Sorry Chris, I'm not sure what I'm looking for here. Can you > elaborate? Just read the whole page: >> Container-provided authentication can be done without writing any >> code at all: >> >> htt

RE: Authentication from a REST service

2013-07-29 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Authentication from a REST service > Sorry Chris, I'm not sure what I'm looking for here. Can you elaborate? Don't top-post; it makes the conversation impossible to follow. Step 1: read the securit

RE: Authentication from a REST service

2013-07-29 Thread Martin O'Shea
Sorry Chris, I'm not sure what I'm looking for here. Can you elaborate? -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 29 Jul 2013 17 21 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGN

Re: Authentication from a REST service

2013-07-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/28/13 10:40 AM, Martin O'Shea wrote: > Have you an example at all? > > At the moment, I've simply rigged a simple authentication method of > my own . Have you a code example of container-provided > authentication system, or could you r

RE: Authentication from a REST service

2013-07-28 Thread Martin O'Shea
er Schultz [mailto:ch...@christopherschultz.net] Sent: 28 Jul 2013 15 37 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/27/13 12:00 PM, Martin O'Shea wrote: > Are there any suggestions if I'm not using ser

Re: Authentication from a REST service

2013-07-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/27/13 12:00 PM, Martin O'Shea wrote: > Are there any suggestions if I'm not using servlet 3? Any reason the container-provided authentication system (e.g. HTTP BASIC) isn't acceptable? - -chris -BEGIN PGP SIGNATURE- Version: G

RE: Authentication from a REST service

2013-07-27 Thread Martin O'Shea
Are there any suggestions if I'm not using servlet 3? -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Jul 2013 18 52 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 M

RE: Authentication from a REST service

2013-07-18 Thread Martin O'Shea
Chris I'm checking this with Jersey. Thanks Martin O'Shea. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Jul 2013 18 52 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGNED MESSAGE- Ha

Re: Authentication from a REST service

2013-07-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/18/13 1:08 PM, Martin O'Shea wrote: > OK. So let me see if I understand what you’re suggesting: I > already have client and server communicating with each other by > sending XML requests via Jersey with a servlet implemented in > web.xm

RE: Authentication from a REST service

2013-07-18 Thread Martin O'Shea
/*. This filter can then call HttpServletRequest.login? -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Jul 2013 15 39 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On

Re: Authentication from a REST service

2013-07-18 Thread André Warnier
Martin O'Shea wrote: Chris It's a case of considering options at the moment. It doesn't matter too much about the actual expiration time of the session. But a question arises concerning use of a realm: if I have the following code in a realm in context.xml for existing browser-based logging i

Re: Authentication from a REST service

2013-07-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/18/13 10:32 AM, Martin O'Shea wrote: > It's a case of considering options at the moment. It doesn't matter > too much about the actual expiration time of the session. But a > question arises concerning use of a realm: if I have the foll

RE: Authentication from a REST service

2013-07-18 Thread Martin O'Shea
it be used also for the REST service? And would a servlet be required to handle authentication? Thanks Martin O'Shea. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Jul 2013 15 05 To: Tomcat Users List Subject: Re: Authentication from

Re: Authentication from a REST service

2013-07-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/18/13 5:34 AM, Martin O'Shea wrote: > I am in the process of setting up a web service between an android > app and Tomcat 6.0.26 implemented with Jersey. I already have > client and server communicating with each other by sending XML >

RE: Authentication from a REST service

2013-07-18 Thread Martin O'Shea
Thanks Andre. I have already done so. I thought to ask it on both just in case. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 18 Jul 2013 14 16 To: Tomcat Users List Subject: Re: Authentication from a REST service Martin O'Shea wrote: > Hello > >

Re: Authentication from a REST service

2013-07-18 Thread André Warnier
Martin O'Shea wrote: Hello I am in the process of setting up a web service between an android app and Tomcat 6.0.26 implemented with Jersey. I already have client and server communicating with each other by sending XML requests. But I would like the user of the client to be authenticated by

Re: Authentication and roles (RFE)

2010-12-17 Thread Pid
On 17/12/2010 08:27, Mark Thomas wrote: > On 17/12/2010 07:36, Pid * wrote: >> On 17 Dec 2010, at 00:37, Steve Mitchell wrote: >> >>> I would like my Tomcat instance to authenticate different roles >>> differently. E.g., admins must use SSL client auth, while regular users >>> use HTTP basic au

Re: Authentication and roles (RFE)

2010-12-17 Thread Mark Thomas
On 17/12/2010 07:36, Pid * wrote: > On 17 Dec 2010, at 00:37, Steve Mitchell wrote: > >> I would like my Tomcat instance to authenticate different roles differently. >> E.g., admins must use SSL client auth, while regular users use HTTP basic >> authentication over SSL. This seems like a rout

Re: Authentication and roles (RFE)

2010-12-16 Thread Pid *
On 17 Dec 2010, at 00:37, Steve Mitchell wrote: > I would like my Tomcat instance to authenticate different roles differently. > E.g., admins must use SSL client auth, while regular users use HTTP basic > authentication over SSL. This seems like a routine requirement, but it's > unsupported

Re: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread long hong
untName" property. I changed this to "CN={0}" and "userPrincipalName={0}" and also failed to pass the authentication. On Nov 30, 2010, at 12:29 PM, Caldarale, Charles R wrote: >> From: long hong [mailto:longhong1...@gmail.com] >> Subject: Re: authentication

RE: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread Caldarale, Charles R
> From: long hong [mailto:longhong1...@gmail.com] > Subject: Re: authentication fail (JNDI Realm with Tomcat ) > the web root context of my web app is "/fs". As I suspected. Again, remove the /fs from the ; the webapp name is never part of any in web.xml. - Chuck THI

Re: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread long hong
Sorry for not mention this: well, the web root context of my web app is "/fs". My login pages are in webcontent/login(equals to /fs/login). I just used the /security/protected/*.jsp from tomcat examples. The source code of the login page is: Login Page for Examples Username

RE: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread Caldarale, Charles R
> From: long hong [mailto:longhong1...@gmail.com] > Subject: authentication fail (JNDI Realm with Tomcat ) > > > Entire Application > /fs/* You probably want just /* in the above ; what you have now protects only the path /fs *under* your webapp. (Either that, or your is very wro

Re: Authentication of proxy over own module

2010-06-17 Thread Petr Hracek
Sorry I have posted to the wrong conference. Add the end of this mail youc can find where I have a problem? 2010/6/17 Pid > On 16/06/2010 10:08, Petr Hracek wrote: > > Sorry my wrong explanation. I have ment the when the request is > > authorized/authenticated by my module how the request should

Re: Authentication of proxy over own module

2010-06-16 Thread Pid
On 16/06/2010 10:08, Petr Hracek wrote: > Sorry my wrong explanation. I have ment the when the request is > authorized/authenticated by my module how the request should be sent to the > "proxy" IP address define in apache module: > > RewriteRule ^/PAC$ http://192.168.0.23:8080/PACAdmin [P] > Rewri

Re: Authentication of proxy over own module

2010-06-16 Thread Petr Hracek
Sorry my wrong explanation. I have ment the when the request is authorized/authenticated by my module how the request should be sent to the "proxy" IP address define in apache module: RewriteRule ^/PAC$ http://192.168.0.23:8080/PACAdmin [P] RewriteRule ^/PAC/(.*) http://192.168.0.23:8080/PACAdmin/

Re: Authentication without Authorization ( JNDI Realm ) - Resolved

2009-12-09 Thread Shashank Rachamalla
n seems to fail ( error 403 > forbidden ) > > Regards > Shashank > > > On Wed, 2009-12-02 at 19:16 -0800, Robert Koberg wrote: > > On Dec 2, 2009, at 6:01 PM, Christopher Schultz wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Ha

Re: Authentication without Authorization ( JNDI Realm )

2009-12-04 Thread Shashank Rachamalla
( error 403 forbidden ) Regards Shashank On Wed, 2009-12-02 at 19:16 -0800, Robert Koberg wrote: > On Dec 2, 2009, at 6:01 PM, Christopher Schultz wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Chuck, > > > > On 12/2/2009 5:15

Re: Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread Robert Koberg
On Dec 2, 2009, at 6:01 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chuck, > > On 12/2/2009 5:15 PM, Caldarale, Charles R wrote: >>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>> Subject: Re:

Re: Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 12/2/2009 5:15 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Authentication without Authorization ( JNDI Realm ) >> >> Technically spe

RE: Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Authentication without Authorization ( JNDI Realm ) > > Technically speaking, this will require authentication but then let > anyone holding any role defined in web.xml to access any page on your &

Re: Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shashank, On 12/2/2009 10:48 AM, shashank@wipro.com wrote: > Is there any way to use a Realm only for authentication and disable > authorization ( do not check for roles ) ? If you are using Tomcat's container-managed authentication and authoriza

Re: Authentication from the browser

2009-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec, On 6/3/2009 12:25 PM, Alec Swan wrote: > Bill, thank you for your feedback. I read up on CLIENT-CERT and am now > surprised that Bill was the only one to mention it. It sounds like > CLIENT-CERT is the scheme that we should. We can generate cert

Re: Authentication from the browser

2009-06-03 Thread Alec Swan
Bill, thank you for your feedback. I read up on CLIENT-CERT and am now surprised that Bill was the only one to mention it. It sounds like CLIENT-CERT is the scheme that we should. We can generate certificates and ask our customer to distribute it to its users and have them install certificates in t

Re: Authentication from the browser

2009-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec, On 6/2/2009 6:08 PM, Alec Swan wrote: >> ? You can't put HTTP headers "in" a link, unless you're processing >> it through some proxy mechanism... >> > > Looks like the last SecurityFilter build was released on Dec. 14, > 2004, which makes me

Re: Authentication from the browser

2009-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec, On 6/2/2009 2:03 PM, Alec Swan wrote: > Hassan, I don't think that the goals are contradictory, because each goal > applies to its own group of users: our customer users and everybody else. > Customer users should not have to enter user name and

Re: Authentication from the browser

2009-06-02 Thread Bill Barker
"Alec Swan" wrote in message news:34abb48b0906021503t158542a5ube612b5ccfad0...@mail.gmail.com... > On Tue, Jun 2, 2009 at 2:34 PM, Jonathan Mast > wrote: > >> Alec, so basically members of your client company should be able to have >> direct access to a servlet that is otherwise restricted to a

RE: Authentication from the browser

2009-06-02 Thread Martin Gainty
ie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. >

Re: Authentication from the browser

2009-06-02 Thread Alec Swan
> > ? You can't put HTTP headers "in" a link, unless you're processing > it through some proxy mechanism... > Looks like the last SecurityFilter build was released on Dec. 14, 2004, which makes me hesitant to use it. I am wondering if it is possible to use JavaScript to include the user name and

Re: Authentication from the browser

2009-06-02 Thread Alec Swan
On Tue, Jun 2, 2009 at 2:34 PM, Jonathan Mast wrote: > Alec, so basically members of your client company should be able to have > direct access to a servlet that is otherwise restricted to a handful of > users who must authenicate themselves with a username/password login, > right? > Yes, this is

Re: Authentication from the browser

2009-06-02 Thread Hassan Schroeder
On Tue, Jun 2, 2009 at 1:01 PM, Alec Swan wrote: > We have one corporate customer who is putting a link to our servlet on their > intranet web page. Therefore, we know the domain name of the users who need > custom authentication. Seems iffy -- none of these users will ever be working remotely a

Re: Authentication from the browser

2009-06-02 Thread Jonathan Mast
Alec, so basically members of your client company should be able to have direct access to a servlet that is otherwise restricted to a handful of users who must authenicate themselves with a username/password login, right? One solution to this situation would be to create a simple servlet that snif

Re: Authentication from the browser

2009-06-02 Thread Alec Swan
I may not be explaining it clearly. We have one corporate customer who is putting a link to our servlet on their intranet web page. Therefore, we know the domain name of the users who need custom authentication. We can also tell the customer to put whatever we need in the link, such as HTTP header

Re: Authentication from the browser

2009-06-02 Thread Hassan Schroeder
On Tue, Jun 2, 2009 at 11:03 AM, Alec Swan wrote: > Hassan, I don't think that the goals are contradictory, because each goal > applies to its own group of users: our customer users and everybody else. > Customer users should not have to enter user name and password, but > everybody else should.

Re: Authentication from the browser

2009-06-02 Thread Alec Swan
Hassan, I don't think that the goals are contradictory, because each goal applies to its own group of users: our customer users and everybody else. Customer users should not have to enter user name and password, but everybody else should. Also, in general it is possible to authenticate a user with

Re: Authentication from the browser

2009-06-02 Thread Hassan Schroeder
On Tue, Jun 2, 2009 at 10:22 AM, Alec Swan wrote: > We would also like to continue using the existing authentication mechanism. > So, the question is how can we ... allow authentication to happen > without requiring the end-user to type in the user name and password? Your goals seem contradicto

Re: Authentication behaviour

2008-10-10 Thread Maurizio Lotauro
On 9 Oct 2008 at 14:16, Christopher Schultz wrote: > Maurizio, Christopher, > Maurizio Lotauro wrote: > > On 6 Oct 2008 at 14:58, Christopher Schultz wrote: [...] > If you are writing network code, you need to handle disconnects at > any time. This is handled, but in that case there is no nee

Re: Authentication behaviour

2008-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maurizio, Maurizio Lotauro wrote: > On 6 Oct 2008 at 14:58, Christopher Schultz wrote: >> Is it a problem to get this 401 before the request is complete? > > In my case it was a problem because the receive of the server response > trigger an "end of

Re: Authentication behaviour

2008-10-08 Thread Maurizio Lotauro
On 6 Oct 2008 at 14:58, Christopher Schultz wrote: > Maurizio, Christofer, > Maurizio Lotauro wrote: > > I already read this rfc and now I have read it again, but I'm > unable to found where it > > describe that the server can answer with 401 before the client has > finished to send all data.

Re: Authentication behaviour

2008-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maurizio, Maurizio Lotauro wrote: > I already read this rfc and now I have read it again, but I'm unable to found > where it > describe that the server can answer with 401 before the client has finished > to send all data. There's nothing that sa

RE: Authentication behaviour

2008-10-01 Thread Maurizio Lotauro
On 30 Sep 2008 at 18:27, Caldarale, Charles R wrote: > > From: Maurizio Lotauro > > [mailto:[EMAIL PROTECTED] > > Subject: Authentication behaviour > > > > The server answers with 401 before it has received the > > whole content send from client. In fact it seems that > > the answer become right a

RE: Authentication behaviour

2008-09-30 Thread Caldarale, Charles R
> From: Maurizio Lotauro > [mailto:[EMAIL PROTECTED] > Subject: Authentication behaviour > > The server answers with 401 before it has received the > whole content send from client. In fact it seems that > the answer become right after the server has received > the http header. Looks proper to me

Re: Authentication Issues

2008-08-26 Thread Mark Thomas
Erik Rumppe wrote: > For right now I am using BASIC authentication. There are 3 roles > defined in the tomcat-users.xml file. To access different areas of my > application requires different levels of roles. I want my users to be > able to click on a link and if they don't meet the role requirem

RE: authentication

2008-04-19 Thread Caldarale, Charles R
> From: Kev Sout [mailto:[EMAIL PROTECTED] > Subject: authentication > > I have authentication working in my Engine using a JNDIRealm. > However, I now need to look in two places (ldap directories > in this case) for users. You could use JAASRealm, since JAAS allows multiple authentications in

Re: Authentication and authorization questions

2007-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean, jmuller wrote: > I've written my own DataSourceRealm that overwrite Tomcat's one, and put the > jar in server/lib. > It only overwrites the getRoles() method to change the SQL statement. See > source here: http://www.nabble.com/file/p12820411/D

Re: Authentication and authorization questions

2007-09-21 Thread jmuller
: > > possible OpenSessionInViewFilter problem > which version hibernate are you implementing with? > > M-- > - Original Message - > From: "jmuller" <[EMAIL PROTECTED]> > To: > Sent: Friday, September 21, 2007 9:14 AM > Subject: Re: Authentication and auth

Re: Authentication and authorization questions

2007-09-21 Thread Martin Gainty
possible OpenSessionInViewFilter problem which version hibernate are you implementing with? M-- - Original Message - From: "jmuller" <[EMAIL PROTECTED]> To: Sent: Friday, September 21, 2007 9:14 AM Subject: Re: Authentication and authorization questions > > &

Re: Authentication and authorization questions

2007-09-21 Thread jmuller
Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > ... >> How can you use JDBCRealm or DataSourceRealm with [numeric] foreign keys >> from roles >> table to user table, rather than requiring the roles table to duplicate >> whatever field (e.g. username, email address) will act

Re: Authentication and authorization questions

2007-08-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lb, lightbulb432 wrote: > But if the login and login-error pages are the same page (meaning > that when someone fails an access check they get redirected to the > login-error page, which is actually the login page where they must > re-enter their cred

Re: Authentication and authorization questions

2007-08-29 Thread lightbulb432
Great response. Follow-up questions below: Christopher Schultz-2 wrote: > When you login using form-based authentication, where invalid login > attempts >> redirect to the "form-error-page", how do you add a custom message to >> that >> page saying "Login Failed"? I ask because common practice i

Re: Authentication and authorization questions

2007-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lb, lightbulb432 wrote: > Where does Tomcat authentication fit into the request processing lifecycle? > Does it happen before even the very first filter gets called? Yes. It's implemented as a Valve that runs before any of your code gets a chance to

Re: Authentication and authorization questions

2007-08-29 Thread Glenn McCall
Below... I hope it helps Glenn Mc - Original Message - From: "lightbulb432" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 29, 2007 2:33 PM Subject: Authentication and authorization questions I have several questions about authentication and authorization in Tomcat below, so an

RE: authentication security constraint error

2007-02-22 Thread Propes, Barry L [GCG-NAOT]
o: Tomcat Users List Subject: RE: authentication security constraint error > From: Propes, Barry L [GCG-NAOT] > [mailto:[EMAIL PROTECTED] > Subject: RE: authentication security constraint error > > Yeah, I had them in there. Are they in the right order relative to the other el

RE: authentication security constraint error

2007-02-21 Thread Propes, Barry L [GCG-NAOT]
now I'll double check that part. That could be an issue. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 5:35 PM To: Tomcat Users List Subject: RE: authentication security constraint error > From: Propes, Barry L [

RE: authentication security constraint error

2007-02-21 Thread Caldarale, Charles R
> From: Propes, Barry L [GCG-NAOT] > [mailto:[EMAIL PROTECTED] > Subject: RE: authentication security constraint error > > Yeah, I had them in there. Are they in the right order relative to the other elements? The schema is rather picky about how things are arranged. The we

RE: authentication security constraint error

2007-02-21 Thread Propes, Barry L [GCG-NAOT]
Yeah, I had them in there. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 5:02 PM To: Tomcat Users List Subject: RE: authentication security constraint error > From: Propes, Barry L [GCG-NAOT] > [mailto:[EMAIL PRO

RE: authentication security constraint error

2007-02-21 Thread Propes, Barry L [GCG-NAOT]
ok, thanks, Chuck. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 5:02 PM To: Tomcat Users List Subject: RE: authentication security constraint error > From: Propes, Barry L [GCG-NAOT] > [mailto:[EMAIL PROTECTED] >

RE: authentication security constraint error

2007-02-21 Thread Caldarale, Charles R
> From: Propes, Barry L [GCG-NAOT] > [mailto:[EMAIL PROTECTED] > Subject: authentication security constraint error > > However, when I added info in my server.xml file to try and > attempt DBCP, I get a warning in my logs about something > being defined in in an auth-constraint without being

RE: authentication using active directory

2007-02-02 Thread Deepan
On Fri, 2007-02-02 at 09:37 +0100, David Rodríguez Fernández wrote: > Can tomcat read the file login.html? I think this is a permissions problem. > I am using BASIC mode of authentication. It works. > -Mensaje original- > De: Deepan [mailto:[EMAIL PROTECTED] > Enviado el: viernes, 26

RE: authentication using active directory

2007-02-02 Thread David Rodríguez Fernández
Can tomcat read the file login.html? I think this is a permissions problem. -Mensaje original- De: Deepan [mailto:[EMAIL PROTECTED] Enviado el: viernes, 26 de enero de 2007 8:22 Para: Tomcat Users List Asunto: authentication using active directory Hi, I am trying to authenticate using A

RE: authentication using active directory

2007-01-27 Thread Deepan
On Fri, 2007-01-26 at 11:09 -0500, Propes, Barry L [GCG-NAOT] wrote: > you have to use the usernames and passwords as j_username and j_password. You > didn't try to change that did you? > I had just switched to Basic authentication mode. Will update username and password to j_username and j_pass

RE: authentication using active directory

2007-01-26 Thread Propes, Barry L [GCG-NAOT]
you have to use the usernames and passwords as j_username and j_password. You didn't try to change that did you? -Original Message- From: Deepan [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007 1:22 AM To: Tomcat Users List Subject: authentication using active directory Hi, I a

Re: authentication using active directory

2007-01-26 Thread Tim Funk
Most likely - you need to remove /gridsphere from your login config -Tim Deepan wrote: Hi, I am trying to authenticate using Active directory for one my application in tomcat. ( I have only one application deployed in tomcat). I had configured server.xml and web.xml to use /gridsphere/login

Re: Authentication Problem

2006-10-09 Thread Christopher Schultz
Nathan, >> One question: if you a user who needs access to both resources, why are >> they not associated with both roles? That's the general [way] to do >> authorization. > > Well... To be honest we are still in the process of developing use cases > for our user authentication. It may well be th

Re: Authentication Problem

2006-10-09 Thread Nathan Potter
On Oct 9, 2006, at 11:20 AM, Christopher Schultz wrote: Nathan, I am using Tomcat 5.5. I would like to be able to specify different authentication rules for different url patterns within my web application. [snip] However, if I try it with a browser, once I authenticate for one URI, then

Re: Authentication Problem

2006-10-09 Thread Christopher Schultz
Nathan, > I am using Tomcat 5.5. I would like to be able to specify different > authentication rules for different url patterns within my web > application. [snip] > However, if I try it with a browser, once I authenticate for one URI, > then I am locked out of the other one until I successfully

Re: Authentication using client certificate in smart card

2006-08-17 Thread Mark Thomas
Walter do Valle wrote: > Any help is welcome. For the cert that isn't listed, it is likely that the root CA for that cert is not known in your Java environment. Take a look at JAVA_HOME\jre\lib\security\cacerts with keytool. Mark --

Re: Authentication problem -> request.getRemoteUser() returns null

2006-07-04 Thread David Smith
The connector receiving requests from httpd needs the attribute tomcatAuthentication set to "false" in server.xml. Otherwise tomcat will ignore the REMOTE-USER header provided by httpd. -- David Oliver Enders wrote: Hy, I have the following constelation: Windows XP Apache 2.0.58 Tomcat 4.1

Re: authentication problem deploying app to tomcat via ant

2006-06-13 Thread Anne Wilson
D'oh! Turns out that the ant script (which I inherited - a minor excuse) was importing a properties file that set the very same properties I tried to define in the script, e.g., "tomcat.manager.username". Great minds name alike, I guess. Properties being immutable, my changes were ignored.

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Garey Mills
Mark - Thanks for the pointers. I ended up picking up code from the Tomcat source of org.apache.catalina.ant.AbstractTask and using that to do Basic Authentication. I've got it working now. Garey Mills Library Systems Office UC Berkeley The brain is not where you think On Tue, 18 Apr

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Mark Thomas
Garey Mills wrote: > Mark - > > I have looked at the manager app how-to, and it doesn't describe > how connect from a script. I have this > > > private static String stop = > "http://myhost:8080/manager/stop?path=/

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Garey Mills
Mark - I have looked at the manager app how-to, and it doesn't describe how connect from a script. I have this private static String stop = "http://myhost:8080/manager/stop?path=/myapp";; public static void

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Mark Thomas
Marc Farrow wrote: > You have to use the webdav application provide from tomcat. Check under > $tomcat_home/webapps/webdav/web.xml. there is a line commented out that > states some property of read-only = false. by default it is read-only and > you have to manually turn it on. What on earth has

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Marc Farrow
You have to use the webdav application provide from tomcat. Check under $tomcat_home/webapps/webdav/web.xml. there is a line commented out that states some property of read-only = false. by default it is read-only and you have to manually turn it on. On 4/18/06, Garey Mills <[EMAIL PROTECTED]

Re: Authentication crisis

2006-01-30 Thread Luis Gervaso
the real problem is that we can't do anything before or after authentication using a filter solve this problem with url pattern j_securty_check but this is avoided because this authentication method "must be" equal basic authentication? this makes real authentication scenarios where we need crea