Class RestfulPrincipalFactory
java.lang.Object
org.apereo.cas.authentication.principal.DefaultPrincipalFactory
org.apereo.cas.authentication.principal.RestfulPrincipalFactory
- All Implemented Interfaces:
Serializable,org.apereo.cas.authentication.principal.PrincipalFactory
This is
RestfulPrincipalFactory.- Since:
- 6.2.0
- See Also:
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.principal.PrincipalFactory
BEAN_NAME -
Constructor Summary
ConstructorsConstructorDescriptionRestfulPrincipalFactory(org.apereo.cas.configuration.model.RestEndpointProperties properties) -
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
-
RestfulPrincipalFactory
public RestfulPrincipalFactory(org.apereo.cas.configuration.model.RestEndpointProperties properties)
-
-
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- Overrides:
createPrincipalin classDefaultPrincipalFactory- Throws:
Throwable
-
equals
- Overrides:
equalsin classDefaultPrincipalFactory
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultPrincipalFactory
-