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

de.gold.scim.common.resources.complex.ChangePasswordConfig Maven / Gradle / Ivy

The newest version!
package de.gold.scim.common.resources.complex;

import java.util.Optional;

import de.gold.scim.common.constants.AttributeNames;
import de.gold.scim.common.resources.base.ScimObjectNode;
import lombok.Builder;


/**
 * author Pascal Knueppel 
* created at: 18.10.2019 - 11:12
*
* A complex type that specifies configuration options related to changing a password. REQUIRED. */ public class ChangePasswordConfig extends ScimObjectNode { @Builder public ChangePasswordConfig(Boolean supported) { super(null); setSupported(supported); } /** * A Boolean value specifying whether or not the operation is supported. REQUIRED. */ public boolean isSupported() { return getBooleanAttribute(AttributeNames.RFC7643.SUPPORTED).orElse(false); } /** * A Boolean value specifying whether or not the operation is supported. REQUIRED. */ public void setSupported(Boolean supported) { setAttribute(AttributeNames.RFC7643.SUPPORTED, Optional.ofNullable(supported).orElse(false)); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy