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
/*
* © 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