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

com.ibm.mfp.java.token.validator.TokenValidationException Maven / Gradle / Ivy

Go to download

IBM MFP Java token validator is used to validate Oauth tokens against an Authorization server, BuildNumber is : 8.0.2017020112

There is a newer version: 8.0.2017020112
Show newest version
/*
 * IBM Confidential OCO Source Materials
 *
 * 5725-I43 Copyright IBM Corp. 2006, 2015
 *
 * The source code for this program is not published or otherwise
 * divested of its trade secrets, irrespective of what has
 * been deposited with the U.S. Copyright Office.
 */

package com.ibm.mfp.java.token.validator;

 /**
 * This exception is thrown by the JAR in cases:
 * - Illegal introspection URI
 * - Problem parsing the Introspection Data from the server
 * - No connection was made with the AZ server
 * Created by Ore Poran on 11/19/15.
 */
public class TokenValidationException extends Exception {
     public int getStatus() {
         return status;
     }

     private int status;

    public TokenValidationException(String message) {
        super(message);
    }

     public TokenValidationException(String message, int status) {
         super(message);
         this.status = status;
     }

    public TokenValidationException(String message, Throwable cause) {
        super(message, cause);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy