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 #246: CXF-7264 JPA change userSubject pk to id
Date Sun, 19 Mar 2017 20:33:32 GMT
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 <adr_gonzalez@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.
---

Mime
View raw message