I fixed it with the following META-INF/jboss-service.xml configuration file:

<?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |     <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" 
  |            name="corview:service=CORViewJAASService">
  |         <attribute name="PolicyConfig" serialDataType="jbxb">
  |                     <jaas:policy
  |                     xsi:schemaLocation="urn:jboss:security-config:4.1 
resource:security-config_4_1.xsd"
  |                     xmlns:jaas="urn:jboss:security-config:4.1"
  |                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |             >
  |             <jaas:application-policy name="corview">
  |                <jaas:authentication>
  |                   <jaas:login-module 
code="org.vss.security.auth.spi.VssLoginModule"
  |                      flag="required">
  |                      <jaas:module-option 
name="unauthenticatedIdentity">guest</jaas:module-option>
  |                   </jaas:login-module>
  |                </jaas:authentication>
  |             </jaas:application-policy>
  |                     </jaas:policy>         
  |             </attribute>
  |         <depends optional-attribute-name="LoginConfigService">
  |             jboss.security:service=XMLLoginConfig
  |         </depends>
  |         <depends optional-attribute-name="SecurityManagerService">
  |             jboss.security:service=JaasSecurityManager
  |         </depends>
  |     </mbean>
  |     <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" 
  |            name="corview:service=CORViewClientJAASService">
  |             <attribute 
name="AuthConfig">META-INF/clientlogin.properties</attribute>
  |         <depends optional-attribute-name="LoginConfigService">
  |             jboss.security:service=XMLLoginConfig
  |         </depends>
  |         <depends optional-attribute-name="SecurityManagerService">
  |             jboss.security:service=JaasSecurityManager
  |         </depends>
  |     </mbean>
  | </server>

Where the clientlogin.properties is the security policy file as described by 
SUN spec:


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918165#3918165

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918165


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to