[zanata/zanata] c85e4f: rhbz803923 - Security system refactoring.

GitHub noreply at github.com
Fri Dec 14 05:57:39 UTC 2012


  Branch: refs/heads/rhbz803923
  Home:   https://github.com/zanata/zanata
  Commit: c85e4f6d8d0a6177d2b0678cafe1deb1c98e2fd1
      https://github.com/zanata/zanata/commit/c85e4f6d8d0a6177d2b0678cafe1deb1c98e2fd1
  Author: Carlos Munoz <camunoz at redhat.com>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/action/InactiveAccountAction.java
    M zanata-war/src/main/java/org/zanata/action/LoginAction.java
    M zanata-war/src/main/java/org/zanata/security/AuthenticationManager.java
    M zanata-war/src/main/java/org/zanata/security/OpenIdLoginModule.java
    A zanata-war/src/main/java/org/zanata/security/ZanataCredentials.java
    R zanata-war/src/main/java/org/zanata/security/ZanataExternalLoginBean.java
    M zanata-war/src/main/java/org/zanata/security/ZanataIdentity.java
    M zanata-war/src/main/java/org/zanata/security/ZanataJpaIdentityStore.java
    M zanata-war/src/main/java/org/zanata/security/ZanataOpenId.java
    M zanata-war/src/main/webapp/WEB-INF/pages.xml
    M zanata-war/src/main/webapp/profile/edit.xhtml
    M zanata-war/src/test/java/org/zanata/rest/service/CopyTransRestTest.java
    M zanata-war/src/test/java/org/zanata/webtrans/server/rpc/RemoteLoggingHandlerTest.java

  Log Message:
  -----------
  rhbz803923 - Security system refactoring.

The current workflow has become too complicated, so centering all the authentication functions around the AuthenticationManager class.
Get rid of the ZanataExternalAuthentication component.
Implement custom Credentials class that also holds the type of authentication being used.
Some work still left to be done, specially around the Open Id 'listeners' and some extra events being triggered (see the AuthenticationManager), but overall it should be much more compact.





More information about the zanata-commits mailing list