com.ibm.websphere.wim.util
Class PrincipalUtil

java.lang.Object
  extended by com.ibm.websphere.wim.util.PrincipalUtil

public class PrincipalUtil
extends java.lang.Object

PrincipalUtil is an utility class that contains some utility methods involving principalName in federated repositories.


Field Summary
static java.lang.String CLASSNAME
           
 
Constructor Summary
PrincipalUtil()
           
 
Method Summary
static boolean isRACFUser(java.lang.String userName)
          This method returns true if the user is a RACF user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME
Constructor Detail

PrincipalUtil

public PrincipalUtil()
Method Detail

isRACFUser

public static boolean isRACFUser(java.lang.String userName)
                          throws WIMException
This method returns true if the user is a RACF user.

Note:

This API can only be used if the federated repositories is the current user registry.

Parameters:
userName - Login user name
Throws:
WIMException.
WIMException
Return:
true if the user is a RACF user, see Note above for condition that applies.