tomcat Realm formatting

2018-03-27 Thread Frank, Jon
Hi I need to encrypt the password for tomcat console access.. I've encrypted it using the digest.sh script, and I've added it to the tomcat-users.xml file. See below...I've X'd out the actual password. I also need to edit the Realm tag in the server.xml file but there is already a Realm for

Re: Tomcat Realm/LDAP - userRoles and Organization Unit name for authenticated users

2016-12-13 Thread Christopher Schultz
ris > -Original Message- From: Felix Schumacher > [mailto:felix.schumac...@internetallee.de] Sent: Sunday, December > 04, 2016 2:17 AM To: users@tomcat.apache.org Subject: Re: Tomcat > Realm/LDAP - userRoles and Organization Unit name for authenticated > users >

Re: Tomcat Realm/LDAP - userRoles and Organization Unit name for authenticated users

2016-12-08 Thread tomcat
The first may need only some "computer account", while the second may need some "admin account" e.g. It may be messy to try to do this in the same bit of code. -Original Message----- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Sunday, December 04, 201

RE: Tomcat Realm/LDAP - userRoles and Organization Unit name for authenticated users

2016-12-05 Thread Taylor, Larry
component accesses. Any help on this is appreciated. -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Sunday, December 04, 2016 2:17 AM To: users@tomcat.apache.org Subject: Re: Tomcat Realm/LDAP - userRoles and Organization Unit name

Re: Tomcat Realm/LDAP - userRoles and Organization Unit name for authenticated users

2016-12-04 Thread Felix Schumacher
Am 04.12.2016 um 08:04 schrieb Taylor, Larry: Hello, For Users that have authenticated from the Web Login page through Tomcat Realm LDAP configuration is it possible to get the authenticated user's ou=Organizational Unit or Department name? and also what their role names are? I need

re: Tomcat Realm/LDAP - userRoles and Organization Unit name for authenticated users

2016-12-03 Thread Taylor, Larry
Hello, For Users that have authenticated from the Web Login page through Tomcat Realm LDAP configuration is it possible to get the authenticated user's ou=Organizational Unit or Department name? and also what their role names are? I need this information to pass to a servlet or jsp page

[SECURITY] CVE-2016-0762 Apache Tomcat Realm Timing Attack

2016-10-27 Thread Mark Thomas
CVE-2016-0762 Apache Tomcat Realm Timing Attack Severity: Low Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.0.M9 Apache Tomcat 8.5.0 to 8.5.4 Apache Tomcat 8.0.0.RC1 to 8.0.36 Apache Tomcat 7.0.0 to 7.0.70 Apache Tomcat 6.0.0 to 6.0.45 Earlier

Re: web.xml authentication and Tomcat Realm

2014-09-08 Thread Ja kub
...@internetallee.de] Sent: Thursday, 4 September 2014 3:29 PM To: Tomcat Users List Subject: Re: web.xml authentication and Tomcat Realm On 4. September 2014 05:35:42 MESZ, Dalecki, Janusz jdale...@tycoint.com wrote: Hi, I am just wondering whether somehow I can use web.xml login-config

RE: web.xml authentication and Tomcat Realm

2014-09-07 Thread Dalecki, Janusz
-Original Message- From: Neven Cvetkovic [mailto:neven.cvetko...@gmail.com] Sent: Friday, 5 September 2014 11:40 PM To: Tomcat Users List Subject: Re: web.xml authentication and Tomcat Realm Hey Janusz, On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz jdale...@tycoint.com wrote: Follow

Re: web.xml authentication and Tomcat Realm

2014-09-05 Thread Daniel Mikusa
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz jdale...@tycoint.com wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, 5 September 2014 12:03 AM To: Tomcat Users List Subject: Re: web.xml authentication and Tomcat Realm

Re: web.xml authentication and Tomcat Realm

2014-09-05 Thread Neven Cvetkovic
would proceed with the request (i.e. happy path). I have defined users and passwords as explained in the TOMCAT Realm Configuration – HOW TO. When I ask for a page */auth/* the user/password dialog box pops up and no matter what I type in in user name field and password field and pops up again

RE: web.xml authentication and Tomcat Realm

2014-09-04 Thread Dalecki, Janusz
-Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Thursday, 4 September 2014 3:29 PM To: Tomcat Users List Subject: Re: web.xml authentication and Tomcat Realm On 4. September 2014 05:35:42 MESZ, Dalecki, Janusz jdale...@tycoint.com wrote: Hi

Re: web.xml authentication and Tomcat Realm

2014-09-04 Thread Christopher Schultz
and Tomcat Realm On 4. September 2014 05:35:42 MESZ, Dalecki, Janusz jdale...@tycoint.com wrote: Hi, I am just wondering whether somehow I can use web.xml login-config/ to point to the Tomcat JDBC Realm that I am using. Are those two completely disjoint or I can link them together

RE: web.xml authentication and Tomcat Realm

2014-09-04 Thread Dalecki, Janusz
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, 5 September 2014 12:03 AM To: Tomcat Users List Subject: Re: web.xml authentication and Tomcat Realm -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Janusz, On 9/4/14 2:30 AM, Dalecki

web.xml authentication and Tomcat Realm

2014-09-03 Thread Dalecki, Janusz
Hi, I am just wondering whether somehow I can use web.xml login-config/ to point to the Tomcat JDBC Realm that I am using. Are those two completely disjoint or I can link them together. Regards, Janusz This e-mail contains privileged and confidential information

Re: web.xml authentication and Tomcat Realm

2014-09-03 Thread Felix Schumacher
On 4. September 2014 05:35:42 MESZ, Dalecki, Janusz jdale...@tycoint.com wrote: Hi, I am just wondering whether somehow I can use web.xml login-config/ to point to the Tomcat JDBC Realm that I am using. Are those two completely disjoint or I can link them together. They are disjoint. web.xml

Re: Getting host name inside tomcat realm implementation

2014-06-25 Thread Konstantin Kolinko
2014-06-24 21:09 GMT+04:00 Neeraj Sinha neerajsinha@gmail.com: I am using form based authentication (tomcat 7.0.34) and I have the implementation of custom realm class which extends RealmBase class. Inside the getPrincipal() method implementation, I am calling backend service to save some

Re: Getting host name inside tomcat realm implementation

2014-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 6/25/14, 5:23 AM, Konstantin Kolinko wrote: 2014-06-24 21:09 GMT+04:00 Neeraj Sinha neerajsinha@gmail.com: I am using form based authentication (tomcat 7.0.34) and I have the implementation of custom realm class which extends

Re: Getting host name inside tomcat realm implementation

2014-06-25 Thread Mark Thomas
On 25/06/2014 15:35, Christopher Schultz wrote: Konstantin, On 6/25/14, 5:23 AM, Konstantin Kolinko wrote: 2014-06-24 21:09 GMT+04:00 Neeraj Sinha neerajsinha@gmail.com: I am using form based authentication (tomcat 7.0.34) and I have the implementation of custom realm class which

Re: Getting host name inside tomcat realm implementation

2014-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/25/14, 10:39 AM, Mark Thomas wrote: On 25/06/2014 15:35, Christopher Schultz wrote: Konstantin, On 6/25/14, 5:23 AM, Konstantin Kolinko wrote: 2014-06-24 21:09 GMT+04:00 Neeraj Sinha neerajsinha@gmail.com: I am using form

Getting host name inside tomcat realm implementation

2014-06-24 Thread Neeraj Sinha
I am using form based authentication (tomcat 7.0.34) and I have the implementation of custom realm class which extends RealmBase class. Inside the getPrincipal() method implementation, I am calling backend service to save some login details. I need to pass host name to backend (I have 2

Re: Getting host name inside tomcat realm implementation

2014-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neeraj, On 6/24/14, 1:09 PM, Neeraj Sinha wrote: I am using form based authentication (tomcat 7.0.34) and I have the implementation of custom realm class which extends RealmBase class. You need to upgrade. There are security updates classified

configuring tomcat realm

2013-08-30 Thread Francesco Viscomi
Hi, I've a tomcat-users.xml file in which user Francesco should can access to http://localhost:8080/manager: I also have a server.xml that in the tag GlobalNamingResources has declared 2 resource, one is for accessing to http://localhost:8080/manager and the other is for accessing via JDBC to

Re: configuring tomcat realm

2013-08-30 Thread Sudhir Bhoga
On Fri, Aug 30, 2013 at 12:13 PM, Francesco Viscomi fvisc...@gmail.com wrote: Hi, I've a tomcat-users.xml file in which user Francesco should can access to http://localhost:8080/manager: I also have a server.xml that in the tag GlobalNamingResources has declared 2 resource, one is for

Re: configuring tomcat realm

2013-08-30 Thread Daniel Mikusa
On Aug 30, 2013, at 12:13 PM, Francesco Viscomi fvisc...@gmail.com wrote: Hi, I've a tomcat-users.xml file in which user Francesco should can access to http://localhost:8080/manager: I also have a server.xml that in the tag GlobalNamingResources has declared 2 resource, one is for

RE: configuring tomcat realm

2013-08-30 Thread Francesco Viscomi
Thanks really much. Francesco -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: venerdì 30 agosto 2013 20.20 To: Tomcat Users List Subject: Re: configuring tomcat realm On Aug 30, 2013, at 12:13 PM, Francesco Viscomi fvisc...@gmail.com wrote: Hi, I've

Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-12 Thread Tobias Gierke
Hi, -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tobias, On 6/11/13 11:20 AM, Tobias Gierke wrote: In my web app, I'd like to re-use the (server-wide) Tomcat Realm that is already being used for HTTP Basic authentication but couldn't find a way how to get hold of the actual Realm instance

Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-12 Thread Tobias Gierke
Hi Oliver, I think I now understand your issue. I was faced with a similar problem and could not figure out how to get the roles of an authenticated user through the servlet API. It seems to only allow the question 'request.isUserInRole(role)'. But does not seem to provide a way to get a

RE: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-12 Thread Tanglin, Oliver
to compile. Or are you somehow using reflection? Oliver -Original Message- From: users-return-242261-OLIVER.TANGLIN=saic@tomcat.apache.org on behalf of Tobias Gierke Sent: Wed 6/12/2013 2:12 AM To: users@tomcat.apache.org Subject: Re: Possible to expose a Tomcat Realm instance through JNDI

Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-12 Thread Tobias Gierke
not much of a hassle there. Cheers, Tobias Oliver -Original Message- From: users-return-242261-OLIVER.TANGLIN=saic@tomcat.apache.org on behalf of Tobias Gierke Sent: Wed 6/12/2013 2:12 AM To: users@tomcat.apache.org Subject: Re: Possible to expose a Tomcat Realm instance through

RE: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-12 Thread Tanglin, Oliver
. Regards, Oliver -Original Message- From: users-return-242264-OLIVER.TANGLIN=saic@tomcat.apache.org on behalf of Tobias Gierke Sent: Wed 6/12/2013 5:17 AM To: users@tomcat.apache.org Subject: Re: Possible to expose a Tomcat Realm instance through JNDI ? Hi, Thanks for posting

Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Tobias Gierke
Hi, In my web app, I'd like to re-use the (server-wide) Tomcat Realm that is already being used for HTTP Basic authentication but couldn't find a way how to get hold of the actual Realm instance. I spent quite some time looking for a solution (complicated by the fact that most Google hits

RE: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Tanglin, Oliver
within your web app? Oliver -Original Message- From: users-return-242237-OLIVER.TANGLIN=saic@tomcat.apache.org on behalf of Tobias Gierke Sent: Tue 6/11/2013 11:20 AM To: users@tomcat.apache.org Subject: Possible to expose a Tomcat Realm instance through JNDI ? Hi, In my web app

Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Tobias Gierke
-Original Message- From: users-return-242237-OLIVER.TANGLIN=saic@tomcat.apache.org on behalf of Tobias Gierke Sent: Tue 6/11/2013 11:20 AM To: users@tomcat.apache.org Subject: Possible to expose a Tomcat Realm instance through JNDI ? Hi, In my web app, I'd like to re-use the (server-wide

RE: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Tanglin, Oliver
-Original Message- From: users-return-242241-OLIVER.TANGLIN=saic@tomcat.apache.org on behalf of Tobias Gierke Sent: Tue 6/11/2013 12:07 PM To: users@tomcat.apache.org Subject: Re: Possible to expose a Tomcat Realm instance through JNDI ? Hi Oliver, I don't think there is a HTTP Basic

Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tobias, On 6/11/13 11:20 AM, Tobias Gierke wrote: In my web app, I'd like to re-use the (server-wide) Tomcat Realm that is already being used for HTTP Basic authentication but couldn't find a way how to get hold of the actual Realm instance

Re: problem with tomcat realm

2010-02-11 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A, On 2/10/2010 8:36 AM, aa wrote: When the user goes in a particular page I need to ask him a new authentication because this page needs more privileges (this page infact is only for

problem with tomcat realm

2010-02-10 Thread aaaaaa
in context: http://old.nabble.com/problem-with-tomcat-realm-tp27531257p27531257.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: problem with tomcat realm

2010-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A, On 2/10/2010 8:36 AM, aa wrote: When the user goes in a particular page I need to ask him a new authentication because this page needs more privileges (this page infact is only for administrators and in web.xml I

Re: Tomcat Realm

2010-01-20 Thread Mark Thomas
On 20/01/2010 01:38, Aihong Yin wrote: Hi, I'm using tomcat5.5. my question is: is it possible to implement a realm to identify valid users of a web application: the username and password get from LDAP directory server central, and the role of the user get from local file such as

Tomcat Realm

2010-01-19 Thread Aihong Yin
Hi, I'm using tomcat5.5. my question is: is it possible to implement a realm to identify valid users of a web application: the username and password get from LDAP directory server central, and the role of the user get from local file such as tomcat-user.xml instead. Thanks, Aihong Yin.

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-18 Thread atroiano
Thanks to Mark and Chris for all suggestions. I thing that a will follow th Chris suggestion to re-architect my session. I was attracted by this piece of code in Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem lynckmeister Wed, 11 Feb 2009 06:32:43 -0800 public class

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alberto, On 9/18/2009 7:42 AM, atroiano wrote: But seems to me that the old session non more exists at this point of the request flow. Is this true? Correct: by the time you can detect a new session, the old session is totally gone. - -chris

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread atroiano
this message in context: http://www.nabble.com/Re%3A-Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp25479941p25487080.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread Mark Thomas
atroiano wrote: Christopher Schultz-2 wrote: This is a question that you will have to answer: what information is absolutely necessary for you to resume a user interaction in-progress? Whatever that is, you'll need to include that information in every single link that a user can click on

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 9/17/2009 4:56 AM, Mark Thomas wrote: atroiano wrote: Is it possible? The way you describe? No. +1 If you want this then you have a couple of options: a) Do what Chris said and pass state back and forth in the request/response

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alberto, Please post to the list, rather than writing to me directly. On 9/16/2009 1:19 PM, atroi...@infomedica.it wrote: i' am lookng for a way to resume Tomcat timed-out sessions after a re-logon. So i found this interesting thread where you

Re: Tomcat, Realm, and context.xml

2009-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg, On 5/20/2009 6:50 AM, Greg Allen wrote: However, that exposes a timing issue which I'm not sure how to solve. I embedded ApacheDS in my web application by implementing ServletContextListener so that it starts on contextInitialized and

RE: Tomcat, Realm, and context.xml

2009-05-20 Thread Greg Allen
Thanks Chuck! Do you happen to have a conf/Catalina/[host]/test.xml file? If so, it will override the one in the webapp's META-INF/context.xml, causing your Realm to be ignored. This was the problem. I modified that one and it is now using the JNDIRealm. However, that exposes a timing

RE: Tomcat, Realm, and context.xml

2009-05-19 Thread Greg Allen
: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, May 18, 2009 3:06 PM To: Tomcat Users List Subject: Re: Tomcat, Realm, and context.xml Greg Allen wrote: I am trying to use ApacheDS 1.5 with Tomcat 5.5.17. Try a later version. You may be hitting multiple bugs that have since been fixed. Now

RE: Tomcat, Realm, and context.xml

2009-05-19 Thread Caldarale, Charles R
From: Greg Allen [mailto:gregory.al...@sierraatlantic.com] Subject: RE: Tomcat, Realm, and context.xml I have set up my realm in my webapp's META-INF directory, like this: Context path=/test reloadable=false Take out the path attribute; it's not allowed. Where is your webapp deployed

Re: Tomcat, Realm, and context.xml

2009-05-18 Thread Mark Thomas
Greg Allen wrote: I am trying to use ApacheDS 1.5 with Tomcat 5.5.17. Try a later version. You may be hitting multiple bugs that have since been fixed. Now this really confuses me. Why is it using JAASRealm? That's not configured The JAAS Realm is the default Realm Tomcat falls back to if

Tomcat, Realm, and context.xml

2009-05-17 Thread Greg Allen
I am trying to use ApacheDS 1.5 with Tomcat 5.5.17. I first set up ApacheDS as a standalone appliation and set up the following Realm in the Tomcat server.xml file: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionName=uid=admin,ou=system

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Please keep all discussions on the list. On 2/11/2009 8:08 AM, lync...@gmx.de wrote: First, I did what you suggested and set a Key value pair in the session map. in the login phase im trying to read this value to see if the user is coming

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread lynckmeister
-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint-- /security-role /web-app thank again for reading all the stuff chris , cheers filip -- View this message in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
To the OP: If you can hold it for a while: I'll be on the Hackation during the ApacheConEurope in March and will provide a small piece of code there, whis is basically a LoginValve doing the following: - You can customize the url Tomcat shall call if authentication times out - Since a valve can

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 2/11/2009 9:32 AM, lynckmeister wrote: Exactly where? Im writing this in a Sigelton bean wich is initialized via spring with the postconstruct paramenter. it seems that this is to late, what do you suggest ? maybe a special filter

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread lynckmeister
in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21957555.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread lynckmeister
in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21957617.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
On Wed, Feb 11, 2009 at 4:43 PM, lynckmeister lync...@gmx.de wrote: Hi Gregor, I didnt get it. Your writing a peace of code wich lets me custmize the url or page wich is called if a sessiontimeout occurs? Nope. What the Valve does, ist the following: If a session times out, usually nothing

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 2/11/2009 10:40 AM, lynckmeister wrote: SessionScope.get(String, ObjectFactory) line: 90 DefaultListableBeanFactory(AbstractBeanFactory).doGetBean(String, Class, Object[], boolean) line: 298

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 2/11/2009 10:17 AM, Gregor Schneider wrote: I'll be on the Hackation during the ApacheConEurope in March and will provide a small piece of code there, whis is basically a LoginValve doing the following: - You can customize the url

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
Chris, On Wed, Feb 11, 2009 at 5:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Note that securityfilter implements the feature you describe, though it is separate from Tomcat's container-managed authentication and authorization.

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 2/11/2009 12:13 PM, Gregor Schneider wrote: I very well know this, however, SecurityFilter for me (or our specific situation here) has a showstopper since it does not support Tomcat's SingleSignOn-feature, if I'm not mistaken. If I

Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-10 Thread lynckmeister
this behave, fe that the realm just leds me to the login page and nothing more ? thanks a lot for help !! Filip -- View this message in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21938671.html Sent from the Tomcat - User mailing list archive

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lynckmeister, On 2/10/2009 12:34 PM, lynckmeister wrote: i have the problem that if my session timeouts i 've been redirected to the loginpage ( from the secured area). If i relogin in i get some null-pointer exceptions in my application ( first

TomCat realm cmd properties

2008-10-16 Thread Denis Orlov
Hello I'm trying to use TomCat realm option and I would like to pass parameter into realm tag. Could I do it? I use next realm tag: Realm className=org.apache.catalina.realm.JNDIRealm .. connectionURL=${connection.url} .. / But when I try to start TomCat I see next

[ANN] security component 1.0-beta (incl tomcat realm)

2006-10-18 Thread Nathan Coast
web-apps. * tomcat realm jar. * group role based jsp taglibs. * client api for programmatic security. * sql installation scripts. * servlet demo application. * struts demo application. All documentation can be found here: http://wiki.codeczar.com/index.php/security the demo admin interface and demo

Re: Retrieving tomcat realm from org.apache.catalina.Server object

2006-10-13 Thread Li
] wrote: Hello, I would like to retrieve the tomcat realm object from the Server object. Below is the code snippet I use ... __ Server server = ServerFactory.getServer(); Service service = server.findService(Catalina); Engine engine = (Engine) service.getContainer(); //engine.getRealm

Re: Retrieving tomcat realm from org.apache.catalina.Server object

2006-10-13 Thread Sathija Pavuluri
if still null ... On 10/13/06, Sathija Pavuluri [EMAIL PROTECTED] wrote: Hello, I would like to retrieve the tomcat realm object from the Server object. Below is the code snippet I use ... __ Server server = ServerFactory.getServer(); Service service = server.findService

Re: Retrieving tomcat realm from org.apache.catalina.Server object

2006-10-13 Thread Li
service. try to use findServices() and get first service of the service array and see if still null ... On 10/13/06, Sathija Pavuluri [EMAIL PROTECTED] wrote: Hello, I would like to retrieve the tomcat realm object from the Server object. Below is the code snippet I use

Re: Retrieving tomcat realm from org.apache.catalina.Server object

2006-10-13 Thread Sathija Pavuluri
. But my server.xml does define a Catalina service. try to use findServices() and get first service of the service array and see if still null ... On 10/13/06, Sathija Pavuluri [EMAIL PROTECTED] wrote: Hello, I would like to retrieve the tomcat realm object from the Server object

Re: Retrieving tomcat realm from org.apache.catalina.Server object

2006-10-13 Thread Li
of the service array and see if still null ... On 10/13/06, Sathija Pavuluri [EMAIL PROTECTED] wrote: Hello, I would like to retrieve the tomcat realm object from the Server object. Below is the code snippet I use ... __ Server server = ServerFactory.getServer

Re: Retrieving tomcat realm from org.apache.catalina.Server object

2006-10-13 Thread Sathija Pavuluri
a Catalina service. try to use findServices() and get first service of the service array and see if still null ... On 10/13/06, Sathija Pavuluri [EMAIL PROTECTED] wrote: Hello, I would like to retrieve the tomcat realm object from the Server object. Below is the code

Re: Retrieving tomcat realm from org.apache.catalina.Server object

2006-10-13 Thread Li
, I would like to retrieve the tomcat realm object from the Server object. Below is the code snippet I use ... __ Server server = ServerFactory.getServer(); Service service = server.findService(Catalina); Engine engine = (Engine) service.getContainer

Re: Retrieving tomcat realm from org.apache.catalina.Server object

2006-10-13 Thread Sathija Pavuluri
PROTECTED] wrote: Hello, I would like to retrieve the tomcat realm object from the Server object. Below is the code snippet I use ... __ Server server = ServerFactory.getServer(); Service service = server.findService(Catalina); Engine

multiple Tomcat realm

2006-03-22 Thread Colin . Lew
Hi all, We are currently using the JNDIRealm in Tomcat to allow user to connect through LDAP. all users with the userBase attribute OU=Internal can log in. However, we also have a OU=External, which are unable to get authenticated. Is there any way we can have multiple Tomcat realm? or any

tomcat realm with digest password configuration help

2006-01-20 Thread philguillard
Hi, I use tomcat-5.5.12, a Realm in memory, and decided a DIGEST password with MD5, i use firefox 1.0.6. I can't pass the authentication. Have nothing in logs. Any idea for what i missed there or what i should try? Regards, Phil In conf/server.xml : Realm

Re: tomcat realm with digest password configuration help

2006-01-20 Thread Mark Thomas
philguillard wrote: Realm className=org.apache.catalina.realm.MemoryRealm debug=2 digest=MD5/ login-config !--auth-methodBASIC/auth-method-- auth-methodDIGEST/auth-method realm-nameProtected area/realm-name /login-config You are using DIGEST authentication AND digested passwords. You