[jboss-jira] [JBoss JIRA] (WFLY-4298) DatabaseServerLoginModule doesn't support SHA-512 with Java 8
Markus Eisele (JIRA)
issues at jboss.org
Thu Jan 29 09:42:49 EST 2015
Markus Eisele created WFLY-4298:
-----------------------------------
Summary: DatabaseServerLoginModule doesn't support SHA-512 with Java 8
Key: WFLY-4298
URL: https://issues.jboss.org/browse/WFLY-4298
Project: WildFly
Issue Type: Feature Request
Components: Security
Affects Versions: 8.2.0.Final
Environment: Win 7, x64
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
Reporter: Markus Eisele
Assignee: Darran Lofthouse
I tried to use the following security domain configuration:
<security-domain name="secureDomain" cache-type="default">
<authentication>
<login-module code="Database" flag="required">
<module-option name="dsJndiName" value="java:jboss/datsources/MySQLTestDS"/>
<module-option name="principalsQuery" value="SELECT password FROM user WHERE email=?"/>
<module-option name="rolesQuery" value="select role, 'Roles' from role where email=?"/>
<module-option name="hashAlgorithm" value="SHA-512"/>
<module-option name="hashEncoding" value="base64"/>
</login-module>
</authentication>
</security-domain>
And never got a user successfully authenticated. Works with hashAlgorithm SHA-256
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list