Spring Social
  1. Spring Social
  2. SOCIAL-138

String.getBytes(Charset charset) is not available in Android versions prior to API level 9

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      String.getBytes(Charset charset) is being used in the sign(String signatureBaseString, String key) method of org.springframework.social.oauth1.SigningSupport. The getBytes method is not available in Android versions prior to API level 9, and is also not available in Java 5. The alternate method String.getBytes(String charset) is available. In order to support prior Android versions, we need to change this method to use the alternate form.

      Because of this issue, OAuth 1.0 functionality is only available on Android API level 9 and higher.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Roy Clarkson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: