com.ibm.mfp.java.token.validator.TokenValidationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mfp-java-token-validator Show documentation
Show all versions of mfp-java-token-validator Show documentation
IBM MFP Java token validator is used to validate Oauth tokens against an Authorization server, BuildNumber is : 8.0.2017020112
/*
* 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