Authentication type configured on the server.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("AuthenticationType", "None"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setAuthenticationType(value); value = getImageUploader("ImageUploaderID").getAuthenticationType();
A member of the following enumeration that specifies an authentication type:
String value | Integer value | Description |
---|---|---|
None | 0 | No authentication. |
Ntlm | 1 | NTLM authentication. |
Basic | 2 | Basic authentication. |
When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).
Default value is "None".
This property is used to force Image Uploader to display a corresponding authentication dialog in the case when basic or ntlm authentication is set on the server.