Class 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 Detail

      • PrefixedClaimMapping

        public PrefixedClaimMapping()
        No args constructor for use in serialization
      • PrefixedClaimMapping

        public PrefixedClaimMapping​(String claim,
                                    String prefix)
    • 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".

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)