Class ProxyingPrincipalResolver

java.lang.Object
org.apereo.cas.authentication.principal.resolvers.ProxyingPrincipalResolver
All Implemented Interfaces:
org.apereo.cas.authentication.principal.PrincipalResolver, org.apereo.cas.util.NamedObject, org.springframework.core.Ordered

public class ProxyingPrincipalResolver extends Object implements org.apereo.cas.authentication.principal.PrincipalResolver
Provides the most basic means of principal resolution.
Since:
4.0.0
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE

    Fields 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
    Constructor
    Description
    ProxyingPrincipalResolver(org.apereo.cas.authentication.principal.PrincipalFactory principalFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.authentication.principal.Principal
    resolve(org.apereo.cas.authentication.Credential credential, Optional<org.apereo.cas.authentication.principal.Principal> currentPrincipal, Optional<org.apereo.cas.authentication.AuthenticationHandler> handler, Optional<org.apereo.cas.authentication.principal.Service> service)
     
    boolean
    supports(org.apereo.cas.authentication.Credential credential)
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apereo.cas.util.NamedObject

    getName

    Methods inherited from interface org.apereo.cas.authentication.principal.PrincipalResolver

    getAttributeRepository, getOrder, resolve, resolve
  • Constructor Details

    • ProxyingPrincipalResolver

      public ProxyingPrincipalResolver(org.apereo.cas.authentication.principal.PrincipalFactory principalFactory)
  • Method Details

    • resolve

      public org.apereo.cas.authentication.principal.Principal resolve(org.apereo.cas.authentication.Credential credential, Optional<org.apereo.cas.authentication.principal.Principal> currentPrincipal, Optional<org.apereo.cas.authentication.AuthenticationHandler> handler, Optional<org.apereo.cas.authentication.principal.Service> service) throws Throwable
      Specified by:
      resolve in interface org.apereo.cas.authentication.principal.PrincipalResolver
      Throws:
      Throwable
    • supports

      public boolean supports(org.apereo.cas.authentication.Credential credential)
      Specified by:
      supports in interface org.apereo.cas.authentication.principal.PrincipalResolver
    • toString

      public String toString()
      Overrides:
      toString in class Object