You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @jzheaux for assigning #9288 and pointing me to this one.
I was thinking to keep reference of Authentication in event classes. To my understanding, AuthorizationSuccessEvent should be raised if AuthorizationDecision.isGranted(), otherwise AuthorizationFailureEvent should be raised.
I mean, either it is granted or not, there is nothing more in AuthorizationDecision.
While wrapping Authentication in events can help in passing GrantedAuthority, Principal, for which either AuthorizationDecision is granted or not, determined with success or failure event respectively.
It would be nice if
AuthorizationFailureEvent
andAuthorizedEvent
each held a reference to theAuthorizationDecision
that was made.The new constructor should not take a
Collection
ofConfigAttribute
s.The text was updated successfully, but these errors were encountered: