Class TokenRequiredClaim

    • Constructor Detail

      • TokenRequiredClaim

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

        public TokenRequiredClaim​(String claim,
                                  String requiredValue)
    • Method Detail

      • getClaim

        public String getClaim()
        claim is a required field that configures the name of the required claim. When taken from the JWT claims, claim must be a string value.


        claim must not be an empty string ("").

      • setClaim

        public void setClaim​(String claim)
        claim is a required field that configures the name of the required claim. When taken from the JWT claims, claim must be a string value.


        claim must not be an empty string ("").

      • getRequiredValue

        public String getRequiredValue()
        requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims. If the value in the JWT claims does not match, the token will be rejected for authentication.


        requiredValue must not be an empty string ("").

      • setRequiredValue

        public void setRequiredValue​(String requiredValue)
        requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims. If the value in the JWT claims does not match, the token will be rejected for authentication.


        requiredValue must not be an empty string ("").

      • getAdditionalProperties

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

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

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