1 Reply Latest reply on Jul 14, 2014 3:58 AM by fbogyai

    Help me to form security domain CLI command

    spkbmanian

      Hi All,

                       i want to have CLI commands for the below security domain. Please help me on this.

       

      <security-domain name="encrypted-ds" cache-type="default">

           <authentication>

               <login-module code="org.picketbox.datasource.security.SecureIdentityLoginModule" flag="required">

                   <module-option name="username" value="dbUserOne"/>

                   <module-option name="password" value="-5bbc51443039e029747687c1d9ec6a8d"/>

                   <module-option name="managedConnectionFactoryName" value="jboss.jca:service=LocalTxCM,name=MySqlDS_Pool"/>

               </login-module>

           </authentication>

        </security-domain>

       

      thanks

        • 1. Re: Help me to form security domain CLI command
          fbogyai

          Hi,

          these CLI commands should create your security domain. If you want to use them in domain mode, just add to to the beginning /profile="your_profile"

           

          /subsystem=security/security-domain=encrypted-ds:add(cache-type=default)

          /subsystem=security/security-domain=encrypted-ds/authentication=classic:add()

          /subsystem=security/security-domain=encrypted-ds/authentication=classic/login-module=SecureIdentity:add(code=org.picketbox.datasource.security.SecureIdentityLoginModule,flag=required,module-options=["username"=>"dbUserOne","password"=>"-5bbc51443039e029747687c1d9ec6a8d","managedConnectionFactoryName"=>"jboss.jca:service=LocalTxCM,name=MySqlDS_Pool"])