[jboss-jira] [JBoss JIRA] (WFLY-4298) DatabaseServerLoginModule doesn't support SHA-512 with Java 8
Darran Lofthouse (JIRA)
issues at jboss.org
Thu Nov 10 07:16:01 EST 2016
[ https://issues.jboss.org/browse/WFLY-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darran Lofthouse resolved WFLY-4298.
------------------------------------
Fix Version/s: 11.0.0.Alpha1
Resolution: Out of Date
Application server security is migrating to WildFly Elytron
> 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
> Fix For: 11.0.0.Alpha1
>
>
> 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
(v7.2.3#72005)
More information about the jboss-jira
mailing list