This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Servlets and the fly likes Assing role a new user Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Assing role a new user" Watch "Assing role a new user" New topic
Author

Assing role a new user

Ahmet Tapmaz
Greenhorn

Joined: Mar 02, 2011
Posts: 4
A user can login on web application in several ways.for example

<login-config>
<auth-method>FORM</auth-method>
</login-config>

But how can we assingn this user a application role descriped in deployment descriptor ?

for example

<security-role>
<role-name>ordinarilyUser</role-name>
</security-role>

I wanna login this site with ordinarilyUser role.How can it be possible ?


 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Assing role a new user
 
Similar Threads
he doesn't ask for authenticate
Keep having to login with container based authentaction.
Configure SSO and categories
web.xml security constraint won't work with roles
confusion regarding authentication