Skip to content

CreateUserRequest for LDAP #784

@grossth

Description

@grossth

According to https://docs.pivotal.io/pivotalcf/1-9/opsguide/external-user-management.html only origin, externalId, username and one email is required for adding a user from a ldap. But CreateUserRequest always requires password and name and the request will fail with the following error:

Exception in thread "main" java.lang.IllegalStateException: Cannot build CreateUserRequest, some of required attributes are not set [name, password]
	at org.cloudfoundry.uaa.users.CreateUserRequest$Builder.build(CreateUserRequest.java:522)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions