com.ibm.websphere.wim.util

Class PrincipalUtil

  • java.lang.Object
    • 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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CLASSNAME 
    • Constructor Summary

      Constructors 
      Constructor and Description
      PrincipalUtil() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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 earlier Note for condition that applies.