I am using Gatein 3.6 with JBOSS 7 for my application. I have used Gatein Organization API for creating new groups/permission. Also I could add users to newly created groups. My problem is that I want to set the loginURL and logoutURL in common-configuration.xml each time when I create a new group/permission. Is there any API to set these (loginURL and logoutURL) dynamically when I create the groups? Now it is redirecting to the default URL set in the common-configuration.xml. Somebody please help.......