Class PrincipalBearingCredentialsAuthenticationHandler
- java.lang.Object
-
- org.apereo.cas.authentication.AbstractAuthenticationHandler
-
- org.apereo.cas.adaptors.trusted.authentication.handler.support.PrincipalBearingCredentialsAuthenticationHandler
-
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationHandler,org.springframework.core.Ordered
public class PrincipalBearingCredentialsAuthenticationHandler extends org.apereo.cas.authentication.AbstractAuthenticationHandlerAuthenticationHandler which authenticates Principal-bearing credentials. Authentication must have occurred at the time the Principal-bearing credentials were created, so we perform no further authentication. Thus merely by being presented a PrincipalBearingCredential, this handler returns true.- Since:
- 3.0.0
-
-
Constructor Summary
Constructors Constructor Description PrincipalBearingCredentialsAuthenticationHandler(java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, java.lang.Integer order)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apereo.cas.authentication.AuthenticationHandlerExecutionResultauthenticate(org.apereo.cas.authentication.Credential credential)booleansupports(java.lang.Class<? extends org.apereo.cas.authentication.Credential> clazz)booleansupports(org.apereo.cas.authentication.Credential credential)
-
-
-
Constructor Detail
-
PrincipalBearingCredentialsAuthenticationHandler
public PrincipalBearingCredentialsAuthenticationHandler(java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, java.lang.Integer order)
-
-
Method Detail
-
authenticate
public org.apereo.cas.authentication.AuthenticationHandlerExecutionResult authenticate(org.apereo.cas.authentication.Credential credential)
-
supports
public boolean supports(java.lang.Class<? extends org.apereo.cas.authentication.Credential> clazz)
-
supports
public boolean supports(org.apereo.cas.authentication.Credential credential)
-
-