tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <Jeanfrancois.Arc...@Sun.COM>
Subject Re: Programmatic Authentication?
Date Wed, 02 Jun 2004 01:35:26 GMT
Yes,

just write your own extension of org.apache.catalina.Realm (or extend 
o.a.c.realm.RealmBase)and read:

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


 then follow the instruction on how to install your own valve (search 
the list :-) )

-- Jeanfrancois

Carl Howells wrote:

> Is it possible to set the Principal and Roles for a session in a 
> manner which will satisfy a <role-name> security constraint 
> programmatically? At all?  I don't mind ignoring the servlet spec and 
> doing something tomcat-specific.  This is something that vitally needs 
> to be done on my project.
>
> Thanks for any solutions...
>
> Carl Howells
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message