Class actuate.AuthenticationException
Description
AuthenticationException provides an object to pass to a error callback function when an authentication exception occurs. The AuthenticationException object contains references to the URL, the UserId, and the request options used in the authentication attempt.
Constructor
The AuthenticationException object is constructed when actuate.Authenticate( ) fails.
Function summary
Table 4-3 lists actuate.AuthenticationException functions.
actuate.AuthenticationException.getIportalUrl
Syntax
Returns the Deployment Kit for BIRT Reports or Information Console URL.
Returns
Example
The following sample code retrieves the URL from an exception:
actuate.AuthenticationException.getRequestOptions
Syntax
Returns an instance of the requestOptions that modified the URL that caused the exception, if applicable.
Returns
actuate.RequestOptions object. A RequestOptions object defines URL parameters sent in the authentication request, such as the iServer URL, Encyclopedia volume, or repository type. The RequestOptions object can also add custom parameters to the URL.
Example
The following sample code retrieves the RequestOptions object that caused the exception.
actuate.AuthenticationException.getUserId
Syntax
Returns the UserId used in the failed authentication attempt.
Returns
Example
The following sample code retrieves the UserId from an exception:
(c) Copyright Actuate Corporation 2011 |
![]() |