You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Kalyoncu, Erdal" <Er...@Dresdner-Bank.com> on 2001/12/03 11:56:55 UTC

JAAS

Hi jakarta-dev-team,

I want to know, if Tomcat 4.0 provide JAAS.
I read in the J2EE-specification 1.3, that it provide JAAS.
The servlet-specification 2.3 provide J2EE-1.3.
Tomcat 4.0 provide the servlet-specification 2.3.

My question is, if you hava any docs or examples for JAAS in connection with
Tomcat 4.
When you don't hava a answer, then give me please E-Mail adress, where I can
find
any Information.

Sorry for my english.
Please send me reply

best regards

Erdal 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: JAAS

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

On Mon, 3 Dec 2001, Kalyoncu, Erdal wrote:

> Date: Mon, 3 Dec 2001 11:56:55 +0100
> From: "Kalyoncu, Erdal" <Er...@Dresdner-Bank.com>
> Reply-To: Tomcat Developers List <to...@jakarta.apache.org>
> To: "'tomcat-dev@jakarta.apache.org'" <to...@jakarta.apache.org>
> Subject: JAAS
>
> Hi jakarta-dev-team,
>
> I want to know, if Tomcat 4.0 provide JAAS.
> I read in the J2EE-specification 1.3, that it provide JAAS.
> The servlet-specification 2.3 provide J2EE-1.3.
> Tomcat 4.0 provide the servlet-specification 2.3.
>
> My question is, if you hava any docs or examples for JAAS in connection with
> Tomcat 4.
> When you don't hava a answer, then give me please E-Mail adress, where I can
> find
> any Information.
>
> Sorry for my english.
> Please send me reply
>

In the current nightly builds of Tomcat 4 (available at
<http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/>) there is
an experimental implementation of a JAAS Realm, which you would select
by using a <Realm> element like this:

  <Realm className="org.apache.catalina.realm.JAASRealm"
           appName="myapp"/>

The "appName" parameter identifies the application name that is passed to
the JAAS LoginContext constructor (and therefore picks the set of login
methods based on your JAAS configuration).

Currently, this Realm supports user authentication only -- it does not
support looking up the roles associated with a user.


> best regards
>
> Erdal
>

Craig McClanahan


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>