Hi All, 

I was trying to configure SALT, below is the configuration: 


cas.jdbc.authn.query.encode.sql=SELECT password, salt FROM users WHERE 
emailid=?
cas.jdbc.authn.query.encode.alg=SHA256
#cas.jdbc.authn.query.encode.salt.static=f1nd1ngn3m0
cas.jdbc.authn.query.encode.password=password
cas.jdbc.authn.query.encode.salt=salt
cas.jdbc.authn.query.encode.iterations.field=
cas.jdbc.authn.query.encode.iterations=0

and in deployerConfigContext.xml: 

   <bean id="dataSource"
  class="com.mchange.v2.c3p0.ComboPooledDataSource"
  p:driverClass="${database.driverClass}"
  p:jdbcUrl="${database.url}"
  p:user="${database.user}"
  p:password="${database.password}"
  p:initialPoolSize="${database.pool.minSize}"
  p:minPoolSize="${database.pool.minSize}"
  p:maxPoolSize="${database.pool.maxSize}"
  p:maxIdleTimeExcessConnections="${database.pool.maxIdleTime}"
  p:checkoutTimeout="${database.pool.maxWait}"
  p:acquireIncrement="${database.pool.acquireIncrement}"
  p:acquireRetryAttempts="${database.pool.acquireRetryAttempts}"
  p:acquireRetryDelay="${database.pool.acquireRetryDelay}"
  p:idleConnectionTestPeriod="${database.pool.idleConnectionTestPeriod}"
  p:preferredTestQuery="${database.pool.connectionHealthQuery}" />

<alias name="queryAndEncodeDatabaseAuthenticationHandler" 
alias="primaryAuthenticationHandler" />
<alias name="dataSource" alias="queryEncodeDatabaseDataSource" />

I am not getting any error, also it is not validating and redirecting to 
post login page 


Email id : [email protected]
password (after applying SHA256 with Salt) 
: b7d5f95f03261f201b78f7a133f50848f2389f032b4fec9be07f80b34ae89e09 




salt : f1nd1ngn3m0

Normal Password (unencrypted) : farm1990M0O


As I am not getting any error, I am worried, Please let me know if I am 
doing something wrong. 

Jaya



-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/ecc0c89a-7ef2-4f94-b9c6-7de0272409a6%40apereo.org.

Reply via email to