Class SurrogateAuthenticationEventListener

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleSurrogateAuthenticationFailureEvent​(org.apereo.cas.support.events.authentication.surrogate.CasSurrogateAuthenticationFailureEvent event)
      Handle failure event.
      void handleSurrogateAuthenticationSuccessEvent​(org.apereo.cas.support.events.authentication.surrogate.CasSurrogateAuthenticationSuccessfulEvent event)
      Handle success event.
      protected void notify​(org.apereo.cas.authentication.principal.Principal principal, org.apereo.cas.support.events.AbstractCasEvent event)
      Notify.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SurrogateAuthenticationEventListener

        public SurrogateAuthenticationEventListener()
    • Method Detail

      • handleSurrogateAuthenticationFailureEvent

        @EventListener
        @Async
        public void handleSurrogateAuthenticationFailureEvent​(org.apereo.cas.support.events.authentication.surrogate.CasSurrogateAuthenticationFailureEvent event)
        Handle failure event.
        Parameters:
        event - the event
      • handleSurrogateAuthenticationSuccessEvent

        @EventListener
        @Async
        public void handleSurrogateAuthenticationSuccessEvent​(org.apereo.cas.support.events.authentication.surrogate.CasSurrogateAuthenticationSuccessfulEvent event)
        Handle success event.
        Parameters:
        event - the event
      • notify

        protected void notify​(org.apereo.cas.authentication.principal.Principal principal,
                              org.apereo.cas.support.events.AbstractCasEvent event)
        Notify.
        Parameters:
        principal - the principal
        event - the event