Class OpenIdPrincipalResolver

  • All Implemented Interfaces:
    org.apereo.cas.authentication.principal.PrincipalResolver, org.springframework.core.Ordered

    @Deprecated(since="6.2.0")
    public class OpenIdPrincipalResolver
    extends org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver
    Deprecated.
    6.2
    Implementation of PrincipalResolver that converts the OpenId user name to a Principal.
    Since:
    3.1
    • Field Summary

      • Fields inherited from class org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver

        activeAttributeRepositoryIdentifiers, attributeRepository, principalAttributeNames, principalFactory, principalNameTransformer, resolveAttributes, returnNullIfNoAttributes, useCurrentPrincipalId
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenIdPrincipalResolver​(org.apereo.services.persondir.IPersonAttributeDao attributeRepository, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, boolean returnNullIfNoAttributes, java.lang.String principalAttributeName, boolean useCurrentPrincipalId, boolean resolveAttributes, java.util.Set<java.lang.String> activeAttributeRepositoryIdentifiers)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.lang.String extractPrincipalId​(org.apereo.cas.authentication.Credential credential, java.util.Optional<org.apereo.cas.authentication.principal.Principal> currentPrincipal)
      Deprecated.
       
      boolean supports​(org.apereo.cas.authentication.Credential credential)
      Deprecated.
       
      • Methods inherited from class org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver

        buildResolvedPrincipal, convertPersonAttributesToPrincipal, getActiveAttributeRepositoryIdentifiers, getAttributeRepository, getPrincipalAttributeNames, getPrincipalFactory, getPrincipalNameTransformer, isResolveAttributes, isReturnNullIfNoAttributes, isUseCurrentPrincipalId, 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 Detail

      • OpenIdPrincipalResolver

        public OpenIdPrincipalResolver​(org.apereo.services.persondir.IPersonAttributeDao attributeRepository,
                                       org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
                                       boolean returnNullIfNoAttributes,
                                       java.lang.String principalAttributeName,
                                       boolean useCurrentPrincipalId,
                                       boolean resolveAttributes,
                                       java.util.Set<java.lang.String> activeAttributeRepositoryIdentifiers)
        Deprecated.
    • Method Detail

      • extractPrincipalId

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

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