Branch: refs/heads/ZNTA-942-oauth
  Home:   https://github.com/zanata/zanata-server
  Commit: dce080d42983d4556c4b18ad4f277487503d108f
      
https://github.com/zanata/zanata-server/commit/dce080d42983d4556c4b18ad4f277487503d108f
  Author: Patrick Huang <pahu...@redhat.com>
  Date:   2016-05-24 (Tue, 24 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.


  Commit: 5eaee0b2e30e7b7223c63d9048e365b0440e69e2
      
https://github.com/zanata/zanata-server/commit/5eaee0b2e30e7b7223c63d9048e365b0440e69e2
  Author: Patrick Huang <pahu...@redhat.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    A zanata-model/src/main/java/org/zanata/model/AllowedApp.java
    M zanata-model/src/main/java/org/zanata/model/HAccount.java
    A zanata-war/src/main/java/org/zanata/dao/AllowedAppDAO.java
    R zanata-war/src/main/java/org/zanata/dao/AuthorizationCodeDAO.java
    M zanata-war/src/main/java/org/zanata/rest/oauth/TokenService.java
    M zanata-war/src/main/java/org/zanata/security/oauth/AuthorizeAction.java
    M zanata-war/src/main/java/org/zanata/security/oauth/SecurityTokens.java
    A zanata-war/src/main/resources/db/changelogs/db.changelog-4.0.xml
    M zanata-war/src/main/resources/db/db.changelog.xml
    M zanata-war/src/main/webapp-jboss/WEB-INF/classes/META-INF/persistence.xml
    M zanata-war/src/main/webapp/authorize/home.xhtml
    M zanata-war/src/test/resources/META-INF/persistence.xml
    M zanata-war/src/test/resources/arquillian/persistence.xml

  Log Message:
  -----------
  ZNTA-942 - OAuth information persisted to database


  Commit: 619a9937bc6f211b8be366487341ad24a935beeb
      
https://github.com/zanata/zanata-server/commit/619a9937bc6f211b8be366487341ad24a935beeb
  Author: Patrick Huang <pahu...@redhat.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/ApplicationConfiguration.java
    A zanata-war/src/main/java/org/zanata/config/SysConfig.java
    M zanata-war/src/main/java/org/zanata/limits/RateLimitManager.java
    M zanata-war/src/main/java/org/zanata/rest/RestLimitingFilter.java
    M 
zanata-war/src/main/java/org/zanata/rest/ZanataRestSecurityInterceptor.java
    M zanata-war/src/main/java/org/zanata/rest/oauth/AuthorizedResource.java
    A zanata-war/src/main/java/org/zanata/rest/oauth/OAuthUtil.java
    M zanata-war/src/main/java/org/zanata/rest/oauth/TokenService.java
    M 
zanata-war/src/main/java/org/zanata/rest/service/IntrospectableObjectMonitorService.java
    M 
zanata-war/src/main/java/org/zanata/seam/security/ZanataJpaIdentityStore.java
    M zanata-war/src/main/java/org/zanata/security/SecurityFunctions.java
    M zanata-war/src/main/java/org/zanata/security/ZanataIdentity.java
    M zanata-war/src/main/java/org/zanata/security/oauth/AuthorizeAction.java
    M zanata-war/src/main/java/org/zanata/security/oauth/SecurityTokens.java
    M zanata-war/src/main/java/org/zanata/servlet/OAuthFilter.java
    M zanata-war/src/main/java/org/zanata/util/Introspectable.java
    M zanata-war/src/test/java/org/zanata/rest/RestLimitingFilterTest.java
    A 
zanata-war/src/test/java/org/zanata/rest/ZanataRestSecurityInterceptorTest.java
    A zanata-war/src/test/java/org/zanata/security/oauth/SecurityTokensTest.java

  Log Message:
  -----------
  ZNTA-1090 allow REST api to support OAuth


  Commit: 933d11158ba5ef52bc22285b26943798e750b196
      
https://github.com/zanata/zanata-server/commit/933d11158ba5ef52bc22285b26943798e750b196
  Author: Patrick Huang <pahu...@redhat.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/security/oauth/AuthorizeAction.java
    M zanata-war/src/main/java/org/zanata/util/FacesNavigationUtil.java

  Log Message:
  -----------
  ZNTA-1090 - propagate redirect exception


  Commit: 576fc0b9475048881986ec52eccef8e589e8c0e6
      
https://github.com/zanata/zanata-server/commit/576fc0b9475048881986ec52eccef8e589e8c0e6
  Author: Patrick Huang <pahu...@redhat.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M 
zanata-war/src/main/java/org/zanata/rest/ZanataRestSecurityInterceptor.java
    M zanata-war/src/main/java/org/zanata/security/SecurityFunctions.java

  Log Message:
  -----------
  refactor ZanataRestSecurityInterceptor


  Commit: 454cba3a0cb62e6eef71ba1077990590590e4838
      
https://github.com/zanata/zanata-server/commit/454cba3a0cb62e6eef71ba1077990590590e4838
  Author: Patrick Huang <pahu...@redhat.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/ApplicationConfiguration.java
    M zanata-war/src/main/java/org/zanata/config/SystemPropertyConfigStore.java
    M 
zanata-war/src/main/java/org/zanata/rest/ZanataRestSecurityInterceptor.java
    M zanata-war/src/main/java/org/zanata/security/oauth/AuthorizeAction.java
    M zanata-war/src/main/resources/messages.properties
    M zanata-war/src/main/webapp/authorize/home.xhtml

  Log Message:
  -----------
  ZNTA-1090 - system property to disable/enable OAuth


  Commit: 76ba57318047bdc85e611d85a3ba10ea1469533c
      
https://github.com/zanata/zanata-server/commit/76ba57318047bdc85e611d85a3ba10ea1469533c
  Author: Patrick Huang <pahu...@redhat.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M zanata-war/pom.xml
    M 
zanata-war/src/main/java/org/zanata/rest/ZanataRestSecurityInterceptor.java
    M zanata-war/src/main/java/org/zanata/security/oauth/SecurityTokens.java
    R zanata-war/src/main/java/org/zanata/service/AuthenticationService.java
    R 
zanata-war/src/main/java/org/zanata/service/impl/AuthenticationServiceImpl.java
    M zanata-war/src/main/java/org/zanata/servlet/OAuthFilter.java
    M 
zanata-war/src/test/java/org/zanata/rest/ZanataRestSecurityInterceptorTest.java
    M 
zanata-war/src/test/java/org/zanata/rest/service/raw/AnonymousUserRawRestITCase.java
    M zanata-war/src/test/java/org/zanata/security/oauth/SecurityTokensTest.java

  Log Message:
  -----------
  ZNTA-1090 - clean up code and fix errors


Compare: 
https://github.com/zanata/zanata-server/compare/fb8caae9bc18...76ba57318047
_______________________________________________
zanata-commits mailing list
zanata-commits@redhat.com
https://www.redhat.com/mailman/listinfo/zanata-commits

Reply via email to