I have got JBoss-3.2.4RC1 and succeeded in generating the encryted password but Jboss keep throwing the following exception each time I try to access a page that makes a DB connection via JNDI : java.lang.SecurityException: Invalid authentication attempt, principal=null
I added the following lines to login-config.xml: <application-policy name = "MsqlDbRealm"> <login-module code = "org.jboss.resource.security.SecureIdentityLoginModule" flag = "required"> <module-option name = "username">theuser</module-option> <module-option name = "password">3f1eade193525626</module-option> <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=MYDATASRC</module-option> </login-module> </application-policy> I also added the following line to mssql-ds.xml <security-domain>MsqlDbRealm</security-domain> I'm connecting to an MSSQL 2000 DB. Everything is normally alright when I supply my DB username and password directly in mssql-ds.xml How do I get the encrypted DB factory password to work? Thanks Emmanuel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829644#3829644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829644 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user