You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "White, Joshua A (CASD, IT)" <Jo...@thehartford.com> on 2003/02/10 22:04:36 UTC

Re-using roles defined in web.xml file

Hello everyone,

I need to authenticate visitors to my site using ldap.  Based on some ldap
attributes, I can determine which role a person should be in.  Is there a
way I can dynamically associate users with the roles defined in the web.xml
file?

Joshua



This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Re-using roles defined in web.xml file

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 10 Feb 2003, Sean Dockery wrote:

> Date: Mon, 10 Feb 2003 14:21:28 -0700
> From: Sean Dockery <se...@sbdconsultants.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: Re: Re-using roles defined in web.xml file
>
> The only way that it could be done is to provide a custom realm to this
> yourself.
>
> Can you not just put the roles into LDAP?
>

Tomcat 4.1 has JNDIRealm, which can be used to talk to an LDAP server:

  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html

> Sean Dockery

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Re-using roles defined in web.xml file

Posted by Sean Dockery <se...@sbdconsultants.com>.
The only way that it could be done is to provide a custom realm to this
yourself.

Can you not just put the roles into LDAP?

Sean Dockery
sean@sbdconsultants.com
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com

----- Original Message -----
From: "White, Joshua A (CASD, IT)" <Jo...@thehartford.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, February 10, 2003 14:04
Subject: Re-using roles defined in web.xml file


> Hello everyone,
>
> I need to authenticate visitors to my site using ldap.  Based on some ldap
> attributes, I can determine which role a person should be in.  Is there a
> way I can dynamically associate users with the roles defined in the
web.xml
> file?
>
> Joshua
>
>
>
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited. If
> you are not the intended recipient, please notify the sender
> immediately by return email and delete this communication and destroy all
copies.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org