steinarb opened a new pull request #138: Support base64 encoded salt in 
JdbcRealm
URL: https://github.com/apache/shiro/pull/138
 
 
   This fixes [SPAP-552](https://issues.apache.org/jira/browse/SHIRO-552)
   
   The change has been tested in https://github.com/steinarb/authservice/ and 
worked as a drop in replacement for the existing [AuthserviceDbRealm 
](https://github.com/steinarb/authservice/blob/master/authservice.web.security.dbrealm/src/main/java/no/priv/bang/authservice/web/security/dbrealm/AuthserviceDbRealm.java#L25)
   
   Note that the change makes JdbcRealm expect salt to be base64 encoded by 
default.  It is possible to get the original behaviour back, by setting the 
[JdbcRealm saltIsBase64Encoded 
property](https://github.com/steinarb/shiro/blob/shiro-jdbcrealm-bas64-coded-salt/core/src/main/java/org/apache/shiro/realm/jdbc/JdbcRealm.java#L214)
 to false.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to