Class SuccessfulHandlerMetaDataPopulator
java.lang.Object
org.apereo.cas.authentication.metadata.BaseAuthenticationMetaDataPopulator
org.apereo.cas.authentication.metadata.SuccessfulHandlerMetaDataPopulator
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationMetaDataPopulator,org.springframework.core.Ordered
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateAttributes(org.apereo.cas.authentication.AuthenticationBuilder builder, org.apereo.cas.authentication.AuthenticationTransaction transaction) booleansupports(org.apereo.cas.authentication.Credential credential) toString()Methods inherited from class org.apereo.cas.authentication.metadata.BaseAuthenticationMetaDataPopulator
getOrder, setOrder
-
Constructor Details
-
SuccessfulHandlerMetaDataPopulator
public SuccessfulHandlerMetaDataPopulator()
-
-
Method Details
-
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) -
toString
- Overrides:
toStringin classBaseAuthenticationMetaDataPopulator
-