OAuth2TokenIntrospectionHandler.java revision 5403f22d4095c9f8a934161f3f64078e5b923510
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd * The contents of this file are subject to the terms of the Common Development and
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd * Distribution License (the License). You may not use this file except in compliance with the
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
public JsonValue introspect(OAuth2Request request, String clientId, String tokenType, String tokenId) throws ServerException, NotFoundException {
return null;
* Render the OAuth 2.0 as a JsonValue according to the specification for introspection of OAuth 2.0 tokens.
* @see <a href="http://tools.ietf.org/html/draft-ietf-oauth-introspection-04">OAuth 2.0 Token Introspection</a>
return tokenRepresentation;
protected IntrospectableToken getIntrospectableToken(OAuth2Request request, String tokenType, String tokenId)
} catch (InvalidGrantException e) {
} catch (InvalidGrantException e) {
return token;