karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5581) bin/client -u karaf -p karaf can login if we enable jasypt for jaas
Date Thu, 25 Jan 2018 08:56:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16338940#comment-16338940
] 

Freeman Fang commented on KARAF-5581:
-------------------------------------

This is because each time the JasyptEncryption will generate different digest password from
the plain password, so simply compare the new digest password and the one stored in users.properties
doesn't work.
We should delegate to the jasypt checkPassword method

> bin/client -u karaf -p karaf can login if we enable jasypt for jaas 
> --------------------------------------------------------------------
>
>                 Key: KARAF-5581
>                 URL: https://issues.apache.org/jira/browse/KARAF-5581
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>            Priority: Major
>
> 1. add jasypt-encryption to "featuresBoot" in org.apache.karaf.features.cfg
> 2. encryption.enabled=true, encryption.name=jasypt in org.apache.karaf.jaas.cfg
> 3. start karaf
> 4. verify that jasypt feature is installed 
> 5. bin/client -u karaf -p karaf doesn't work



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message