Package com.bloomberglp.blpapi
Class AuthUser
java.lang.Object
com.bloomberglp.blpapi.AuthUser
This class contains user-specific authorization options.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AuthUser
createWithActiveDirectoryProperty
(String propertyName) Creates anAuthUser
configured for Active Directory authorization mode (DIRECTORY_SERVICE).static AuthUser
Creates anAuthUser
configured for Operating System Login (Domain\User) authorization mode (OS_LOGON).static AuthUser
createWithManualOptions
(String userId, String ipAddress) Creates anAuthUser
configured for manual authorization.
-
Method Details
-
createWithLogonName
Creates anAuthUser
configured for Operating System Login (Domain\User) authorization mode (OS_LOGON).- Returns:
- created
AuthUser
object.
-
createWithActiveDirectoryProperty
Creates anAuthUser
configured for Active Directory authorization mode (DIRECTORY_SERVICE). The behavior is undefined whenpropertyName
isnull
or empty.- Parameters:
propertyName
- Active Directory property name.- Returns:
- created
AuthUser
object. - Throws:
IllegalArgumentException
- if (@code propertyName} isnull
or empty.
-
createWithManualOptions
Creates anAuthUser
configured for manual authorization. The behavior is undefined when eitheruserId
oripAddress
isnull
or empty.- Parameters:
userId
- user Id.ipAddress
- IP address.- Returns:
- created
AuthUser
object.
-