![]()
Supplying NTLM Credentials
You can supply the credentials required for NTLM authentication through events or system properties.
Using Events
You can use the existing ice.net.AuthenticationListener model to facilitate provisioning of NTLM credentials. By adding it to the ice.net.AuthenticationManager, you can retrieve ice.net.AuthenticationEvents.
When a server request for NTLM authentication is encountered, an ice.net.AuthenticationEvent is fired. It contains an ice.authentication.ntlm.NtlmAuthentication object. To complete the authentication, the listener must provide the credentials (domain name, user name, workstation name, and password) to this object.
Using System Properties
You can set the following system properties to define the NTLM credentials:
- ice.authentication.ntlm.domainName
- ice.authentication.ntlm.userName
- ice.authentication.ntlm.workstationName
- ice.authentication.ntlm.password
If an ice.net.AuthenticationListener has been registered with the ice.net.AuthenticationManager, these system properties are not used.
|
Copyright 2005. ICEsoft Technologies, Inc. http://www.icesoft.com |