com.sapportals.wcm.control.util

Class UserUtil

java.lang.Object
  extended by com.sapportals.wcm.control.util.UserUtil

Deprecated. As of NetWeaver 7.1

public class UserUtil
extends Object

Provide some functions regarding User Copyright 2004 SAP AG


Constructor Summary
UserUtil()
          Deprecated.  
 
Method Summary
static IUser getPrincipal(String userID)
          Deprecated. As of NetWeaver 7.1
static String getUserAttribute(IUser user, String key)
          Deprecated. As of NetWeaver 7.1
static boolean isUserInList(IUMPrincipalList aclPrincipalList, com.sapportals.portal.security.usermanagement.IUser currentUser)
          Deprecated. As of NetWeaver 7.1, replaced by isUserInList(List,com.sap.security.api.IUser)
static boolean isUserInList(List aclPrincipalList, IUser currentUser)
          Deprecated. As of NetWeaver 7.1
static boolean searchUser(IPrincipal aclPrincipal, IUser currentUser)
          Deprecated. As of NetWeaver 7.1
static boolean searchUser(com.sapportals.portal.security.usermanagement.IUMPrincipal aclPrincipal, com.sapportals.portal.security.usermanagement.IUser currentUser)
          Deprecated. As of NetWeaver 7.1, replaced by searchUser(com.sap.security.api.IPrincipal,com.sap.security.api.IUser)
static boolean setUserAttribute(IUser user, String key, String value)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserUtil

public UserUtil()
Deprecated. 
Method Detail

searchUser

public static boolean searchUser(com.sapportals.portal.security.usermanagement.IUMPrincipal aclPrincipal,
                                 com.sapportals.portal.security.usermanagement.IUser currentUser)
Deprecated. As of NetWeaver 7.1, replaced by searchUser(com.sap.security.api.IPrincipal,com.sap.security.api.IUser)

Test if the found IUMPrincipal is the current user or it is a group or a role which includes that user

Parameters:
aclPrincipal -
currentUser -

searchUser

public static boolean searchUser(IPrincipal aclPrincipal,
                                 IUser currentUser)
Deprecated. As of NetWeaver 7.1

Test if the found IUMPrincipal is the current user or it is a group or a role which includes that user

Parameters:
aclPrincipal -
currentUser -
Returns:
true if the found IUMPrincipal is the current user, false if it is a group or a role which includes that user
Since:
NetWeaver 7.1

isUserInList

public static boolean isUserInList(IUMPrincipalList aclPrincipalList,
                                   com.sapportals.portal.security.usermanagement.IUser currentUser)
Deprecated. As of NetWeaver 7.1, replaced by isUserInList(List,com.sap.security.api.IUser)

Check if the given user is in the given principal user


isUserInList

public static boolean isUserInList(List aclPrincipalList,
                                   IUser currentUser)
Deprecated. As of NetWeaver 7.1

Check if the given user is in the given principal user

Since:
NetWeaver 7.1

setUserAttribute

public static final boolean setUserAttribute(IUser user,
                                             String key,
                                             String value)
Deprecated. As of NetWeaver 7.1


getUserAttribute

public static final String getUserAttribute(IUser user,
                                            String key)
Deprecated. As of NetWeaver 7.1


getPrincipal

public static IUser getPrincipal(String userID)
                          throws WcmException
Deprecated. As of NetWeaver 7.1

Throws:
WcmException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice