Configuring the Login

For an AIS client to call AIS services, the AIS client must first obtain a login environment by passing the following information to the constructor in the LoginEnvironment object:

  • EnterpriseOne login credentials. EnterpriseOne credentials include a user ID, password, environment, and role. The AIS Server configuration uses a default EnterpriseOne environment and role unless you specify a different environment and role here.

  • AIS Server URL and the device name. The device name is a string that represents the device on which the client is running. The device name serves as a unique identifier for your client.

  • A list of required capabilities. (Optional) If the AIS client uses AIS Server capabilities, then you have the option to pass a list of required capabilities to the LoginEnvironment constructor. The LoginEnvironment constructor verifies that the capabilities are available on the AIS Server. If they are available, access to the AIS client is granted. If they are not available, access is denied.

    This prevents an AIS client from running if the AIS Server capability that it requires to properly function is not available in the version of the AIS Server. See Understanding AIS Server Capabilities for a list of AIS Server capabilities available by EnterpriseOne Tools release.

When the client requests a LoginEnvironment, the processing within the API uses the defaultconfg and tokenrequest URI endpoints. For a description of these endpoints, see the "AIS Services (Endpoints)" section in the JD Edwards EnterpriseOne Application Interface Services Server Reference Guide.