You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Novotny <no...@aei.mpg.de> on 2003/12/15 15:34:01 UTC
creating/configuring my own Realm
Hi,
I hope this question isn't too stupid, but in all of my reading of
configuring Realms, it looks like this process is done out of band, by
hand. In other words someone needs to edit tomcat-users.xml or a JDBC
database. What I would like to do is provide a web interface for admins
to be able to add people to the tomcat-users.xml file or a database so
that it can be done via the portal. Is there something I should be
looking at, or how would I do this? Implement my own concrete Realm
class with write methods??
Thanks very much, Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: creating/configuring my own Realm
Posted by Adam Hardy <ah...@cyberspaceroad.com>.
Jason,
check out this thread:
http://marc.theaimsgroup.com/?l=tomcat-user&m=107123762419428&w=2
Adam
On 12/15/2003 03:40 PM Tim Funk wrote:
> The Realm is intended as a readonly gateway for authentication and
> authorization. Its not the job of the realm to update the datasource
> with respect to authentication creddentials or permissions. If you use
> JDBC, or LDAP, then any SQL or LDAP update tool can update the backing
> data source with your own business rules.
>
> -Tim
>
> Jason Novotny wrote:
>
>>
>> Hi,
>>
>> I hope this question isn't too stupid, but in all of my reading of
>> configuring Realms, it looks like this process is done out of band, by
>> hand. In other words someone needs to edit tomcat-users.xml or a JDBC
>> database. What I would like to do is provide a web interface for
>> admins to be able to add people to the tomcat-users.xml file or a
>> database so that it can be done via the portal. Is there something I
>> should be looking at, or how would I do this? Implement my own
>> concrete Realm class with write methods??
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: creating/configuring my own Realm
Posted by Tim Funk <fu...@joedog.org>.
The Realm is intended as a readonly gateway for authentication and
authorization. Its not the job of the realm to update the datasource with
respect to authentication creddentials or permissions. If you use JDBC, or
LDAP, then any SQL or LDAP update tool can update the backing data source
with your own business rules.
-Tim
Jason Novotny wrote:
>
> Hi,
>
> I hope this question isn't too stupid, but in all of my reading of
> configuring Realms, it looks like this process is done out of band, by
> hand. In other words someone needs to edit tomcat-users.xml or a JDBC
> database. What I would like to do is provide a web interface for admins
> to be able to add people to the tomcat-users.xml file or a database so
> that it can be done via the portal. Is there something I should be
> looking at, or how would I do this? Implement my own concrete Realm
> class with write methods??
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org