You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oltu.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2012/07/09 17:23:36 UTC

[jira] [Reopened] (AMBER-33) Grant types need to be updated to latest spec

     [ https://issues.apache.org/jira/browse/AMBER-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso reopened AMBER-33:
--------------------------------

    
> Grant types need to be updated to latest spec
> ---------------------------------------------
>
>                 Key: AMBER-33
>                 URL: https://issues.apache.org/jira/browse/AMBER-33
>             Project: Amber
>          Issue Type: Bug
>          Components: OAuth 2.0 - Authorization Server
>            Reporter: Antonio Sanso
>             Fix For: 0.22
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira