Branch: refs/heads/ZNTA-942-oauth
  Home:   https://github.com/zanata/zanata-server
  Commit: 2df004afd5b3a7d6d371c7164079e8f2b8884736
      
https://github.com/zanata/zanata-server/commit/2df004afd5b3a7d6d371c7164079e8f2b8884736
  Author: Patrick Huang <pahu...@redhat.com>
  Date:   2016-05-06 (Fri, 06 May 2016)

  Changed paths:
    M zanata-war/pom.xml
    M zanata-war/src/main/java/org/zanata/ApplicationConfiguration.java
    M zanata-war/src/main/java/org/zanata/action/LoginAction.java
    A zanata-war/src/main/java/org/zanata/dao/AuthorizationCodeDAO.java
    A zanata-war/src/main/java/org/zanata/rest/oauth/AuthorizedResource.java
    A zanata-war/src/main/java/org/zanata/rest/oauth/TokenService.java
    M zanata-war/src/main/java/org/zanata/rest/service/AccountService.java
    M zanata-war/src/main/java/org/zanata/security/SecurityFunctions.java
    A zanata-war/src/main/java/org/zanata/security/annotations/AuthType.java
    A zanata-war/src/main/java/org/zanata/security/oauth/AuthorizeAction.java
    A zanata-war/src/main/java/org/zanata/security/oauth/SecurityTokens.java
    A zanata-war/src/main/java/org/zanata/service/AuthenticationService.java
    A 
zanata-war/src/main/java/org/zanata/service/impl/AuthenticationServiceImpl.java
    A zanata-war/src/main/java/org/zanata/servlet/OAuthFilter.java
    M zanata-war/src/main/java/org/zanata/servlet/UrlRewriteConfig.java
    M zanata-war/src/main/java/org/zanata/util/FacesNavigationUtil.java
    M zanata-war/src/main/resources/messages.properties
    M zanata-war/src/main/webapp-jboss/WEB-INF/web.xml
    A zanata-war/src/main/webapp/authorize/home.xhtml

  Log Message:
  -----------
  ZNTA-942 make Zanata server an OAuth 2.0 AS and RS

Zanata server now can act as a AS(Authorization Server) and itself being
a RS (Resource Server). It uses authorization code, access token and
refresh token.

This implementation is still a WIP because client id and refresh token
are not persisted to the database. Access token authorization is
temporarily enabled for just one REST resource.


_______________________________________________
zanata-commits mailing list
zanata-commits@redhat.com
https://www.redhat.com/mailman/listinfo/zanata-commits

Reply via email to