[jboss-jira] [JBoss JIRA] (WFLY-4298) DatabaseServerLoginModule doesn't support SHA-512 with Java 8

Markus Eisele (JIRA) issues at jboss.org
Thu Nov 10 07:17:02 EST 2016


    [ https://issues.jboss.org/browse/WFLY-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13320209#comment-13320209 ] 

Markus Eisele commented on WFLY-4298:
-------------------------------------

Dear Sender,

In the absence of your contact, please send your email to "phinz at redhat.com"

Many thanks.


> 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