[jboss-jira] [JBoss JIRA] (ELY-1436) Log jdbc-realm key-mapper processing

Darran Lofthouse (JIRA) issues at jboss.org
Tue Nov 7 05:13:00 EST 2017


     [ https://issues.jboss.org/browse/ELY-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse reassigned ELY-1436:
-------------------------------------

    Assignee:     (was: Darran Lofthouse)


> Log jdbc-realm key-mapper processing
> ------------------------------------
>
>                 Key: ELY-1436
>                 URL: https://issues.jboss.org/browse/ELY-1436
>             Project: WildFly Elytron
>          Issue Type: Bug
>            Reporter: Martin Choma
>
> User reported problem with getting work jdbc_realm with bcrypt mapper. He had configured org.wildfly.security to log TRACE messages, but log does not provide any useful information regarding mapping password from DB.
> In this case seems problem was in mixing base64 vs. modular crypt format.
> Looking into PasswordKeyMapper there is a lot of logic and lot of steps which can get wrong. So logging some TRACE messages can hint user what is going on and what went wrong.
> Also I have noticed there is unhandled exception. Please at least log some TRACE message.
> {code:java|title=PasswordKeyMapper.java}
> } catch (InvalidKeySpecException e) {
> 	// fall out (unlikely but possible)
> }
> {code}
> [1] https://developer.jboss.org/message/977727



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list