SSO Log in with CAS
Use CAS as your Single Sign On (SSO) authentication server to log into Bonita Runtime or REST APIs.
|
For Teamwork, Efficiency, Performance and Enterprise editions only. |
Depending on your underlying authentication service, you may need to provide other information with the API in order to log in. A login method with a map enables you to provide the set of credentials that the authentication service requires. The following example can be used if you are using Bonita with CAS:
final APIClient apiClient = new APIClient();
apiClient.login(Map.of(AuthenticationConstants.CAS_TICKET, ticket));
ProcessAPI processAPI = apiClient.getProcessAPI();