This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
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://aspose.com/file-tools
 
subject: Assing role a new user
 
Similar Threads
Keep having to login with container based authentaction.
Configure SSO and categories
he doesn't ask for authenticate
confusion regarding authentication
web.xml security constraint won't work with roles