Captain-P-Goldfish / scim-for-keycloak

a third party module that extends keycloak by SCIM functionality
BSD 3-Clause "New" or "Revised" License
186 stars 48 forks source link

Support creating users with a password #21

Closed mkg20001 closed 3 years ago

mkg20001 commented 3 years ago

This allows for creating users with a password by setting the "password" attribute if "Change Password Supported" is true, similar to how updateResource handles it

Captain-P-Goldfish commented 3 years ago

Please provide an additional unit test to prevent future regressions. There is already an existing unit test that you can use as template:

@Slf4j
public class UserHandlerTest extends AbstractScimEndpointTest
{

  /**
   * verifies that the user password can be updated if support is enabled
   */
  @Test
  public void testUpdatePassword()
...
mkg20001 commented 3 years ago

Done