wood burning stoves*
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
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
confusion regarding authentication
he doesn't ask for authenticate
Configure SSO and categories
web.xml security constraint won't work with roles
Keep having to login with container based authentaction.