Class EchoingPrincipalResolver
java.lang.Object
org.apereo.cas.authentication.principal.resolvers.EchoingPrincipalResolver
- All Implemented Interfaces:
org.apereo.cas.authentication.principal.PrincipalResolver,org.apereo.cas.util.NamedObject,org.springframework.core.Ordered
public class EchoingPrincipalResolver
extends Object
implements org.apereo.cas.authentication.principal.PrincipalResolver
This is
EchoingPrincipalResolver.- Since:
- 5.1.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface org.apereo.cas.authentication.principal.PrincipalResolver
BEAN_NAME_ATTRIBUTE_REPOSITORY, BEAN_NAME_GLOBAL_PRINCIPAL_ATTRIBUTE_REPOSITORY, BEAN_NAME_PRINCIPAL_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.authentication.principal.attribute.PersonAttributeDaoorg.apereo.cas.authentication.principal.Principalresolve(org.apereo.cas.authentication.Credential credential, Optional<org.apereo.cas.authentication.principal.Principal> principal, Optional<org.apereo.cas.authentication.AuthenticationHandler> handler, Optional<org.apereo.cas.authentication.principal.Service> service) booleansupports(org.apereo.cas.authentication.Credential credential) toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apereo.cas.util.NamedObject
getNameMethods inherited from interface org.apereo.cas.authentication.principal.PrincipalResolver
getOrder, resolve, resolve
-
Constructor Details
-
EchoingPrincipalResolver
public EchoingPrincipalResolver()
-
-
Method Details
-
resolve
public org.apereo.cas.authentication.principal.Principal resolve(org.apereo.cas.authentication.Credential credential, Optional<org.apereo.cas.authentication.principal.Principal> principal, Optional<org.apereo.cas.authentication.AuthenticationHandler> handler, Optional<org.apereo.cas.authentication.principal.Service> service) throws Throwable - Specified by:
resolvein interfaceorg.apereo.cas.authentication.principal.PrincipalResolver- Throws:
Throwable
-
supports
public boolean supports(org.apereo.cas.authentication.Credential credential) - Specified by:
supportsin interfaceorg.apereo.cas.authentication.principal.PrincipalResolver
-
toString
-
getAttributeRepository
public org.apereo.cas.authentication.principal.attribute.PersonAttributeDao getAttributeRepository()- Specified by:
getAttributeRepositoryin interfaceorg.apereo.cas.authentication.principal.PrincipalResolver
-