ok, in my login config there are now two application policy configurations:
| <application-policy name="haqcsd">
| <authentication>
| <login-module
code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
| <module-option
name="dsJndiName">java:/MySqlDS</module-option>
| <module-option name="principalsQuery">SELECT
wachtwoord FROM gebruiker WHERE gebruikersnaam=?</module-option>
| <module-option name="rolesQuery">SELECT
gebruiker_type,'Roles' FROM gebruiker WHERE gebruikersnaam=?</module-option>
| <module-option
name="hashAlgorithm">MD5</module-option>
| <module-option
name="hashEncoding">BASE64</module-option>
| </login-module>
| </authentication>
| </application-policy>
| <application-policy name="http">
| <authentication>
| <login-module code = "org.jboss.security.ClientLoginModule"
| flag = "required">
| </login-module>
| </authentication>
| </application-policy>
|
in my jboss-web i select the http security domain
| <jboss-web>
| <security-domain>java:/jaas/http</security-domain>
| </jboss-web>
|
in the Session bean i select the haqcsd domain:
@SecurityDomain("haqcsd")
is this what you ment?
i get "Access to the requested resource has been denied"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908384#3908384
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908384
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user