1 Reply Latest reply on Aug 28, 2005 12:53 PM by Scott Stark

    Why md5 dont work with me??? :(

    Ângelo Luis Newbie

      im using myql md5 function to cryptography mu pasword!!!

      here is my login-config:

      <application-policy name = "test">

      <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required">
      <module-option name = "unauthenticatedIdentity">guest</module-option>
      <module-option name = "dsJndiName">java:/test</module-option>
      <module-option name = "principalsQuery">SELECT PASSWORD FROM USER WHERE USER = ?</module-option>
      <module-option name = "rolesQuery">SELECT ROLE 'Roles', ROLE_GROUP 'RoleGroups' FROM ROLES WHERE USER = ?</module-option>
      <module-option name = "hashAlgorithm">MD5</module-option>


      why this dont work???