Class IssuedAtClaimsValidator

    • Field Detail

      • clockSkew

        @Nonnull
        private Duration clockSkew
        Clock skew adjustment in both directions to consider still acceptable (Default value: 1 minute).
      • messageLifetime

        @Nonnull
        private Duration messageLifetime
        Amount of time for which a message is valid after it is issued (Default value: 1 minute).
      • requiredRule

        private boolean requiredRule
        Whether this rule is required to be met.
    • Constructor Detail

      • IssuedAtClaimsValidator

        public IssuedAtClaimsValidator()
        Constructor.
    • Method Detail

      • setMessageLifetime

        public void setMessageLifetime​(@Nonnull
                                       Duration lifetime)
        Sets the amount of time for which a message is valid.
        Parameters:
        lifetime - amount of time for which a message is valid
      • setClockSkew

        public void setClockSkew​(@Nonnull
                                 Duration skew)
        Set the clock skew.
        Parameters:
        skew - clock skew to set
      • setRequiredRule

        public void setRequiredRule​(boolean required)
        Sets whether this rule is required to be met.
        Parameters:
        required - whether this rule is required to be met