cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gonzalad <...@git.apache.org>
Subject [GitHub] cxf pull request #275: [CXF-7374] Fix for jpa refreshToken writeLock
Date Sun, 28 May 2017 22:48:38 GMT
GitHub user gonzalad opened a pull request:

    https://github.com/apache/cxf/pull/275

    [CXF-7374] Fix for jpa refreshToken writeLock

    Fix for Jpa refreshToken writeLock:
     - writeLock is only called if RT already exist in db
       (rt.accessTokens > 0)
     - writeLock is moved to JPACMTCodeDataProvider
       it can only be used on CMT managed entityManagers
       since the transaction must span all the refreshAccessToken method
       (in non-CMTs, we have multiple tx for this single method).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gonzalad/cxf CXF-7374

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/275.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #275
    
----
commit 07a1641b6d27d73d77b18371b473dcb1500908c7
Author: gonzalad <adr_gonzalez@yahoo.fr>
Date:   2017-05-28T22:45:41Z

    [CXF-7374] Fix for jpa refreshToken writeLock
    
    Fix for Jpa refreshToken writeLock:
     - writeLock is only called if RT already exist in db
       (rt.accessTokens > 0)
     - writeLock is moved to JPACMTCodeDataProvider
       it can only be used on CMT managed entityManagers
       since the transaction must span all the refreshAccessToken method
       (in non-CMTs, we have multiple tx for this single method).

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message