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
/*
* © Copyright IBM Corp. 2016
* All Rights Reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/

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