Package org.apereo.cas.scim.v2
Class ScimV2PrincipalProvisioner
- java.lang.Object
-
- org.apereo.cas.scim.v2.ScimV2PrincipalProvisioner
-
- All Implemented Interfaces:
PrincipalProvisioner
public class ScimV2PrincipalProvisioner extends java.lang.Object implements PrincipalProvisioner
This isScimV2PrincipalProvisioner.- Since:
- 5.1.0
-
-
Constructor Summary
Constructors Constructor Description ScimV2PrincipalProvisioner(java.lang.String target, java.lang.String oauthToken, java.lang.String username, java.lang.String password, ScimV2PrincipalAttributeMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreate(org.apereo.cas.authentication.Authentication auth, org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.Credential credential)Create principal.protected booleancreateUserResource(org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.Credential credential)Create user resource boolean.protected booleanupdateUserResource(com.unboundid.scim2.common.types.UserResource user, org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.Credential credential)Update user resource boolean.
-
-
-
Constructor Detail
-
ScimV2PrincipalProvisioner
public ScimV2PrincipalProvisioner(java.lang.String target, java.lang.String oauthToken, java.lang.String username, java.lang.String password, ScimV2PrincipalAttributeMapper mapper)
-
-
Method Detail
-
create
public boolean create(org.apereo.cas.authentication.Authentication auth, org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.Credential credential)Description copied from interface:PrincipalProvisionerCreate principal.- Specified by:
createin interfacePrincipalProvisioner- Parameters:
auth- the authenticationp- the principalcredential- the credential- Returns:
- true /false
-
updateUserResource
protected boolean updateUserResource(com.unboundid.scim2.common.types.UserResource user, org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.Credential credential)Update user resource boolean.- Parameters:
user- the userp- the pcredential- the credential- Returns:
- the boolean
-
createUserResource
protected boolean createUserResource(org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.Credential credential)Create user resource boolean.- Parameters:
p- the pcredential- the credential- Returns:
- the boolean
-
-