[jboss-user] [Installation, Configuration & Deployment] - Re: how to encrypt the database connection info in *-ds.xml

drosenstark do-not-reply at jboss.com
Mon Feb 26 10:10:44 EST 2007


I followed the instructions there and it is not working. I assume that i am missing some definition somehwere like in my jboss-web.xml. When my servlet starts up and tries to access the datasource, i am receiving:
Invalid authentication attempt, principal=null

The entry in the login-config.xml file is as below and i see the entry in the jndi view. I also added in the entry to my jboss-web.xml:
<security-domain>java:/jaas/EncryptTitanAppPassword</security-domain>

Any ideas would be appreciated.



    <application-policy name="EncryptTitanAppPassword">
       
          <login-module code="org.jboss.resource.security.SecureIdentityLoginModule"
             flag = "required">
               <module-option name="username">db_app</module-option>
               <module-option name="password">-608c5c4947ba8657d2897448e1d8761d</module-option>
               <module-option name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=db_tomcatdv</module-option>
         </login-module>
      
    </application-policy>



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022473



More information about the jboss-user mailing list