public class WindowsAuthenticationCredential extends Object
Represents a container for the windows authentication credentials.
Constructor and Description |
---|
WindowsAuthenticationCredential(String userName,
String password)
Initializes new instance of windows authentication credential.
|
WindowsAuthenticationCredential(String userName,
String password,
String domain)
Initializes new instance of windows authentication credential.
|
Modifier and Type | Method and Description |
---|---|
String |
getDomain()
The domain name.
|
String |
getPassword()
The password.
|
String |
getUserName()
The user name.
|
com.groupdocs.viewer.domain.NetworkCredential |
toNetworkCredential()
Maps windows authentication credential to network credential.
|
public WindowsAuthenticationCredential(String userName, String password)
Initializes new instance of windows authentication credential.
userName
- The use name.password
- The password.public String getUserName()
The user name.
public String getPassword()
The password.
public String getDomain()
The domain name.
public com.groupdocs.viewer.domain.NetworkCredential toNetworkCredential()
Maps windows authentication credential to network credential.
Copyright © 2018. All rights reserved.