public abstract class SecureApiClient
extends java.lang.Object
Constructor and Description |
---|
SecureApiClient(SecureApiClientConfiguration configuration)
Constructs a new
RqlContentApiClient and initializes
it with the SecureApiClientConfiguration object. |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(java.lang.String userName,
java.lang.String password)
Authorizes the API client session with ticket authentication.
|
java.lang.String |
getTicketExpirationDate()
Returns the expiration date of the authorization ticket.
|
public SecureApiClient(SecureApiClientConfiguration configuration)
RqlContentApiClient
and initializes
it with the SecureApiClientConfiguration
object.configuration
- A configuration object for the API client.public void authenticate(java.lang.String userName, java.lang.String password) throws javax.xml.soap.SOAPException
This method is mandatory for the ticket authentication and should be called in the beginning of the client session.
userName
- The user account id.password
- The user password.javax.xml.soap.SOAPException
public java.lang.String getTicketExpirationDate()