Class DefaultPrincipalFactory

java.lang.Object
org.apereo.cas.authentication.principal.DefaultPrincipalFactory
All Implemented Interfaces:
Serializable, org.apereo.cas.authentication.principal.PrincipalFactory
Direct Known Subclasses:
GroovyPrincipalFactory, RestfulPrincipalFactory

public class DefaultPrincipalFactory extends Object implements org.apereo.cas.authentication.principal.PrincipalFactory
Factory to create SimplePrincipal objects.
Since:
4.1.0
See Also:
  • Field Summary

    Fields inherited from interface org.apereo.cas.authentication.principal.PrincipalFactory

    BEAN_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.authentication.principal.Principal
     
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

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

    createPrincipal, withoutAttributes
  • Constructor Details

    • DefaultPrincipalFactory

      public DefaultPrincipalFactory()
  • Method Details

    • createPrincipal

      public org.apereo.cas.authentication.principal.Principal createPrincipal(String id, Map<String,List<Object>> attributes) throws Throwable
      Specified by:
      createPrincipal in interface org.apereo.cas.authentication.principal.PrincipalFactory
      Throws:
      Throwable
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object