Class PrincipalFactoryUtils

java.lang.Object
org.apereo.cas.authentication.principal.PrincipalFactoryUtils

public final class PrincipalFactoryUtils extends Object
Since:
5.3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apereo.cas.authentication.principal.PrincipalFactory
    newGroovyPrincipalFactory(org.springframework.core.io.Resource resource)
    New principal factory.
    static org.apereo.cas.authentication.principal.PrincipalFactory
    New principal factory.
    static org.apereo.cas.authentication.principal.PrincipalFactory
    newRestfulPrincipalFactory(org.apereo.cas.configuration.model.RestEndpointProperties properties)
    New restful principal factory .

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • newPrincipalFactory

      public static org.apereo.cas.authentication.principal.PrincipalFactory newPrincipalFactory()
      New principal factory.
      Returns:
      the principal factory
    • newGroovyPrincipalFactory

      public static org.apereo.cas.authentication.principal.PrincipalFactory newGroovyPrincipalFactory(org.springframework.core.io.Resource resource)
      New principal factory.
      Parameters:
      resource - the resource
      Returns:
      the principal factory
    • newRestfulPrincipalFactory

      public static org.apereo.cas.authentication.principal.PrincipalFactory newRestfulPrincipalFactory(org.apereo.cas.configuration.model.RestEndpointProperties properties)
      New restful principal factory .
      Parameters:
      properties - the properties
      Returns:
      the principal factory