Class SpnegoPrincipalResolver

java.lang.Object
org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver
org.apereo.cas.support.spnego.authentication.principal.SpnegoPrincipalResolver
All Implemented Interfaces:
org.apereo.cas.authentication.principal.PrincipalResolver, org.springframework.core.Ordered

public class SpnegoPrincipalResolver extends org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver
Implementation of a CredentialToPrincipalResolver that takes a SpnegoCredential and returns a SimplePrincipal.
Since:
3.1
  • 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
    SpnegoPrincipalResolver(org.apereo.cas.authentication.principal.resolvers.PrincipalResolutionContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    extractPrincipalId(org.apereo.cas.authentication.Credential credential, Optional<org.apereo.cas.authentication.principal.Principal> currentPrincipal)
     
    boolean
    supports(org.apereo.cas.authentication.Credential credential)
     

    Methods inherited from class org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver

    buildResolvedPrincipal, convertPersonAttributesToPrincipal, getAttributeRepository, getContext, resolve, retrievePersonAttributes, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

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

    getName, getOrder, resolve, resolve
  • Constructor Details

    • SpnegoPrincipalResolver

      public SpnegoPrincipalResolver(org.apereo.cas.authentication.principal.resolvers.PrincipalResolutionContext context)
  • Method Details

    • extractPrincipalId

      protected String extractPrincipalId(org.apereo.cas.authentication.Credential credential, Optional<org.apereo.cas.authentication.principal.Principal> currentPrincipal)
      Overrides:
      extractPrincipalId in class org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver
    • supports

      public boolean supports(org.apereo.cas.authentication.Credential credential)
      Specified by:
      supports in interface org.apereo.cas.authentication.principal.PrincipalResolver
      Overrides:
      supports in class org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver