Svein Otto Solem created CXF-6984:
-------------------------------------
Summary: OAuthJSonProvider mixes expirytime and issuer in
writeTokenIntrospection.
Key: CXF-6984
URL: https://issues.apache.org/jira/browse/CXF-6984
Project: CXF
Issue Type: Bug
Components: Core
Affects Versions: 3.1.6
Reporter: Svein Otto Solem
Priority: Minor
Checks that Issuer is nonnull but outputs expiry value instead of issuer.
{code:title=org.apache.cxf.rs.security.oauth2.provider.OAuthJSONProvider.java|borderStyle=solid}
// From line 116, version 3.1.6
if (obj.getIss() != null) {
sb.append(",");
appendJsonPair(sb, "iss", obj.getExp(), false); // Wrong value, shoud be
obj.getIss()
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)