Re: JNDIRealm autehentication

2005-08-19 Thread David Delbecq
No, but code of JNDIRealm can be easily reused to create your own realm. Le Vendredi 19 Août 2005 15:26, Rogerio Baldini das Neves a écrit : > Hi Folks, > > Is it possible to authenticate in multiples userBase´s using JNDIRealm ? > > I have a configuration as above: > >

JNDIRealm autehentication

2005-08-19 Thread Rogerio Baldini das Neves
Hi Folks, Is it possible to authenticate in multiples userBase´s using JNDIRealm ? I have a configuration as above: ldap://localhost:389"; userBase="ou=people,dc=mycompany,dc=com" userSearch="(mail={0})" userRoleName="memberOf&quo

Re: JNDIrealm Mbean

2005-03-16 Thread jean charles jabouille
I answer to my questions... try { ObjectName JNDIRealm = new ObjectName("Catalina:type=Realm,path=/DJLRWebapp,host=localhost"); List list = MBeanServerFactory.findMBeanServer(null); MBeanServer server = (MBeanServer) list.iterator().next(); System.out.println(server.ge

Re: JNDIrealm Mbean

2005-03-16 Thread jean charles jabouille
BeanInfo(timer).getAttributes()[i].getName()); i++; } } catch(Exception e){ } Thanks for answers Jabouille Jean Charles - Original Message - From: "jean charles jabouille" <[EMAIL PROTECTED]> To: Sent: Friday, March 11, 2005 10:48 AM Subject: JNDIr

JNDIrealm Mbean

2005-03-11 Thread jean charles jabouille
Hi, I use Tomcat 5.5 and I created a JNDIRealm in the server.xml file. I d'like to accede to the JNDIMean mbean but I can't find informations about source code exemple. I saw this page that contains all Tomcat Mbean http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/funcs

SV: Authenticate JNDIrealm through Client

2005-02-21 Thread Roland Carlsson
http-request and then look at the http-response. Regards Roland Carlsson Den 05-02-21 12.20, skrev "bohldan bohldan" <[EMAIL PROTECTED]>: > I wonder ive started a jndirealm and it works just fine against ldap. I have > no problem to login from a webbrowser (BASIC mode). Bu

Authenticate JNDIrealm through Client

2005-02-21 Thread bohldan bohldan
I wonder ive started a jndirealm and it works just fine against ldap. I have no problem to login from a webbrowser (BASIC mode). But i want to login from a Java client how do i do that ? _ Chat: Ha en fest på Habbo Hotel http

JNDIRealm and multiple groups in LDAP.

2004-12-28 Thread Andrey Polozov
Hi, I'm Trying to apply JNDIRealm to the LDAP structure, where each user belong to some group (organizationalUnit): dn: ou=Group1, o=myorg objectclass: organizationalUnit ou: Group1 dn: uid=user1, ou=Group1, o=myorg objectclass: person uid: user1 dn: ou=Group2, o=myorg object

REPOST: Recursive groups in JNDIRealm

2004-11-18 Thread Roland Carlsson
t;CN" roleSearch="(member={0})" roleSubtree="true"/> /> Thank you very much in advance Roland Carlsson Från: Roland Carlsson <[EMAIL PROTECTED]> Svara till: Tomcat Users List <[EMAIL PROTECTED]> Datum: Wed, 17 Nov 2004 16:52:34 +0100 Till: T

Recursive groups in JNDIRealm

2004-11-17 Thread Roland Carlsson
Hi! After an hour of searching I can't figure out if Tomcat is able to find groups in group in a LDAP server? I found this in the archives but since it is from 4.1.18 http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg89601.html Thanks in advance Roland Carlsson --

Roles-problem with JNDIRealm and AD

2004-10-06 Thread Eividn Trondsen
Hi List I'm trying to connect Tomcat/5.0.28 to AD on Windows 2003. My problem is that JNDIRealm fails to get role information, after successfully binding with the users DN. My temporary conclusion is that JNDIRealm fails to use the bound connection with AD when performing the search for the

JNDIRealm Problem

