Re: [cas-user] CAS 5.3, where is LOGGER defined with @Slf4j?

2018-10-08 Thread jaya swamy
How to check whether default authentication configuration is
casuser::Mellon or taking from configured database
Using logs

On Mon 8 Oct, 2018, 8:26 PM Robert Oschwald, 
wrote:

> https://github.com/apereo/cas/blob/5.3.x/lombok.config
>
>
>
> Am 08.10.2018 um 16:53 schrieb Robert Oschwald :
>
> https://projectlombok.org/features/log
>
>
> See lombok.config file
> You need this file in your overlay project.
>
>
>
>
> Am 08.10.2018 um 16:32 schrieb Yan Zhou :
>
> Hello,
>
> Looking at CAS 5.3 source code,   I need to customize action class, so I
> create a class with the same name/package in my overlay, but I cannot
> resolve compile error on LOGGER.
>
> I understand with Lombok and @Slf4j, I get object: log  for free. But, I
> do not know how LOGGER is defined in CAS code.
>
> Thx!
> Yan
>
>
> in action classes, I see this:
>
>
> @Slf4j
> public class SendPasswordResetInstructionsAction extends AbstractAction {
>
> LOGGER.debug(...)   <== this is how logging is done, is this referring to
> the same logger object in parent?
>
> In AbstractAction, i see this.
>
> protected final Log logger = LogFactory.getLog(getClass());
>
> Thanks,
> Yan
>
> --
> - 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/ce7fb5fb-4cfe-4926-a14c-be5a18cb44b1%40apereo.org
> 
> .
>
>
>
> --
> - 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/6D509FDE-F4E6-4564-98F0-BEFAE1F8CB4F%40gmail.com
> 
> .
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6eDNhNteeohu9z_bToT%3DHy2fEfPDNtJkOQ%3DAhs-0%3D11gMyGg%40mail.gmail.com.


[cas-user] CAS SALT not getting Authenticate 4.2.x

2018-09-28 Thread jaya swamy
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: 

   




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


Email id : j...@gmail.com
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 cas-user+unsubscr...@apereo.org.
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.