com.HttpRequest.clearAuthentication
Removes user-defined authentication.
Syntax
clearAuthentication()
Usage
Removes user-defined authentication.
If an authenticate entry exists in the FGLPROFILE file, it will be used for authentication, even if the user-defined authentication was removed.
The iOS HTTP stack doesn't provide a simple way to handle authentication. The
GMI front-end uses the global iOS credential management system, that keeps credential values of
previous request based on host and realm, until the keep-alive session is closed. Therefore, doing a
clearAuthentication()
on iOS devices does not take effect immediately.
In case of error, the method throws an exception and sets the
status
variable. Depending on the error, a human-readable description of the
problem is available in the sqlca.sqlerrm
register. See Error handling in GWS calls (status).