Package com.ironsoftware.ironpdf.render
Class ChromeHttpLoginCredentials
- java.lang.Object
- 
- com.ironsoftware.ironpdf.render.ChromeHttpLoginCredentials
 
- 
 public final class ChromeHttpLoginCredentials extends Object Provides credentials for IronPdf's embedded Chrome browser to log in to an intranet, extranet or website, impersonating a user. This allows a unique ability to render web-pages as PDFs even on secure intranets, extranets and websites.
- 
- 
Constructor SummaryConstructors Constructor Description ChromeHttpLoginCredentials()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HashMap<String,String>getCustomCookies()Gets custom cookies.StringgetNetworkPassword()Gets network password.StringgetNetworkUsername()Gets network username.booleanisEnableCookies()Is enable cookies boolean.voidsetCustomCookies(HashMap<String,String> customCookies)Sets custom cookies.voidsetEnableCookies(boolean enableCookies)Sets enable cookies.voidsetNetworkPassword(String value)Sets network password.voidsetNetworkUsername(String value)Sets network username.
 
- 
- 
- 
Method Detail- 
getNetworkPasswordpublic String getNetworkPassword() Gets network password. Optional: Password credential for Windows / Linux network security authentication.- Returns:
- the network password
 
 - 
setNetworkPasswordpublic void setNetworkPassword(String value) Sets network password. Optional: Password credential for Windows / Linux network security authentication.- Parameters:
- value- the value
 
 - 
getNetworkUsernamepublic String getNetworkUsername() Gets network username. Optional: User-name credential for Windows / Linux network security authentication.- Returns:
- the network username
 
 - 
setNetworkUsernamepublic void setNetworkUsername(String value) Sets network username. Optional: User-name credential for Windows / Linux network security authentication.- Parameters:
- value- the value
 
 - 
isEnableCookiespublic boolean isEnableCookies() Is enable cookies boolean. Using withsetCustomCookies(HashMap)- Returns:
- the boolean
 
 - 
setEnableCookiespublic void setEnableCookies(boolean enableCookies) Sets enable cookies. Using withsetCustomCookies(HashMap)- Parameters:
- enableCookies- enable cookies
 
 - 
getCustomCookiespublic HashMap<String,String> getCustomCookies() Gets custom cookies. A Dictionary which allows custom cookies to be posted with every login request, and HTTP request made by RenderUriToHml methods.- Returns:
- the new HashMap of custom cookies
 
 
- 
 
-