ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram Pouwelse (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACE-452) Added/Changed users are not persisted by the ACE User Administration
Date Thu, 11 Feb 2016 21:19:18 GMT

    [ https://issues.apache.org/jira/browse/ACE-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143521#comment-15143521
] 

Bram Pouwelse commented on ACE-452:
-----------------------------------

The change in #1569011 does "hide" the problem but doesn't fix the root cause. 

Before the change the UserAdmin users were always refreshed from the user repository from
{{UpdateUserAdminTask#start}} callback.

After the change the run method is called from the {{UpdateUserAdminTask#start}} in the run
method the UserAdmin users are only refreshed in case there are {{ m_repo.isCurrent() }} returns
false. 

So before the change the users were always updated based on the user repository contents and
now they are only updated when there are changes in the user repository. Updating from the
repository shouldn't be a problem BUT the webui doesn't add the users to the repository but
directly to UserAdmin. This is the real cause of the users disappearing. 

Few possible solutions (in order of how much I like them): 
 - Implement the UserAdmin storage interfaces on top of the repository service (and remove
the UpdateUserAdminTask)
 - Update user management in the webui work with the repo instead of useradmin 
 - Sync back the changes in the UserAdmin datastore to the repo  ( possible conflicting changes
)


 

> Added/Changed users are not persisted by the ACE User Administration
> --------------------------------------------------------------------
>
>                 Key: ACE-452
>                 URL: https://issues.apache.org/jira/browse/ACE-452
>             Project: ACE
>          Issue Type: Bug
>            Reporter: Wilfried Sibla
>            Assignee: Marcel Offermans
>             Fix For: 2.0.1
>
>
> When a new user is created or an existing is changed, the changes made are not stored
persistently by the ACE User Administration.
> All works fine (e.g. login with new user) as long as the server isn't restarted.
> After a restart, the new user does not exist any more.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message