Class DefaultPrincipalFactory

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.authentication.principal.PrincipalFactory
    Direct Known Subclasses:
    GroovyPrincipalFactory

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.authentication.principal.Principal createPrincipal​(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> attributes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.authentication.principal.PrincipalFactory

        createPrincipal
    • Constructor Detail

      • DefaultPrincipalFactory

        public DefaultPrincipalFactory()
    • Method Detail

      • createPrincipal

        public org.apereo.cas.authentication.principal.Principal createPrincipal​(java.lang.String id,
                                                                                 java.util.Map<java.lang.String,java.lang.Object> attributes)
        Specified by:
        createPrincipal in interface org.apereo.cas.authentication.principal.PrincipalFactory