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 -
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
createPrincipalin interfaceorg.apereo.cas.authentication.principal.PrincipalFactory- Throws:
Throwable
-
equals
-
hashCode
public int hashCode()
-