You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kural mani elango <ku...@rediffmail.com> on 2002/12/22 02:07:24 UTC

Urgently Required

Dear sir/madam,
>
>          I am working in JSP with tomcat,In my project i have
>user roles (BuyerAdmin,Buyer,Shipper...) now i want to display
>pages according to the user and i have an Page for registration
>for
>user,if the user register him as role(say Buyer) it must be add 
>to
>the
>web.xml,Pls reply me how can do this I want this very urgently
>
>thankyou
>


________________________________________________________________
  NIIT supports World Computer Literacy Day on 2nd December.
  Enroll for NIIT SWIFT Jyoti till 2nd December for only Rs. 749
  and get free Indian Languages Office software worth Rs. 2500.
  For details contact your nearest NIIT centre, SWIFT Point
  or click here http://swift.rediff.com/


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


Re: Urgently Required

Posted by Gary Gwin <to...@cafesoft.com>.
Kural,

The role should already be configured in web.xml by the application 
deployer. If the user registers himself with a given role, then the user 
and that role need to be added to the user repository. If you are using 
tomcat-users.xml, then you need to add the user and role to that file. 
It's easier in this case to use the JdbcRealm and an SQL database. When 
the user self-registers, you can simply add the new user and role(s) to 
database tables.

Gary

kural mani elango wrote:

> Dear sir/madam,
>
>>
>>          I am working in JSP with tomcat,In my project i have
>> user roles (BuyerAdmin,Buyer,Shipper...) now i want to display
>> pages according to the user and i have an Page for registration
>> for
>> user,if the user register him as role(say Buyer) it must be add to
>> the
>> web.xml,Pls reply me how can do this I want this very urgently
>>
>> thankyou
>>
>
>
> ________________________________________________________________
>  NIIT supports World Computer Literacy Day on 2nd December.
>  Enroll for NIIT SWIFT Jyoti till 2nd December for only Rs. 749
>  and get free Indian Languages Office software worth Rs. 2500.
>  For details contact your nearest NIIT centre, SWIFT Point
>  or click here http://swift.rediff.com/
>
>
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>

-- 

Gary Gwin
CEO and Founder
Cafesoft
858.455.1800 x205
http://www.cafesoft.com

*****************************************************************
*                                                               *
*   The Cafesoft Access Management System, Cams, is security    *
*   software that provides single sign-on authentication and    *
*   centralized access control for Apache, Tomcat, and custom   *
*   resources.                                                  *
*                                                               *
*****************************************************************



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