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

    Set truststore property on JaasSecurityDomain

    Den Vel Newbie


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

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

      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!