Next issue. I wrotte tje jboss-service.xml:

  | <server>
  |   <mbean code="org.jboss.security.plugins.JaasSecurityDomain"
  |       name="jboss.security:service=JaasSecurityDomain,domain=LdapPassword">
  |       <constructor>
  |          <arg type="java.lang.String" value="ServerMasterPassword"/>
  |       </constructor>
  |       <!-- The opaque master password file used to decrypt the encrypted
  |       database password key -->
  |       <attribute 
name="KeyStorePass">{CLASS}org.jboss.security.plugins.FilePassword:${jboss.server.home.dir}/deploy/demo-ear-1.0-SNAPSHOT.ear/toto.sar/META-INF/server.password</attribute>
  |       <attribute name="Salt">MySalt</attribute>
  |       <attribute name="IterationCount">13</attribute>
  |       <depends 
optional-attribute-name="ManagerServiceName">jboss.security:service=JaasSecurityManager</depends>
  |    </mbean> 
  |   <mbean code="org.jboss.security.auth.login.DynamicLoginConfig"
  |       name="jboss:service=DynamicLoginConfig">
  |       <attribute 
name="AuthConfig">file:///${jboss.server.home.dir}/deploy/demo-ear-1.0-SNAPSHOT.ear/toto.sar/META-INF/login-config.xml</attribute>
  |       <!-- The service which supports dynamic processing of login-config.xml
  |          configurations.
  |       -->
  |       <depends optional-attribute-name="LoginConfigService">
  |          jboss.security:service=XMLLoginConfig
  |       </depends>
  |       <!-- Optionally specify the security mgr service to use when
  |          this service is stopped to flush the auth caches of the domains
  |          registered by this service.
  |       -->
  |       <depends optional-attribute-name="SecurityManagerService">
  |          jboss.security:service=JaasSecurityManager
  |       </depends>
  |    </mbean>
  |    
  |  </server>

It references two other files:

${jboss.server.home.dir}/deploy/demo-ear-1.0-SNAPSHOT.ear/toto.sar/META-INF/server.password

file:///${jboss.server.home.dir}/deploy/demo-ear-1.0-SNAPSHOT.ear/toto.sar/META-INF/login-config.xml

I have tried to use relative path in order not to have the ear name in the file 
location. File are not found. 

Is it possible to use relative path for those kinds of attribute ?

Where is the base path ?





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076726
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to