Class PrefixedClaimMapping
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.PrefixedClaimMapping
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PrefixedClaimMappingBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrefixedClaimMapping extends Object implements io.fabric8.kubernetes.api.builder.Editable<PrefixedClaimMappingBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PrefixedClaimMapping configures a claim mapping that allows for an optional prefix.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrefixedClaimMapping()No args constructor for use in serializationPrefixedClaimMapping(String claim, String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrefixedClaimMappingBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClaim()claim is a required field that configures the JWT token claim whose value is assigned to the cluster identity field associated with this mapping.StringgetPrefix()prefix is an optional field that configures the prefix that will be applied to the cluster identity attribute during the process of mapping JWT claims to cluster identity attributes.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClaim(String claim)claim is a required field that configures the JWT token claim whose value is assigned to the cluster identity field associated with this mapping.voidsetPrefix(String prefix)prefix is an optional field that configures the prefix that will be applied to the cluster identity attribute during the process of mapping JWT claims to cluster identity attributes.PrefixedClaimMappingBuildertoBuilder()
-
-
-
Method Detail
-
getClaim
public String getClaim()
claim is a required field that configures the JWT token claim whose value is assigned to the cluster identity field associated with this mapping.
-
setClaim
public void setClaim(String claim)
claim is a required field that configures the JWT token claim whose value is assigned to the cluster identity field associated with this mapping.
-
getPrefix
public String getPrefix()
prefix is an optional field that configures the prefix that will be applied to the cluster identity attribute during the process of mapping JWT claims to cluster identity attributes.When omitted (""), no prefix is applied to the cluster identity attribute.
Example: if `prefix` is set to "myoidc:" and the `claim` in JWT contains an array of strings "a", "b" and "c", the mapping will result in an array of string "myoidc:a", "myoidc:b" and "myoidc:c".
-
setPrefix
public void setPrefix(String prefix)
prefix is an optional field that configures the prefix that will be applied to the cluster identity attribute during the process of mapping JWT claims to cluster identity attributes.When omitted (""), no prefix is applied to the cluster identity attribute.
Example: if `prefix` is set to "myoidc:" and the `claim` in JWT contains an array of strings "a", "b" and "c", the mapping will result in an array of string "myoidc:a", "myoidc:b" and "myoidc:c".
-
edit
public PrefixedClaimMappingBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PrefixedClaimMappingBuilder>
-
toBuilder
public PrefixedClaimMappingBuilder toBuilder()
-
-