Package com.winnovative_software
Class AuthenticationOptions
java.lang.Object
com.winnovative_software.AuthenticationOptions
Authentication options for accessing a URL in HTML to PDF converter like
Integrated Windows Authentication in IIS.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpassword()
Gets the password of the user used for authenticationvoid
setPassword
(String password) Sets the password of the user used for authenticationvoid
setUseDefaultCredentials
(boolean useDefaultCredentials) Sets the flag indicating if the HTML to PDF server user account credentials are used when the HTML page being converted is requested.void
setUsername
(String username) Sets the username of the user used for authenticationboolean
Gets the flag indicating if the HTML to PDF server user account credentials are used when the HTML page being converted is requested.username()
Gets the username of the user used for authentication
-
Constructor Details
-
AuthenticationOptions
public AuthenticationOptions()
-
-
Method Details
-
username
Gets the username of the user used for authentication- Returns:
- the username used for authentication
-
setUsername
Sets the username of the user used for authentication- Parameters:
username
- the username used for authentication
-
password
Gets the password of the user used for authentication- Returns:
- the password of the user used for authentication
-
setPassword
Sets the password of the user used for authentication- Parameters:
password
- the password to set
-
useDefaultCredentials
public boolean useDefaultCredentials()Gets the flag indicating if the HTML to PDF server user account credentials are used when the HTML page being converted is requested.- Returns:
- the flag value
-
setUseDefaultCredentials
public void setUseDefaultCredentials(boolean useDefaultCredentials) Sets the flag indicating if the HTML to PDF server user account credentials are used when the HTML page being converted is requested. If theusername()
property is set this property will not have any effect. The default value is true.- Parameters:
useDefaultCredentials
- the flag value to set
-