All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.unterrainer.commons.httpserver.jsons.UserDataJson Maven / Gradle / Ivy

There is a newer version: 0.3.14
Show newest version
package info.unterrainer.commons.httpserver.jsons;

import java.util.Set;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class UserDataJson {

	private String userName;
	private String client;

	private String givenName;
	private String familyName;

	private String email;
	private boolean emailVerified;

	private Set realmRoles;
	private Set clientRoles;
	/**
	 * Custom Keycloak-attributes 'tenants_read' and 'tenants_write' that have to be
	 * set under user/attributes within Keycloak and then mapped using an
	 * AttributeMapper within Keycloak as well. Are comma-separated lists of
	 * tenant-IDs.
	 */
	private String readTenants;
	private String writeTenants;

	private boolean isActive;
	private boolean isBearer;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy