Is there any specific reason why you are creating your own service and a separate login
config file. Usaully, if a custom login module has to be implemented then it is mentioned
in the login-config.xml file which is present in the %JBOSS_HOME%/server/default/conf
folder. Just add your application policy to the existing list in that file and start using
it. Something like:
| <application-policy name = "TestJaasLdapRealm">
| <authentication>
| <login-module code = "com.sample.security.TestLoginModule" flag
= "required">
| <module-option
name="additionalRole">Authenticated</module-option>
| </login-module>
| <login-module code="org.jboss.security.ClientLoginModule"
flag="required" />
| </authentication>
| </application-policy>
You will not need those ga-login-config-service.xml and ga-login-config.xml files. Just
my thoughts. However, if you have a specific requirement of using those files do let us
know.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987468#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...