Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6984

OAuthJSonProvider mixes expirytime and issuer in writeTokenIntrospection.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.6
    • 3.1.8, 3.2.0
    • JAX-RS Security
    • None
    • Unknown

    Description

      Checks that Issuer is nonnull but outputs expiry value instead of issuer.

      org.apache.cxf.rs.security.oauth2.provider.OAuthJSONProvider.java
      // 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()
      }
      

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            svein.otto.solem@kantega.no Svein Otto Solem
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: