It depends on the container you are using. For tomcat you can check this link http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
On Thursday, January 31, 2013 7:04:25 PM UTC+5:30, Plamen Tenev wrote: > > Greetings! > > I'm developing a sample application. I want to make role based security > but i'm not quite familiar with it. I have defined security constraints in > the web.xml. There are two roles, one for administrator and one for > ordinary user. Where and how should I set the roles for each user? How > should I retrieve them? > I have searched the web for various tutorials but haven't found anything I > can stick on. Could you please give me some directions how to do it? > > Thanks in advance! > > Regards, > Plamen > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
