Skip to content

Commit

Permalink
Run all CheckTokenEndpointTests for opaque tokens as well
Browse files Browse the repository at this point in the history
[#117580865] https://www.pivotaltracker.com/story/show/117580865

Signed-off-by: Jonathan Lo <jlo@us.ibm.com>
  • Loading branch information
Jeremy Coffield authored and cf-identity committed Apr 15, 2016
1 parent 78408b0 commit bc5d4a0
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 105 deletions.
Expand Up @@ -121,7 +121,7 @@ private TokenValidation(RevocableTokenProvisioning tokenProvisioning, String tok
token = tokenProvisioning.retrieve(tokenId).getValue();
} catch (EmptyResultDataAccessException x) {
token = null;
addError("Revocable token with ID:" + tokenId + " not found.");
validationErrors.add(new TokenRevokedException("The token was revoked or the token ID is incorrect: " + tokenId));
}
this.token = token;

Expand Down

0 comments on commit bc5d4a0

Please sign in to comment.