2004-09-15 Thread SARMIENTO Claudia COGA
Hello: I have a problem with my JNDIRealm configuration in Tomcat 5. I'm using the bind mode for authentication My company have Microsoft Active Directory with two ou within ou=People I configured the server.xml to connect to my ldap sucessfully but only to one OU, i tried to put only ou=Peop

RV: JNDIRealm and Windows 2000 Active Directory

2004-08-23 Thread Francisco José Arnau Vives
I'm trying configure one JNDIRealm asking to one Windows 2000 Active Directory. In the examples in the web of jakarta I have seen examples over openLdap. Can you help me in the configuration over Windows2000 AD. Has somebody a production system or wep application using JNDIRealm vs A

Re: Tomcat 5 and JNDIRealm

2004-08-11 Thread Deepa Ramamurthy
Unfortunately, the LDAP server is on Domino and the only guy who worked on it quit. And I don't know enough about Domino to access it's logs or figure out the answers to the questions below. Here's what is appearing in the Tomcat logs: 2004-08-11 10:43:23 JNDIRealm[deepa.

Re: Tomcat 5 and JNDIRealm

2004-08-10 Thread QM
both for Tomcat and the LDAP server? (Increase log verbosity on both for the purposes of your test. You'd be surprised what gremlins are lurking ;) - does your LDAP directory have the proper attributes for user roles and such? - does the directory use a password hashing expect

Tomcat 5 and JNDIRealm

2004-08-10 Thread Deepa Ramamurthy
Hello! My webapp is running on Tomcat 5.0. I've been trying to set it up to use the LDAP server for authentication without any luck. Here are my entries in server.xml and web.xml respectively: server.xml: ldap://10.0.0.29:389"; roleBase="O=Infogenic" userPatte

RE: How to get Roles in a Principal with JNDIRealm

2004-06-30 Thread Robert Harper
t; Subject: How to get Roles in a Principal with JNDIRealm > >Hello All, > > > I'm using JNDIRealm to authenticate users and it's working well. > In my java code, I need to retrieve roles associated with the > authenticated user. > Here is a sample of

How to get Roles in a Principal with JNDIRealm

2004-06-30 Thread Renato Primavera
Hello All, I'm using JNDIRealm to authenticate users and it's working well. In my java code, I need to retrieve roles associated with the authenticated user. Here is a sample of this code : Subject s = Subject.getSubject((AccessControlContext)System.getSecurityManager().getSecur

4.0.29: does JNDIRealm (LDAP) perform authorization right after authentication??

2004-06-09 Thread Sauer, Christian {PGSQ~Basel}
ional functionality of the application automatically depending on their group membership (which is checked using method isUserInRole at runtime). It seems that the LDAP JNDIRealm of tomcat automatically performs an authorisation for given groups after a successful user authentication ... Is this gene

RE: JNDIRealm strangeness

2004-05-10 Thread Shane Linley
to putting in a bug report about that "ldaps" matter :) If it has not already been done that is. Regards, Shane. -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Monday, 10 May 2004 11:53 AM To: Tomcat Users List Subject: Re: JNDIRealm strangeness Hi Shan

Re: JNDIRealm strangeness

2004-05-09 Thread Chong Yu Meng
Hi Shane ! Thanks for your help! After experimenting over the weekend, I think that this is probably a bug in the Tomcat code. I checked and corrected some problems in my OpenLDAP setup, and verified that SSL/TLS connections can be made successfully to it using ldapsearch. When I tried starting

RE: JNDIRealm strangeness

2004-05-09 Thread Shane Linley
t! :) -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Friday, 7 May 2004 8:17 PM To: Tomcat Users List Subject: Re: JNDIRealm strangeness Hi Shane ! Thanks for the description and advice! I managed to finally turn on OpenLDAP logging (a pain in Fedora Core 1), and set

Re: JNDIRealm strangeness

2004-05-07 Thread Chong Yu Meng
ing wrong with my SSL/TLS connection. But my JNDIRealm still works ! Users can still authenticate successfully. Does the connection fallback to port 389 if a connection on 636 is not possible? Thanks for the help, Shane ! If you have any further suggestions, I would really appreciate it ! Rega

RE: JNDIRealm strangeness

2004-05-07 Thread Shane Linley
- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Friday, 7 May 2004 4:32 PM To: Tomcat Users List Subject: JNDIRealm strangeness Hi All ! I wonder if anyone has seen this anomaly, when following my instructions on setting up a JNDIRealm, on my website (http://cymulacrum.net/writings/adv_t

JNDIRealm strangeness

2004-05-07 Thread Chong Yu Meng
Hi All ! I wonder if anyone has seen this anomaly, when following my instructions on setting up a JNDIRealm, on my website (http://cymulacrum.net/writings/adv_tomcat/c487.html). I wrote these instructions after version 5.0.19 of Tomcat came out and fixed the character encoding issue in the

JNDIRealm in Tomcat 5

2004-01-27 Thread Vincent
Hello All, I searched the archive but have not seen a situation like mine. I am in the process of upgrading to tomcat 5.0.16 from 4.1.29. I'm happy to say that my webapp seems to be running fine under tomcat 5 with one important exception. My configured JNDIRealm seems to be failing. The

Tomcat 5.0.18, JNDIRealm and disabling RFC2254 encoding

2004-01-22 Thread frank delin
Is there a flag you can you in the Realm decleration portion of server.xml that turns off the RFC2254 encoding in the JNDI Realm. Upgrading my ldap server is low on my list of things I'd like to do soon. I use this currently ldap://ldap0.our.domain.name"; roleName="cn"

JNDIRealm question

2003-12-01 Thread Chong Yu Meng
Hi All, I have a configuration that is not covered in the JNDIRealm HOWTO, and was wondering if someone else has tried this before : I am using OpenLDAP 2.1.22 on Red Hat 9. For the DN, I am using the CN instead of the UID (i.e., dn: cn=Zhu De,ou=People,o=Cymulacrum instead of uid=zhude,ou

Re: Problem with JNDIRealm

2003-11-26 Thread Chong Yu Meng
It looks like one of you attributes is missing (i.e. null). Do you have a role associated with the username? I'm also having problems with JNDIRealm -- I can't get it working ! Going to check if it is because I'm missing some libraries. Regards, pascal chong Jörn Heid

Problem with JNDIRealm

2003-11-26 Thread Jörn Heid
Tomcat. I tested a lot of configurations. Here's one of it: When testing it with a working user/pass combination I get: 2003-11-26 21:17:29 JNDIRealm[Standalone]: lookupUser(jheid) 2003-11-26 21:17:29 JNDIRealm[Standalone]: dn=uid=jheid,ou=People,o=,c=DE 2003-11-26 21:17:29 JNDIRealm[Standalone

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
Ok, for those interested, here's the real issue. At some point in time (I don't know enough about tomcat to know when or why), before it Tomcat has your username (at least with my config files, but it looks common since JNDIRealm is checking for it too), authenticate is called w

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
Read through the code, ran some example stuff. What I'm doing in my implementation is fine. Justin -Original Message- From: Hart, Justin Sent: Tuesday, November 25, 2003 9:31 AM To: Tomcat Users List Subject: RE: Extending JNDIRealm Wait, reading the stack trace doesn&#

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
Wait, reading the stack trace doesn't show anything like that. No, that can't be the issue. Justin -Original Message- From: Hart, Justin Sent: Tuesday, November 25, 2003 9:30 AM To: Tomcat Users List Subject: RE: Extending JNDIRealm I *cough* didn't download the JNDIRe

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
I *cough* didn't download the JNDIRealm code. I'll go look into that. Justin -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 9:28 AM To: Tomcat Users List Subject: Re: Extending JNDIRealm Based on what I saw so far ... In

Re: Extending JNDIRealm

2003-11-25 Thread Tim Funk
Based on what I saw so far ... In JNDIRealm authenticate(String, String) gets a DirContext and calls authenticate(DirContext, String, String). Your code snippet which I assume overrides, authenticate(DirContext, String, String) which calls super.authenticate(String, String). Then

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
Ok, why? What am I doing that should cause a stack overflow? Justin -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 7:26 PM To: Tomcat Users List Subject: Re: Extending JNDIRealm Odd, based on what I see so far, I would expect it to crash

Re: Extending JNDIRealm

2003-11-24 Thread Tim Funk
Odd, based on what I see so far, I would expect it to crash with a StackOverFlow exception. -Tim Hart, Justin wrote: Whoops, the code is actually as follows... No sure what's going on with this code... I'm attempting to extend JNDIRealm so I can add a few features I need for my si

RE: Extending JNDIRealm

2003-11-24 Thread Hart, Justin
Whoops, the code is actually as follows... No sure what's going on with this code... I'm attempting to extend JNDIRealm so I can add a few features I need for my site, I have an interesting issue, however. If, I try this : public Principal authenticate(DirContext context, Strin

Extending JNDIRealm

2003-11-24 Thread Hart, Justin
No sure what's going on with this code... I'm attempting to extend JNDIRealm so I can add a few features I need for my site, I have an interesting issue, however. If, I try this : public Principal authenticate(DirContext context, String username, String credentials) throws Namin

RE: JNDIRealm...more

2003-11-06 Thread Robyne Vaughn
I can use that. Thanks. Robyne -Original Message- From: Dean Searle [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 5:58 AM To: Tomcat Users List Subject: RE: JNDIRealm...more getRemoteUser(), if your familiar with jsp's then you'll know how to use it. Unfor

RE: JNDIRealm...more

2003-11-06 Thread Hart, Justin
List Subject: RE: JNDIRealm...more getRemoteUser(), if your familiar with jsp's then you'll know how to use it. Unfortunately I don't, but I guess that is why we have web application developers on staff. :-) Dean Searle Computing Oasis 989.245.7369 (p) 989.921.3904 (f) -O

RE: JNDIRealm...more

2003-11-06 Thread Dean Searle
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 5:00 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Thanks for the pointer, I'll see about pointing to one of our 2 mail servers. I wonder if they "talk" back and forth. Also, Do you know how I can extract the

RE: JNDIRealm...more

2003-11-05 Thread Robyne Vaughn
o:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 2:06 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Great to hear that information worked for you. I included the alternateURL in the event our primary AD went down for one reason or another and our users could still access the

RE: JNDIRealm...more

2003-11-05 Thread Dean Searle
. -Original Message- From: Robyne Vaughn [mailto:[EMAIL PROTECTED] Sent: Wed 11/5/2003 13:46 To: Tomcat Users List Cc: Subject:RE: JNDIRealm...more Dean! Mine works! A thousand thanks! I hope I can return the favor some time. Your nice explanation helped. I did not

RE: JNDIRealm...more

2003-11-05 Thread Robyne Vaughn
appreciation, Robyne Vaughn -Original Message- From: Dean Searle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 9:48 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Hello, I hope that I am not to late to post here. I have just returned to the land of the living and

server.xml & JNDIRealm

2003-11-05 Thread Hart, Justin
Ok, more nifty questions from myself. The format that the rest of the company uses for NT Authentication is [domain].com\[username] in the username field, and then [pass] in the password field. The NT Admins would really like if my application would do the same (so as not to throw off users).

RE: JNDIRealm...more

2003-11-05 Thread Hart, Justin
Ok, figured it out. For those who are curious (IE the handful of other people who've been taking part in JNDIRealm threads on this list: roleBase="OU=Users,OU=[Your OU from the userBase],DC=[Domain],DC=com" roleName="memberOf" roleSearch=&qu

RE: JNDIRealm...more

2003-11-05 Thread Hart, Justin
eName="memberOf" Will it take all of their roles, even with roleSearch specified? Am I on the Right Track(tm) with all of this? Justin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 4:16 PM To: [EMAIL PROTECTED] Subject: RE

RE: JNDIRealm...more

2003-11-05 Thread Robyne Vaughn
le [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 9:48 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Hello, I hope that I am not to late to post here. I have just returned to the land of the living and have started to catch up on my reading. I noticed that Robyne you were tryi

JNDIRealm with UserMapping (was: Trust Store and Credentials)

2003-11-05 Thread Mario Ivankovits
Bill Barker wrote: Speaking only for myself, it is because of the dependencies on sun.** classes (so it won't work with e.g. IBM's JVM). Otherwise the patch looks Ok. I just haven't had enough spare cycles to work out how to remove the Sun dependancies. Ah, yes i see, but this is true for the

RE: JNDIRealm...more

2003-11-04 Thread Dean Searle
--> this is necessary to traverse the full AD without knowing the user's base location. I hope that this clears up some issues for you. Please let me know if I can help you more. Dean E. Searle Computing Oasis 989.245.7369 (P) 989.921.3904 (F) -Original Message- From: Robyne V

RE: JNDIRealm...more

2003-11-04 Thread Robyne Vaughn
Thanks. -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 12:10 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Good luck. -Original Message- From: Robyne Vaughn [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 1

RE: JNDIRealm...more

2003-11-04 Thread Hart, Justin
Good luck. -Original Message- From: Robyne Vaughn [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 1:07 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Thanks, Justin, You've given me some good pointers. I guess I'll do some more hammering and snooping. Our

RE: JNDIRealm...more

2003-11-04 Thread Robyne Vaughn
ight now, I'm still stuck just figuring out where "all users" are. -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 11:40 AM To: Tomcat Users List Subject: RE: JNDIRealm...more Oh, for the AD LDAP, I've been using the programs tha

RE: JNDIRealm...more

2003-11-04 Thread Hart, Justin
ubject: RE: JNDIRealm...more I used * as my role-name. Justin -Original Message- From: Robyne Vaughn [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 12:38 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Justin, I REALLY appreciate your help. I've been stuck for a w

RE: JNDIRealm...more

2003-11-04 Thread Hart, Justin
I used * as my role-name. Justin -Original Message- From: Robyne Vaughn [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 12:38 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Justin, I REALLY appreciate your help. I've been stuck for a while. I believe that User

RE: JNDIRealm...more

2003-11-04 Thread Robyne Vaughn
ilto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 11:14 AM To: Tomcat Users List Subject: RE: JNDIRealm...more 1) In terms of active directory, the roleSearch, in this case, would be a group that the person logging in needs to be a member of. In terms of mine, it would be the "ALL

RE: JNDIRealm...more

2003-11-04 Thread Hart, Justin
ssage- From: Robyne Vaughn [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 12:08 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Hi, I've been watching your emails andI'm still trying to understand. I have a couple of ldap books and I'm trying to figure so

RE: JNDIRealm...more

2003-11-04 Thread Robyne Vaughn
iven the person's specific OU? I don't understand why you're specifying 2 different values for OU? Any help would be appreciated. Thanks, rob -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 9:13 AM To: Tomcat Users List

RE: JNDIRealm...more

2003-11-04 Thread Hart, Justin
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 4:16 PM To: [EMAIL PROTECTED] Subject: RE: JNDIRealm...more Here's what I have..this works for mehope this helps ldap://[domain controller]:389" userBase="OU=Users,OU=[M

RE: JNDIRealm...more

2003-11-03 Thread Hart, Justin
To: [EMAIL PROTECTED] Subject: RE: JNDIRealm...more You don't need the admin password, you do need a domain account the has read permissions.just about any account will do thiscreate a test account.and use that instead of the admin account.. -Original Message- Fro

RE: JNDIRealm...more

2003-11-03 Thread RPITRE
onday, November 03, 2003 4:18 PM To: Tomcat Users List Subject: RE: JNDIRealm...more Is there a way to do this without the admin password in the file? What is sAMAccountName? Also, not terribly versed in LDAP, what is "My OU"? Justin -Original Message- From: [EMAIL PROTECTED]

RE: JNDIRealm...more

2003-11-03 Thread Hart, Justin
PROTECTED] Subject: RE: JNDIRealm...more Here's what I have..this works for mehope this helps ldap://[domain controller]:389" userBase="OU=Users,OU=[My OU],DC=[Domain],DC=com" userSearch="(sAMAccountName={0})&qu

RE: JNDIRealm...more

2003-11-03 Thread RPITRE
connectionPassword="[password]" roleSubtree="true" userSubtree="true"/> -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 12:57 PM To: Tomcat Users List Subject: JNDIReal

JNDIRealm...more

2003-11-03 Thread Hart, Justin
My server.xml now looks like this : Reading through the log shows no errors, just that the realm is openning and closing connections with my LDAP server, after 3 tries, it tells me that I need to use http authentication. What's going wrong here? Justin -

JNDIRealm

2003-11-03 Thread Hart, Justin
ldap://[Windows 2000 Domain Controller]:389" userBase="CN=Users,dc=[domain name],dc=com" userSearch="(userPrincipalName={0})" userRoleName="member" roleBase="CN=Users,dc=[domain name],dc=com" roleName="cn" roleSearch="(member={0})" connectionName="CN=[jndi account username],CN=Users,DC=[domain name

JNDIRealm Configuration

2003-11-03 Thread Hart, Justin
Does anybody have an example JDNIRealm configuration (server.xml & web.xml). I feel like I'm just taking stabs in the dark with these files... Currently I can get it to pop up a window and ask for your username/password. I use my NT username and password and it rejects them. I think that I h

Re: JNDIRealm using LDAP with SSL

2003-10-24 Thread Hayo Schmidt
636 I get the following error: 2003-07-28 09:40:49 JNDIRealm[Standalone]: Connecting to URL ldaps://10.1.1.50:636 2003-07-28 09:40:50 JNDIRealm[Standalone]: Exception performing authentication javax.naming.CommunicationException: simple bind failed: 10.1.1.50:636 [Root exception is javax.net.ss

Re: JNDIRealm source code -

2003-10-11 Thread Tim Funk
http://jakarta.apache.org/site/cvsindex.html JNDIRealm is jakarta-tomcat-catalina for tomcat5, jakarta-tomcat-4.0/catalina/ for tomcat4 I recommend more exploration before accepting an error code2 as a valid login. Its a kluge around the MS's ldap implementation and such a kluge pro

JNDIRealm source code - (was: Re: Tomcat vs Bea WebLogic)

2003-10-11 Thread Davi Leal
Hi, I am using tomcat 4.1.27, Java sdk-1.4.1_02 and JNDIRealm to use the Micro$oft Site Server service to authenticate our webapps. I get an "error code 2" exception (Protocol Error) only when the user and the password is right. That is to say, when an OK is expected. I am think

JNDIRealm(LDAP) Authentication Configuration Sample Required

2003-10-01 Thread Arun K Solleti
Hi I have tried different different options but cannot get the LDAP authentication to work in my application. Following is what i am using. Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 LDAP : IPlanet LDAP Server. 1) In this regard i have downlo

JNDIRealm & LDAP Configuration Problem

2003-09-30 Thread Equipment Lamp
Hi I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded the latest JNDI API and then copied the ldap.jar file to $CATALIN

JNDIRealm (LDAP) Configuration Problem

2003-09-29 Thread Arun K Solleti
Hi I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded the latest JNDI API and then copied the ldap.jar file to $CATALINA_HOME/server/lib di

JNDIRealm User bind context available in the Servile Context?

2003-08-14 Thread Twadell, Daniel M
In a servlet I would like to access the same JNDIRealm directory server context that is used during BASIC authentication. Is it possible to configure the jndirealm as a resource link for the servlet context? I *can* make an Application "super user" to establish a DirContext , but

Re: JNDIRealm: Authentication Failing [SOLVED]

2003-08-07 Thread Adam Sherman
Adam Sherman writes: 2003-07-27 13:44:06 JNDIRealm[Standalone]: validating credentials by binding as the user 2003-07-27 13:44:06 JNDIRealm[Standalone]: binding as uid=adam,ou=People,dc=tritus,dc=ca 2003-07-27 13:44:06 JNDIRealm[Standalone]: bind attempt failed JNDIRealm is attempting to

Re: JNDIRealm: Authentication Failing

2003-07-31 Thread Adam Sherman
2003-07-27 13:44:06 JNDIRealm[Standalone]: validating credentials by binding as the user 2003-07-27 13:44:06 JNDIRealm[Standalone]: binding as uid=adam,ou=People,dc=tritus,dc=ca 2003-07-27 13:44:06 JNDIRealm[Standalone]: bind attempt failed JNDIRealm is attempting to bind as 'uid=ad

Re: JNDIRealm: Authentication Failing

2003-07-28 Thread Hayo Schmidt
Is 'mail' the naming value? This means, if you export to an ldif file you should find a line dn: [EMAIL PROTECTED],ou=People,dc=tritus,dc=ca Hayo Schmidt Adam Sherman schrieb: I am trying to get JNDIRealm to authenticate against my LDAP tree: debug="200"

Re: JNDIRealm using LDAP with SSL

2003-07-28 Thread Chris Egolf
Jeff Tulley wrote: We've done exactly that. What you need to do is import the root certificate into a .keystore file. I'm not sure if Tomcat will pick up the default cacerts file, or if you always have to specify it like we did (-Djavax.net.ssl.trustStore=sys:/adminsrv/conf/.keystore etc) My gue

Re: JNDIRealm using LDAP with SSL

2003-07-28 Thread Jeff Tulley
ldaps://:636 I get the following error: 2003-07-28 09:40:49 JNDIRealm[Standalone]: Connecting to URL ldaps://10.1.1.50:636 2003-07-28 09:40:50 JNDIRealm[Standalone]: Exception performing authentication javax.naming.CommunicationException: simple bind failed: 10.1.1.50:636 [Root exception is javax.net

JNDIRealm using LDAP with SSL

2003-07-28 Thread Chris Egolf
Does anyone have any experience getting ldaps working w/ the JDNIRealms in Tomcat 4.1.24? Regular LDAP is working fine, but when I change the connection URL to ldaps://:636 I get the following error: 2003-07-28 09:40:49 JNDIRealm[Standalone]: Connecting to URL ldaps://10.1.1.50:636 2003-07-28

Re: JNDIRealm: Authentication Failing

2003-07-28 Thread Hayo Schmidt
Is 'mail' the naming value? This means, if you export to an ldif file you should find a line dn: [EMAIL PROTECTED],ou=People,dc=tritus,dc=ca Hayo Schmidt Adam Sherman schrieb: I am trying to get JNDIRealm to authenticate against my LDAP tree: debug="200"

JNDIRealm: Authentication Failing

2003-07-27 Thread Adam Sherman
I am trying to get JNDIRealm to authenticate against my LDAP tree: debug="200" connectionURL="ldap://localhost:389"; userBase="ou=People,dc=tritus,dc=ca" userSearch="(mail={0})" roleBase="ou

how to set up JNDIRealm in tomcat4.1.24 bundled with Jboss

2003-07-14 Thread seera naveen
Hi, I have successfully setup JNDIRealm for FORM based authentication and it is working perfectly in Standalone Tomcat4.1.24. However, I am unable to do the same in Tomcat4.1.24 bundled with JBoss. Could any body please help me out in setting up JNDIRealm in Tomcat4.1.24 bundled with JBoss

Re: ActiveDirectory not following referrals when using JNDIRealm

2003-06-06 Thread Bradley M. Handy
I figured it out. The credentials I was using the creation of the InitialDirContext didn't have enough permissions (for some weird reason). I got it to work when I used a different account. Brad Handy At 11:28 AM 6/6/2003, you wrote: I'm using Tomcat 4.1.24 (win32) and I have my

ActiveDirectory not following referrals when using JNDIRealm

2003-06-06 Thread Bradley M. Handy
I'm using Tomcat 4.1.24 (win32) and I have my JNDIRealm configured like so: ldap://vader.arbor.edu"; alternateURL="ldap://bsod.arbor.edu"; userBase="dc=arbor,dc=edu" userSearch="(&(objectClass=user) (cn={0}))

REPOST: CLIENT-CERT and JNDIRealm

2003-06-06 Thread Mario Ivankovits
of my code directly in an class (say) JNDIRealmCert, and one could simply override an abstract "certToUser" method. I have tried to use CLIENT-CERT to authenticate the user for our application. JNDIRealm do not support such authentication, so i have tried to implement it. For our infrast

Tomcat JNDIRealm subtree role enumeration

2003-05-29 Thread Markus Van Heerden
ma that is organized as follows: dn: cn=user,ou=Groups,o=Canada,... uniqueMember: cn=somecompany,ou=Groups,o=Canada,... and dn: cn=somecompany,ou=Groups,o=Canada,... uniqueMember: uid=someuser,ou=People,o=Canada,... My Tomcat(4.0.6) JNDIRealm configuration is as follows: ldap://ldap

RE: Anyone successfully authenticating Tomcat users w/ windows login info using a JNDIRealm?

2003-04-01 Thread Darian Shimy
; w/ windows login info using a JNDIRealm? > > > If you have multiple domains, I think your out of luck. If you run a > single active directory domain, you *might* be able to do > something like > this: > > connectionURL="ldap://need.morecowbell.com:389"; >

Re: Anyone successfully authenticating Tomcat users w/ windows logininfo using a JNDIRealm?

2003-03-26 Thread Tim Funk
If you have multiple domains, I think your out of luck. If you run a single active directory domain, you *might* be able to do something like this: ldap://need.morecowbell.com:389"; userBase="dc=more,dc=morecowbell,dc=com" userSearch="(userPrincipalName={0})" userRoleName="member" roleBase="dc=m

Anyone successfully authenticating Tomcat users w/ windows login info using a JNDIRealm?

2003-03-26 Thread Dan Payne
I'm looking for some assistance in setting up single-sign on with our windows 2000 intranet and Tomcat using Windows Active Directory and a Tomcat JINDIRealm and LDAP. What I'm essentially looking for is HttpServletRequest.getRemoteUser() to return the username used to authenticate to the Windows n

Send parameters to the JNDIRealm

2003-03-11 Thread mgp2
Hi. I have an application that it connects to a servlet and send it a set of parameters through OutputStream. I have a JNDIRealm installed and when the application connects to the servlet, my Realm can't to map these parameters (with the client certificate) a none authenticate() method.

Retrieve parameters from web.xml in my own JNDIRealm

2003-02-24 Thread Manuel GP
I've making my own JNDIRealm and my web application has various protected zones. In my JNDIRealm I would like to retrieve the parameters from web.xml ( subelements) related with the protected zones. For example, in web.xml file I have the following lines: Private Z

Get URL within JNDIRealm

2003-02-24 Thread Manuel GP
Hi... I've making a JNDIRealm with LDAP access and I need to get the URL where JNDIRealm is called. I've various security constraints and I would like to distinguish the protected zones. How I can to get the URL within of my own

Searches on JNDIRealm

2003-02-18 Thread Tomcat User
Hi all. I have making a JNDIRealm for LDAP connections (the JNDIRealm to have to retrieve client certificates from LDAP). I would like to realize searches only for Organization Unit (Organization and Country are fixed); though, the client DN is CN - OU - OU - C (the root search for my LDAP

Re: JNDIRealm login failure

2003-01-07 Thread John Holman
has succeeded other users can authenticate straight away - until the next long period of inactivity. You may be able fix the problem by disabling timeout on the directory server. (You don't say which directory server you are using). Really there should be an option for JNDIRealm to check wh

JNDIRealm login failure

2003-01-06 Thread Gil Chilton
I have created a simple tomcat web app that uses a JNDIRealm for authentication per the instructions in the Tomcat 4.1 documentation. When I start tomcat, the login process for this web app works fine for a few minutes or logins. Eventually, I reach a state where the first login always fails

AW: JNDIRealm expires?

2002-10-08 Thread Vincent Stoessel
I apoligize for the false alarm. My password had expired (arghh) that is why the login process failed. Back to the regularly scheduled program. Vincent Stoessel wrote: > I have been able to successfully set up a JNDIRealm in tomcat for > authentication. Only problem is after about 12

JNDIRealm expires?

2002-10-08 Thread Vincent Stoessel
I have been able to successfully set up a JNDIRealm in tomcat for authentication. Only problem is after about 12 (rough guess) I get the dreaded black page instead of seeing my login form. The workaround is to restart tomcat. Obviously, this won't work well for a always-on service. Maybe

Re: JNDIRealm and 4.1.10 with iPlanet

2002-09-24 Thread Douglas L Stewart
[EMAIL PROTECTED]> > Sent: Monday, September 23, 2002 11:31 AM > Subject: JNDIRealm and 4.1.10 with iPlanet > > > > I'm using Tomcat 4.1.10 trying to authenticate against iPlanet > > Directory Server 5.0. > > > > I've created a Realm inside of the Eng

RE: JNDIRealm and 4.1.10 with iPlanet

2002-09-24 Thread Douglas L Stewart
Looks like you are using parentheses around the 0 rather than brackets. That is probably why it is being passed literal rather than being expanded. --- > Sorry to jump in on this discussion. But I think people with LDAP > experience are having a look on it. > > > >> > de

  1   2   >