Documentation for Crowd 1.0. Documentation for other versions of Crowd is available too.
The Crowd framework allows an application to perform authentication and authorisation calls against a mapped directory, including:
Crowd's application provisioning allows an application to be mapped to multiple directories. When an application needs to authenticate or authorise a principal, Crowd will call the directory listed first. If the security call can be processed by the directory, the operation will then return the result. If the call cannot be processed, the next directory in the list will then be used when processing the security call until all directories have been exhausted. If the security call cannot be processed, an Exception
(based on the method) will be thrown.
When an application needs to perform a security request (that is, needs to authenticate or authorise a user) via Crowd's API, the following two steps need to occur:
Should the application's requesting token become invalid, the client library will attempt to re-authenticate and perform the security request. If the second authentication request fails, an Exception
will be thrown, specifying that the application's credentials are invalid.
Diagram — Application Authorisation Sequence: