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

    Help me to form security domain CLI command

    Balasubramanian Ponmariappan Newbie

      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
          Filip Bogyai Newbie

          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"])