@Override
    public void handleSurrogateAuthenticationSuccessEvent(final CasSurrogateAuthenticationSuccessfulEvent event) throws Throwable {
        notify(event.getPrincipal(), event);
    }
This is {@link DefaultSurrogateAuthenticationEventListener}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-surrogate-core/src/main/java/org/apereo/cas/authentication/event/DefaultSurrogateAuthenticationEventListener.java