[jboss-user] [JBoss Portal] - Re: JBoss portal Passwords are encrypted. -- How do i decry

bmcgovern do-not-reply at jboss.com
Wed Nov 22 12:06:27 EST 2006

By the way, this is my login-config.xml and hashAlgorithm doesnt work.  But Programmatically converting string to MD5 does.  Any ideas?

  | <application-policy name="portal">
  | 	  <authentication>
  |          <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required">
  | 	   <module-option name="dsJndiName">java:/PortalDS</module-option>
  | 	   <module-option name="principalsQuery">SELECT jbp_password FROM jbp_users WHERE jbp_uname=?</module-option>
  |    	   <module-option name="rolesQuery">SELECT jbp_roles.jbp_name, 'Roles' FROM  jbp_role_membership INNER JOIN jbp_roles ON jbp_role_membership.jbp_rid = jbp_roles.jbp_rid INNER JOIN jbp_users ON jbp_role_membership.jbp_uid = jbp_users.jbp_uid WHERE jbp_users.jbp_uname=?</module-option>
  | 	   <module-option name="hashAlgorithm">MD5</module-option>
  |     </login-module>
  |   </authentication>
  |    </application-policy>

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

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

More information about the jboss-user mailing list