After further investigation I see the issue. The code I will be referencing
is UserDataBinderImpl.java under provisioning-java project. The code we
were looking at before, UserLogic will call this classes getUserTO(string
key) method. That method in 2.0.4 had logic to get user by either key or
username, in 2.0.6 it is now only supports key. However, the call into
UserLogic doesn't have the key, only has the username.
*2.0.4*
@Transactional(readOnly = true)
@Override
public UserTO getUserTO(final String key) {
return SyncopeConstants.UUID_PATTERN.matcher(key).matches()
? getUserTO(userDAO.authFind(key), true)
: getUserTO(userDAO.authFindByUsername(key), true);
}
*2.0.6*
@Transactional(readOnly = true)
@Override
public UserTO getUserTO(final String key) {
return getUserTO(userDAO.authFind(key), true);
}
For now, to solve my problem, I will use the 2.0.4 version of this method
locally and await a proper fix for later.
Thanks,
Justin
--
Sent from: http://syncope-user.1051894.n5.nabble.com/