Class ScimV2PrincipalProvisioner

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean create​(org.apereo.cas.authentication.Authentication auth, org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.Credential credential)
      Create principal.
      protected boolean createUserResource​(org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.Credential credential)
      Create user resource boolean.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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: PrincipalProvisioner
        Create principal.
        Specified by:
        create in interface PrincipalProvisioner
        Parameters:
        auth - the authentication
        p - the principal
        credential - 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 user
        p - the p
        credential - 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 p
        credential - the credential
        Returns:
        the boolean