Hi everyone, i like to use the container managed security with a FORM-Login and a DatabaseLoginModule. In addition to that, i want to add a Role to those clients which do their request from a specified IP-Range.
To do that i configured a filter in which i call the LoginContext to a custom LoginModule. This Module takes the IP-address an does the login. I get the suggested Subject-Object, in wich my Roles are defined. Now in the one way i want to create a UserPriciple with the included roles if no User already exists. In the other way, if the client uses the login-form the role associated with the IP should be added to UserPrinciple created by the login-form. Is this possible? How can i add Roles to an already created Subject? Does anyone have an idea, how to get this scenario work? Is there already a filter, wich can handle IP-based authetication? Thanks for help Jochen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946194#3946194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946194 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
