Class LDAPAttributeMapping
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.LDAPAttributeMapping
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<LDAPAttributeMappingBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class LDAPAttributeMapping extends Object implements io.fabric8.kubernetes.api.builder.Editable<LDAPAttributeMappingBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
LDAPAttributeMapping maps LDAP attributes to OpenShift identity fields- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LDAPAttributeMapping()No args constructor for use in serializationLDAPAttributeMapping(List<String> email, List<String> id, List<String> name, List<String> preferredUsername)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LDAPAttributeMappingBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getEmail()email is the list of attributes whose values should be used as the email address.List<String>getId()id is the list of attributes whose values should be used as the user ID.List<String>getName()name is the list of attributes whose values should be used as the display name.List<String>getPreferredUsername()preferredUsername is the list of attributes whose values should be used as the preferred username.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEmail(List<String> email)email is the list of attributes whose values should be used as the email address.voidsetId(List<String> id)id is the list of attributes whose values should be used as the user ID.voidsetName(List<String> name)name is the list of attributes whose values should be used as the display name.voidsetPreferredUsername(List<String> preferredUsername)preferredUsername is the list of attributes whose values should be used as the preferred username.LDAPAttributeMappingBuildertoBuilder()
-
-
-
Method Detail
-
getEmail
public List<String> getEmail()
email is the list of attributes whose values should be used as the email address. Optional. If unspecified, no email is set for the identity
-
setEmail
public void setEmail(List<String> email)
email is the list of attributes whose values should be used as the email address. Optional. If unspecified, no email is set for the identity
-
getId
public List<String> getId()
id is the list of attributes whose values should be used as the user ID. Required. First non-empty attribute is used. At least one attribute is required. If none of the listed attribute have a value, authentication fails. LDAP standard identity attribute is "dn"
-
setId
public void setId(List<String> id)
id is the list of attributes whose values should be used as the user ID. Required. First non-empty attribute is used. At least one attribute is required. If none of the listed attribute have a value, authentication fails. LDAP standard identity attribute is "dn"
-
getName
public List<String> getName()
name is the list of attributes whose values should be used as the display name. Optional. If unspecified, no display name is set for the identity LDAP standard display name attribute is "cn"
-
setName
public void setName(List<String> name)
name is the list of attributes whose values should be used as the display name. Optional. If unspecified, no display name is set for the identity LDAP standard display name attribute is "cn"
-
getPreferredUsername
public List<String> getPreferredUsername()
preferredUsername is the list of attributes whose values should be used as the preferred username. LDAP standard login attribute is "uid"
-
setPreferredUsername
public void setPreferredUsername(List<String> preferredUsername)
preferredUsername is the list of attributes whose values should be used as the preferred username. LDAP standard login attribute is "uid"
-
edit
public LDAPAttributeMappingBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<LDAPAttributeMappingBuilder>
-
toBuilder
public LDAPAttributeMappingBuilder toBuilder()
-
-