public class AuthUser extends Object
| Modifier and Type | Method and Description |
|---|---|
static AuthUser |
createWithActiveDirectoryProperty(String propertyName)
Creates an
AuthUser configured for Active Directory
authorization mode (DIRECTORY_SERVICE). |
static AuthUser |
createWithLogonName()
Creates an
AuthUser configured for Operating System Login
(Domain\User) authorization mode (OS_LOGON). |
static AuthUser |
createWithManualOptions(String userId,
String ipAddress)
Creates an
AuthUser configured for manual authorization. |
public static AuthUser createWithLogonName()
AuthUser configured for Operating System Login
(Domain\User) authorization mode (OS_LOGON).AuthUser object.public static AuthUser createWithActiveDirectoryProperty(String propertyName)
AuthUser configured for Active Directory
authorization mode (DIRECTORY_SERVICE). The behavior is undefined
when propertyName is null or empty.propertyName - Active Directory property name.AuthUser object.IllegalArgumentException - if (@code propertyName} is null or empty.public static AuthUser createWithManualOptions(String userId, String ipAddress)
AuthUser configured for manual authorization. The behavior
is undefined when either userId or ipAddress is null
or empty.userId - user Id.ipAddress - IP address.AuthUser object.Copyright © 2021 Bloomberg L.P.. All rights reserved.