Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
BZ997421 - Added IBM's JDK specific keystore

- Changed the TestJCASymmetricCodec#testDefaultCodec to load a different keystore in case we are running on an IBM JDK. This is because IBM JDK cannot open a keystore created with SunJCE.

- Changed the TestJCASymmetricCodec#testCodecWithGeneratedKey to generate a keystore at every run. While this might slow things a bit for the second run of this test, this is required as the keystore might have been created by a different JVM.

  1. … 1 more file in changeset.
BZ997421 - Added IBM's JDK specific keystore

- Changed the TestJCASymmetricCodec#testDefaultCodec to load a different keystore in case we are running on an IBM JDK. This is because IBM JDK cannot open a keystore created with SunJCE.

- Changed the TestJCASymmetricCodec#testCodecWithGeneratedKey to generate a keystore at every run. While this might slow things a bit for the second run of this test, this is required as the keystore might have been created by a different JVM.

  1. … 1 more file in changeset.
GTNPORTAL-3194 simplify token expiration tests

  1. … 1 more file in changeset.
GTNPORTAL-3194 simplify token expiration tests

  1. … 1 more file in changeset.
GTNPORTAL-3194 simplify token expiration tests

  1. … 1 more file in changeset.
GTNPORTAL-3194 small adjustment to make token tests adaptable to a variety of building environments

  1. … 1 more file in changeset.
GTNPORTAL-3194 Fix token expiration tests failed randomly

  1. … 1 more file in changeset.
GTNPORTAL-3194 Fix token expiration tests failed randomly

  1. … 1 more file in changeset.
GTNPORTAL-3194 Fix token expiration tests failed randomly

  1. … 1 more file in changeset.
GTNPORTAL-3194 TestPlainCookieTokenService test is failed randomly

GTNPORTAL-3194 TestPlainCookieTokenService test is failed randomly

GTNPORTAL-3194: TestPlainCookieTokenService sometimes fails randomly

  1. … 1 more file in changeset.
GTNPORTAL-3194: TestPlainCookieTokenService sometimes fails randomly

  1. … 1 more file in changeset.
GTNPORTAL-3194: TestPlainCookieTokenService sometimes fails randomly

    • -16
    • +13
    ./exoplatform/web/security/AbstractCookieTokenServiceTest.java
  1. … 1 more file in changeset.
Add unit test for SocialNetworkService

    • -0
    • +60
    ./exoplatform/web/security/TestSecureRandomService.java
  1. … 7 more files in changeset.
Remove what we don't need

    • -52
    • +0
    ./exoplatform/web/security/SimpleGeneratorCookieTokenService.java
  1. … 433 more files in changeset.
GTNPORTAL-2941: Improve configurability of CookieTokenService

    • -1
    • +1
    ./exoplatform/web/security/SimpleGeneratorCookieTokenService.java
  1. … 2 more files in changeset.
GTNPORTAL-2869 TestTransientTokenService tests fails in Java 7

  1. … 1 more file in changeset.
GUI improvements, refactoring, access token encryption. Added CodecInitializer, so codec could be used in other components (not just CookieTokenService)

Conflicts:

pom.xml

Added module oauth-common. Refactoring existing code. Remove redundant request to Facebook

Conflicts:

pom.xml

Improvement in FB workflow to handle revoked authorization request

Removed OAuthHelper. Added UISocialLoginButtons and reuse it in UILoginForm.gtmpl and UIRegisterPortlet.gtmpl

Added OAuthDelegateFilter and Oauth integrators to simplify configuration

Added CodecInitializer, so codec could be used in other components (not just for CookieTokenService))

Encryption of oauth accessTokens. AccessTokenInvalidationListener for invalidation of accessTokens when oauth username was changed

Move most of the stuff to oauth-common module. Renamed module oauth to oauth-web

Conflicts:

component/web/pom.xml

Externalize some content in FacebookProcessor, so portlets could read it

    • -2
    • +3
    ./exoplatform/web/security/SimpleGeneratorCookieTokenService.java
  1. … 66 more files in changeset.
GTNPORTAL-2828 CookieTokenService initialization too slow

    • -0
    • +60
    ./exoplatform/web/security/TestSecureRandomService.java
  1. … 11 more files in changeset.
GTNPORTAL-2828 CookieTokenService initialization too slow

    • -0
    • +60
    ./exoplatform/web/security/TestSecureRandomService.java
  1. … 11 more files in changeset.
GTNPORTAL-2473 Encrypt password in CookieTokenService and store salted hashes instead of plain tokens

New JCR mixin node type is used to stay as backwards compatible as

possible.

    • -13
    • +23
    ./exoplatform/web/security/AbstractCookieTokenServiceTest.java
    • -2
    • +30
    ./exoplatform/web/security/SimpleGeneratorCookieTokenService.java
    • -0
    • +47
    ./exoplatform/web/security/TestHashingCookieTokenService.java
    • -0
    • +44
    ./exoplatform/web/security/TestPlainCookieTokenService.java
    • -0
    • +95
    ./exoplatform/web/security/codec/TestJCASymmetricCodec.java
    • -0
    • +65
    ./exoplatform/web/security/hash/TestJCASaltedHashService.java
    • -0
    • +43
    ./exoplatform/web/security/hash/TestXmlSafeSaltedHashCodec.java
  1. … 38 more files in changeset.
GTNPORTAL-2473 Encrypt password in CookieTokenService and store salted hashes instead of plain tokens

New JCR mixin node type is used to stay as backwards compatible as

possible.

    • -13
    • +23
    ./exoplatform/web/security/AbstractCookieTokenServiceTest.java
    • -2
    • +30
    ./exoplatform/web/security/SimpleGeneratorCookieTokenService.java
    • -0
    • +47
    ./exoplatform/web/security/TestHashingCookieTokenService.java
    • -0
    • +44
    ./exoplatform/web/security/TestPlainCookieTokenService.java
    • -0
    • +95
    ./exoplatform/web/security/codec/TestJCASymmetricCodec.java
    • -0
    • +65
    ./exoplatform/web/security/hash/TestJCASaltedHashService.java
    • -0
    • +43
    ./exoplatform/web/security/hash/TestXmlSafeSaltedHashCodec.java
  1. … 38 more files in changeset.
GTNPORTAL-2771 ensure that generated rememberme token is always different

    • -0
    • +52
    ./exoplatform/web/security/SimpleGeneratorCookieTokenService.java
    • -0
    • +69
    ./exoplatform/web/security/TestSimpleGeneratorService.java
  1. … 5 more files in changeset.
GTNPORTAL-2771 ensure that generated rememberme token is always different

    • -0
    • +52
    ./exoplatform/web/security/SimpleGeneratorCookieTokenService.java
    • -0
    • +69
    ./exoplatform/web/security/TestSimpleGeneratorService.java
  1. … 5 more files in changeset.
GTNPORTAL-2730 New code style rules and build level formatting enforcement

    • -55
    • +47
    ./exoplatform/web/security/TestCookieService.java
  1. … 2296 more files in changeset.
GTNPORTAL-2458 Add unit test for token services

    • -0
    • +45
    ./exoplatform/web/security/AbstractTokenServiceTest.java
    • -0
    • +90
    ./exoplatform/web/security/TestCookieService.java
    • -0
    • +94
    ./exoplatform/web/security/TestTransientTokenService.java
  1. … 9 more files in changeset.