You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by gonzalad <gi...@git.apache.org> on 2017/03/19 20:33:32 UTC

[GitHub] cxf pull request #246: CXF-7264 JPA change userSubject pk to id

GitHub user gonzalad opened a pull request:

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

    CXF-7264 JPA change userSubject pk to id

    Change primary key of UserSubject from login attribute
    to id attribute.
    
    Needed because a userSubject instance is per-authentication
    and an end-user can be authenticated multiple
    times simultaneously (either using different flows or
    by multiple end-user using same credentials).
    
    This commit also fixes CXF-7286: PersistenceException on
    refreshAccessToken:
    PersistenceException: org.hibernate.HibernateException:
    Found shared references to a collection:
    org.apache.cxf.rs.security.oauth2.tokens.bearer.BearerAccessToken.audiences

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

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

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

    https://github.com/apache/cxf/pull/246.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 #246
    
----
commit 14d3b2692722ead55a4f4e03c24f472667f58481
Author: gonzalad <ad...@yahoo.fr>
Date:   2017-03-14T20:17:19Z

    CXF-7264 JPA change userSubject pk to id
    
    Change primary key of UserSubject from login attribute
    to id attribute.
    
    Needed because a userSubject instance is per-authentication
    and an end-user can be authenticated multiple
    times simultaneously (either using different flows or
    by multiple end-user using same credentials).
    
    This commit also fixed CXF-7286: PersistenceException on
    refreshAccessToken:
    PersistenceException: org.hibernate.HibernateException:
    Found shared references to a collection:
    org.apache.cxf.rs.security.oauth2.tokens.bearer.BearerAccessToken.audiences

----


---
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.
---

[GitHub] cxf pull request #246: CXF-7264 JPA change userSubject pk to id

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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.
---