Seems that in Shiro 1.2.3 is not posible to set SaltStyle.COLUMN enumerated value to JdbcRealm through the INI
It would be nice if the patch of Jerome is applied to the next version of Apache Shiro For the momment, there is a workaround in the next link: http://stackoverflow.com/questions/14877518/passing-values-to-enumerated-properties-in-shiro-ini <http://stackoverflow.com/questions/14877518/passing-values-to-enumerated-properties-in-shiro-ini> public class AuthManager extends HttpServlet { protected SaltStyle saltStyle = SaltStyle.COLUMN; // set remaining fields... public void init() throws ServletException { Collection<Realm> realms=((RealmSecurityManager) securityManager).getRealms(); CustomJdbcRealm jdbcRealm=(CustomJdbcRealm)realms.toArray()[0]; jdbcRealm.setSaltStyle(saltStyle); } -- View this message in context: http://shiro-user.582556.n2.nabble.com/shiro-ini-set-enum-value-for-a-property-object-tp7578343p7579949.html Sent from the Shiro User mailing list archive at Nabble.com.
