struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Craig" <g-cr...@mediaone.net>
Subject Re: Setting a user role
Date Sat, 02 Jun 2001 06:15:49 GMT
Moreover, I would add that it is dependant upon the application server in
question. For example, we are using J-Run and are in the process of using a
custom authenticator (totally app server specific) that is not portable;
although our models are as portable as one can get (i.e., using delegation
and wrapping).  Anyways .. without getting off topic ..

We're using it for an LDAP central authentication db, but I am not sure if
this is possible with Tomcat. I venture to guess its also available under
WebSphere, Weblogic, et al.

----- Original Message -----
From: "Craig R. McClanahan" <craigmcc@apache.org>
To: <struts-user@jakarta.apache.org>
Sent: Saturday, June 02, 2001 12:23 AM
Subject: Re: Setting a user role


>
>
> On Fri, 25 May 2001, Jon.Ridgway wrote:
>
> > Hi All,
> >
> > Is it possible to programmatically set a users role for use with
> > request.isUserInRole (<role>). I would like to do this so I can started
> > using the role based templating, without having to dig into app/web
server
> > specific security features.
> >
> > Any help much appreciated.
> >
> > Jon.
> >
>
> No, the values returned by isUserInRole() -- along with
> getRemoteUser() and getUserPrincipal() -- are set by the servlet container
> when you are using container-managed security.
>
> Craig McClanahan
>
>


Mime
View raw message