[jboss-user] [Security & JAAS/JBoss] - How to assign roles based on a request parameter without sub

forumer do-not-reply at jboss.com
Sun Oct 1 10:57:25 EDT 2006

JBoss 4.0.4-CR2

A user has already been authenticated before accessing my application's servlet. This authentication is evidenced by setting a parameter to one of several predetermined values in the request. I could use the value of this parameter as a username. I can assign this user certain roles through the roles and password files as a Form authentication would do using UsersRolesLoginModule. I need to have this authentication available to EJB's downstream as well.

So, how can I do this without submitting a form?

It seems that similar issue has been discussed in this forum but I couldn't pick out a clear solution.

I am open to other suggestions too.

Thanks in advance!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975338#3975338

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975338

More information about the jboss-user mailing list