Class SuccessfulHandlerMetaDataPopulator

  • All Implemented Interfaces:
    org.apereo.cas.authentication.AuthenticationMetaDataPopulator, org.springframework.core.Ordered

    public class SuccessfulHandlerMetaDataPopulator
    extends BaseAuthenticationMetaDataPopulator
    Sets an authentication attribute containing the collection of authentication handlers (by name) that successfully authenticated credential. The attribute name is given by AuthenticationHandler.SUCCESSFUL_AUTHENTICATION_HANDLERS. This component provides a simple method to inject successful handlers into the CAS ticket validation response to support level of assurance and MFA use cases.
    Since:
    4.0.0
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void populateAttributes​(org.apereo.cas.authentication.AuthenticationBuilder builder, org.apereo.cas.authentication.AuthenticationTransaction transaction)  
      boolean supports​(org.apereo.cas.authentication.Credential credential)  
      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationMetaDataPopulator

        getOrder
      • Methods inherited from class java.lang.Object

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

      • SuccessfulHandlerMetaDataPopulator

        public SuccessfulHandlerMetaDataPopulator()
    • Method Detail

      • populateAttributes

        public void populateAttributes​(org.apereo.cas.authentication.AuthenticationBuilder builder,
                                       org.apereo.cas.authentication.AuthenticationTransaction transaction)
      • supports

        public boolean supports​(org.apereo.cas.authentication.Credential credential)