TPS Client Java API

From Dogtag
Jump to: navigation, search

TPS Client Java API

To create a TPS session:

TPSClient tpsClient = new TPSClient(client);
AccountInfo accountInfo = tpsClient.login();

The AccountInfo contains information about the subsystem user (e.g. user ID, full name, email, roles).

To remove the session:

tpsClient.logout();

See also TPSClient.

References