Class AuthUser

java.lang.Object
com.bloomberglp.blpapi.AuthUser

public class AuthUser extends Object
This class contains user-specific authorization options.
  • Method Details

    • createWithLogonName

      public static AuthUser createWithLogonName()
      Creates an AuthUser configured for Operating System Login (Domain\User) authorization mode (OS_LOGON).
      Returns:
      created AuthUser object.
    • createWithActiveDirectoryProperty

      public static AuthUser createWithActiveDirectoryProperty(String propertyName)
      Creates an AuthUser configured for Active Directory authorization mode (DIRECTORY_SERVICE). The behavior is undefined when propertyName is null or empty.
      Parameters:
      propertyName - Active Directory property name.
      Returns:
      created AuthUser object.
      Throws:
      IllegalArgumentException - if (@code propertyName} is null or empty.
    • createWithManualOptions

      public static AuthUser createWithManualOptions(String userId, String ipAddress)
      Creates an AuthUser configured for manual authorization. The behavior is undefined when either userId or ipAddress is null or empty.
      Parameters:
      userId - user Id.
      ipAddress - IP address.
      Returns:
      created AuthUser object.