Uploaded image for project: 'Apache Oltu'
  1. Apache Oltu
  2. OLTU-22

Grant types need to be updated to latest spec

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • oauth2-0.22
    • None
    • None

    Description

      Grant types need to be updated according to latest spec[0].
      Current ones as for [1] are :

      public enum GrantType

      { AUTHORIZATION_CODE("authorization_code"), PASSWORD("password"), ASSERTION("assertion"), REFRESH_TOKEN("refresh_token"), NONE("none"); ..... }

      "asssertion" do not exists anymore, "refresh_token" is now "token" and "client_credentials" needs to be added.
      All the validators need to be updated accordingly.

      patch to follow.

      [0] http://tools.ietf.org/html/draft-ietf-oauth-v2-22
      [1] https://github.com/apache/amber/blob/trunk/oauth-2.0/oauth2-common/src/main/java/org/apache/amber/oauth2/common/message/types/GrantType.java

      Attachments

        Activity

          People

            asanso Antonio Sanso
            asanso Antonio Sanso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: