Thanks jaikiran!
I solved my problems! But I wondered that: If I write my login-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
|
| <policy>
| <application-policy name = "DB-Domain">
| <authentication>
| <login-module code =
"org.jboss.security.auth.spi.DatabaseServerLoginModule"
| flag = "required">
| <module-option name =
"unauthenticatedIdentity">guest</module-option>
| <module-option name =
"dsJndiName">java:/DefaultDS</module-option>
| <module-option name = "principalsQuery">SELECT PASSWD
FROM USERS WHERE USERID=?</module-option>
| <module-option name = "rolesQuery">SELECT ROLEID,
'Roles' FROM ROLES WHERE USERID=?</module-option>
| </login-module>
| </authentication>
| </application-policy>
| </policy>
When the authentication will fail! But if I use login-config.xml inside
\server\default\conf and add some informations (above) the authentication success! Why ?(
If I want myself write my login-config.xml)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024553#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...