Class ProxyPentahoUserRoleHelper
- java.lang.Object
-
- org.pentaho.platform.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)
-
-
Constructor Summary
Constructors Constructor Description ProxyPentahoUserRoleHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.pentaho.platform.api.engine.security.userroledao.IPentahoRole
syncRoles(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role, ProxyPentahoRole proxyRole)
Synchronizesrole
with fields fromproxyRole
.static org.pentaho.platform.api.engine.security.userroledao.IPentahoUser
syncUsers(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user, ProxyPentahoUser proxyUser)
Synchronizesuser
with fields fromproxyUser
.static ProxyPentahoRole
toProxyRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role)
static ProxyPentahoUser
toProxyUser(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user)
-
-
-
Method Detail
-
toProxyUser
public static ProxyPentahoUser toProxyUser(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user)
-
syncUsers
public static org.pentaho.platform.api.engine.security.userroledao.IPentahoUser syncUsers(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user, ProxyPentahoUser proxyUser)
Synchronizesuser
with fields fromproxyUser
. The roles set of givenuser
is unmodified.
-
syncRoles
public static org.pentaho.platform.api.engine.security.userroledao.IPentahoRole syncRoles(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role, ProxyPentahoRole proxyRole)
Synchronizesrole
with fields fromproxyRole
. The users set of givenrole
is unmodified.
-
toProxyRole
public static ProxyPentahoRole toProxyRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role)
-
-