Factory.login

Signature

public void login(String user name, String password, String host name[int :port])

Description

Logs in to the AppScan® Enterprise Server running at the specified URL or on the specified host name. You must log in before you can get assessments published to the AppScan® Source Database.

Parameters

  • username: The user name of the user logging in.
  • password: The password of the user logging in.
  • hostname: The URL or host name host name of the AppScan® Enterprise Server to which you want to log in. hostname can be either an IP address or a domain name.

If necessary, you can specify the AppScan® Enterprise Server port number by appending :<port>. For example, public void login("hwall", "shhh2008", "MyHost:2880").

Throws

OunceException, if the login fails.