Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: OAuth 2.0

  1. #11
    Join Date
    Jun 2005
    Posts
    4,241

    Default

    OK, I get the same with Java 7. Use Java 6 and it should be OK. I'll try and work out what the problem is.

  2. #12
    Join Date
    Jun 2005
    Posts
    4,241

    Default

    Update: there's an incompatible change in the JDK 7 (compared to previous versions). This bug http://bugs.sun.com/bugdatabase/view...bug_id=5045147 was fixed and that pinged our test. It should be working now on master.

  3. #13
    Join Date
    Oct 2012
    Posts
    3

    Default

    Thank you for the fix, but I doesn't work for me with Java 7.

    After git pull I'm getting now:

    Results :

    Failed tests: writeValueAsStringWithNullScope(org.springframewor k.security.oauth2.common.TestOAuth2AccessTokenSeri alizer): Expected test to throw (exception with message a string containing "Scopes cannot be null or empty. Got [null]" and an instance of org.codehaus.jackson.map.JsonMappingException)

    Tests run: 307, Failures: 1, Errors: 0, Skipped: 0


    Java 6 is working.
    Last edited by zendem; Oct 23rd, 2012 at 10:56 AM.

  4. #14
    Join Date
    Jun 2005
    Posts
    4,241

    Default

    Right. That should be fixed now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •