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 Loc

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

2016-12-13 Thread Christopher Schultz
at helps, - -chris > -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 &g

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

2016-12-08 Thread tomcat
y 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 for

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

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

[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
ge- 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, Janu

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 wrote: Follow the link Chris

Re: web.xml authentication and Tomcat Realm

2014-09-05 Thread Neven Cvetkovic
IN role in order to get to the resources ("/auth/*" pages). If they don't have required role - the server would return 403 (Forbidden) page. If they do have the required role - the server would proceed with the request (i.e. happy path). > I have defined users and passwords as expl

Re: web.xml authentication and Tomcat Realm

2014-09-05 Thread Daniel Mikusa
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz 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 Rea

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

Re: web.xml authentication and Tomcat Realm

2014-09-04 Thread Christopher Schultz
: web.xml > authentication and Tomcat Realm > > > >> On 4. September 2014 05:35:42 MESZ, "Dalecki, Janusz" >> wrote: >>> Hi, I am just wondering whether somehow I can use web.xml >>> to point to the Tomcat JDBC Realm that I am >>> using. Are thos

RE: web.xml authentication and Tomcat Realm

2014-09-03 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" wrote: >H

Re: web.xml authentication and Tomcat Realm

2014-09-03 Thread Felix Schumacher
On 4. September 2014 05:35:42 MESZ, "Dalecki, Janusz" wrote: >Hi, >I am just wondering whether somehow I can use web.xml >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 is for the developer who has

web.xml authentication and Tomcat Realm

2014-09-03 Thread Dalecki, Janusz
Hi, I am just wondering whether somehow I can use web.xml 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 intended for

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 >>> : I am using form based authe

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 >> : >>> I am using form based authentication (tomcat 7.0.34) and I >>> have the implementation of custom realm class which extends >>> Realm

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 > : >> I am using form based authentication (tomcat 7.0.34) and I have >> the implementation of custom realm class which extends RealmBase >> class.

Re: Getting host name inside tomcat realm implementation

2014-06-25 Thread Konstantin Kolinko
2014-06-24 21:09 GMT+04:00 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

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 classifie

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 application

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 wrote: > Hi, > > I&#x

Re: configuring tomcat realm

2013-08-30 Thread Daniel Mikusa
On Aug 30, 2013, at 12:13 PM, Francesco Viscomi 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 has > declared 2 resource, one is for accessing to http://localhost:8080/ma

Re: configuring tomcat realm

2013-08-30 Thread Sudhir Bhoga
On Fri, Aug 30, 2013 at 12:13 PM, Francesco Viscomi 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 has > declared 2 resource, one is for accessing to http://localhost:8080/ma

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 has declared 2 resource, one is for accessing to http://localhost:8080/manager and the other is for accessing via JDBC to a protected area in my

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

2013-06-12 Thread Tanglin, 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 your results. > &

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

2013-06-12 Thread Tobias Gierke
when upgrading the Tomcat, so 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

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

2013-06-12 Thread Tanglin, Oliver
endency 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 th

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

2013-06-11 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 list

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

2013-06-11 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 Real

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 ac

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

2013-06-11 Thread Tanglin, Oliver
our methodology works. 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

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

2013-06-11 Thread Tobias Gierke
riginal 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 (serve

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

2013-06-11 Thread Tanglin, Oliver
ithin 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, I&#

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 G

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 admin

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

problem with tomcat realm

2010-02-10 Thread aaaaaa
do it. -- View this message 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.

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 tomca

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 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-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-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/respo

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

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

2009-09-17 Thread atroiano
. Is it possible? Alberto -- View 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. ---

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 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

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 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. It is also implemented

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 ur

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 > DefaultListableBeanFactory(AbstractBeanF

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 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 is happe

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

2009-02-11 Thread lynckmeister
--- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21957617.html Sent from the Tomcat - User

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-unsub

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 fi

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 lynckmeister
iumkunde superuser guest premiumGuest admin thank again for reading all the stuff chris , cheers filip -- View this message in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21956226.htm

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 comin

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 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 archi

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: But when I try to start TomCat I see next ecxeption: javax.naming.NamingException: Cannot parse url: ${connection.url} I use next command to start T

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

2006-10-18 Thread Nathan Coast
your 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 inter

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

2006-10-13 Thread Sathija Pavuluri
gt; >> >> >> >> >> >> >> > I dont see any problem, >> >> >> >>In fact, server.findServices() always returns an empty array of >> >> >> services. >> >> >> >>But my server.xml does define a Catalina service. >

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

2006-10-13 Thread Li
t; > I dont see any problem, >> >> >>In fact, server.findServices() always returns an empty array of >> >> services. >> >> >>But my server.xml does define a Catalina service. >> >> > try to use findServices() and

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

2006-10-13 Thread Sathija Pavuluri
s an empty array of >> >> services. >> >> >>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 ... >> >

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

2006-10-13 Thread Li
s an empty array of >> services. >> >>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, S

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

2006-10-13 Thread Sathija Pavuluri
t;> > if still null ... >> > >> > >> > >> > On 10/13/06, Sathija Pavuluri <[EMAIL PROTECTED]> wrote: >> >> >> >> Hello, >> >> >> >> I would like to retrieve the tomcat realm object from th

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

2006-10-13 Thread Li
y 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

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

2006-10-13 Thread Sathija Pavuluri
f 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 ... >&g

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

2006-10-13 Thread Li
TED]> 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) serv

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

2006-10-13 Thread Sathija Pavuluri
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(); //engin

Re: multiple Tomcat realm

2006-03-23 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Is there any way we can have multiple Tomcat realm? or any > other suggestions? Not without writing a custom realm. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

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

Re: tomcat realm with digest password configuration help

2006-01-20 Thread Mark Thomas
philguillard wrote: > digest="MD5"/> > > > > DIGEST > Protected area > You are using DIGEST authentication AND digested passwords. You need to generate the digest differently in this case. See http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html Mark

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 : digest="MD5"/> In my web.xml : DIGES