Hello,

We are trying to update from 6.3.7.1 to 6.4.2 and are facing what seems a 
regression.
We have observed that authentication handlers are called twice when using 
the REST API (and only once when loging in with the UI)

Reproduced with a minimal overlay with no customization. 

curl -X POST -H 'Content-Type: application/x-www-form-urlencoded' -i 
http://localhost/cas/v1/tickets --data 'username=user&password=user'

The log shows duplicated lines for:
       2021-11-19 09:02:14,713 INFO 
[org.apereo.cas.authentication.DefaultAuthenticationManager] - 
Authenticated principal [user] with attributes [{}] via credentials 
[[UsernamePasswordCredential(username=user, source=null, customFields={})]].
and related audit record:
2021-11-19 09:02:14,720 INFO 
[org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit 
trail record BEGIN
=============================================================
WHO: user
WHAT: [UsernamePasswordCredential(username=user, source=null, 
customFields={})]
ACTION: AUTHENTICATION_SUCCESS

Damien


-- 
- 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/d93da71a-9a1d-4ae6-a640-4f293370ed4en%40apereo.org.

Reply via email to