cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svein Otto Solem (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6984) OAuthJSonProvider mixes expirytime and issuer in writeTokenIntrospection.
Date Mon, 01 Aug 2016 09:48:20 GMT
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)

Mime
View raw message