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 AuthUsercreateWithActiveDirectoryProperty(String propertyName) Creates anAuthUserconfigured for Active Directory authorization mode (DIRECTORY_SERVICE).static AuthUserCreates anAuthUserconfigured for Operating System Login (Domain\User) authorization mode (OS_LOGON).static AuthUsercreateWithManualOptions(String userId, String ipAddress) Creates anAuthUserconfigured for manual authorization.
-
Method Details
-
createWithLogonName
Creates anAuthUserconfigured for Operating System Login (Domain\User) authorization mode (OS_LOGON).- Returns:
- created
AuthUserobject.
-
createWithActiveDirectoryProperty
Creates anAuthUserconfigured for Active Directory authorization mode (DIRECTORY_SERVICE). The behavior is undefined whenpropertyNameisnullor empty.- Parameters:
propertyName- Active Directory property name.- Returns:
- created
AuthUserobject. - Throws:
IllegalArgumentException- if (@code propertyName} isnullor empty.
-
createWithManualOptions
Creates anAuthUserconfigured for manual authorization. The behavior is undefined when eitheruserIdoripAddressisnullor empty.- Parameters:
userId- user Id.ipAddress- IP address.- Returns:
- created
AuthUserobject.
-