org.pentaho.platform.engine.security.userroledao.ws
Class ProxyPentahoUserRoleHelper
java.lang.Object
org.pentaho.platform.engine.security.userroledao.ws.ProxyPentahoUserRoleHelper
public class ProxyPentahoUserRoleHelper
- extends Object
This class contains helper methods for converting from and to proxy user and roles
- Author:
- Will Gorman (wgorman@pentaho.com)
ProxyPentahoUserRoleHelper
public ProxyPentahoUserRoleHelper()
toProxyUser
public static ProxyPentahoUser toProxyUser(IPentahoUser user)
syncUsers
public static IPentahoUser syncUsers(IPentahoUser user,
ProxyPentahoUser proxyUser)
- Synchronizes
user
with fields from proxyUser
. The roles set of given user
is
unmodified.
syncRoles
public static IPentahoRole syncRoles(IPentahoRole role,
ProxyPentahoRole proxyRole)
- Synchronizes
role
with fields from proxyRole
. The users set of given role
is
unmodified.
toProxyRole
public static ProxyPentahoRole toProxyRole(IPentahoRole role)