All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jose4j.jwt.consumer.InvalidJwtSignatureException Maven / Gradle / Ivy

There is a newer version: 2.4.1.Final
Show newest version
package org.jose4j.jwt.consumer;

import org.jose4j.jws.JsonWebSignature;

import java.util.Collections;

/**
 *
 */
public class InvalidJwtSignatureException extends InvalidJwtException
{
    public InvalidJwtSignatureException(JsonWebSignature jws, JwtContext jwtContext)
    {
        super("JWT rejected due to invalid signature.",
                Collections.singletonList(new ErrorCodeValidator.Error(ErrorCodes.SIGNATURE_INVALID, "Invalid JWS Signature: " + jws)),
                jwtContext);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy