Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Support for registration via OAuth

Conflicts:

webui/portal/src/main/java/org/exoplatform/portal/webui/register/UIRegisterForm.java

Registration workflow improvements and fixes

Conflicts:

webui/portal/src/main/java/org/exoplatform/portal/webui/register/UIRegisterForm.java

Change OAuthDataStorage to SocialNetworkService

Added support for displayName in registration form

Don't store principal in httpSession in facebookProcessor

Fixed localization labels for UIRegistrationForm to be available for OAuth registration

Conflicts:

portlet/exoadmin/src/main/resources/locale/portlet/exoadmin/RegisterPortlet_it.properties

webui/portal/src/main/java/org/exoplatform/portal/webui/register/UIRegisterForm.java

Fix localization messages in UIAccountPortlet

Added linking/unlinking social accounts

Introduce OAuthProviderType enum and refactor code due to it

Refactoring existing code to be more generic (not facebook specific). Introduce OAuthLinkAccountFilter to link new social network

Added messages for success/fail during link social account

Renamed lifecycle class to OAuthLifecycle

    • -0
    • +42
    ./org/gatein/security/oauth/data/SocialNetworkService.java
    • -0
    • +130
    ./org/gatein/security/oauth/data/SocialNetworkServiceImpl.java
    • -0
    • +85
    ./org/gatein/security/oauth/generic/OAuthPrincipal.java
    • -0
    • +50
    ./org/gatein/security/oauth/generic/OAuthProviderType.java
    • -0
    • +50
    ./org/gatein/security/oauth/utils/OAuthUtils.java
  1. … 52 more files in changeset.
Initial support for OAuth. Support for Facebook login. Saving informations about usernames and access tokens to UserProfile

Initial support for Facebook login works (limitation that FB username needs to be same as GateIn username)

Conflicts:

component/web/pom.xml

pom.xml

Saving FB accessToken into userProfile after successful authentication

Simplify code to use newest FacebookProcessor from picketlink 3.x

Logging message

Added method UserDAOImpl.findUserByUniqueAttribute

Added initial logic for deal with storing informations (usernames and accessCodes)

Bind FB username with attribute on user profile

Move GateInException classes to common module to be visible from everywhere. Handle oauth error with duplicate username in OrganizationManagementPortlet

minor change in comment

Added AccountSocial tab to UIAccountSettings portlet

Move webui components for RegistrationPortlet to webui/portal project

Conflicts:

webui/portal/src/main/java/org/exoplatform/portal/webui/register/UIRegisterForm.java

Base methods to AuthenticationRegistry to have it more flexible

    • -0
    • +46
    ./org/gatein/security/oauth/data/OAuthDataStorage.java
    • -0
    • +131
    ./org/gatein/security/oauth/data/OAuthDataStorageImpl.java
    • -0
    • +245
    ./org/gatein/security/oauth/facebook/FacebookFilter.java
    • -0
    • +70
    ./org/gatein/security/oauth/utils/OAuthConstants.java
    • -0
    • +74
    ./org/gatein/security/oauth/utils/OAuthHelper.java
  1. … 42 more files in changeset.