0 Replies Latest reply on Dec 2, 2005 2:32 AM by dennisv

    Set truststore property on JaasSecurityDomain

    dennisv

      Hi,

      I defined the following securitydomain in my jboss-service.xml:

       <mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.security:service=SecurityDomain">
       <constructor>
       <arg type="java.lang.String" value="uzitest"/>
       </constructor>
       <attribute name="KeyStoreURL">${jboss.server.home.dir}/conf/uzi_keystore.jks</attribute>
       <attribute name="KeyStorePass">serverstore</attribute>
       <!-- todo set truststore here!! -->
       <depends>jboss.security:service=JaasSecurityManager</depends>
       </mbean>
      


      I also need to define a truststore for this domain, so I can do something like this in my code: domain.getTrustStore();
      Although JaasSecurityDomain defines a getter / setter for a truststore, I'm unable to set it.

      please help!