What is the WebADE API?
The WebADE API is a Java-based Application Programmer's Interface for communicating with the WebADE Policy store as well as a toolbox for common tasks. The API is in the form if a JAR file that is included with an application that wishes to integrate with the WebADE Framework.
The WebADE API provides common services related to authorization such as:
- Can Perform Action: Validates whether a user is allowed to perform a specific operation in your application.
- Is In Role: Identifies if tyhe user is in a given role defined by your application.
- Get User Details: Retreive user details such as email address.
- Get Application Preferences: Retreive app configuration from the WebADE store.
- Read/Write User Preferences: Store and retreive a user preference to and from the WebADE store.
- Get Pooled Connection for Action: Retreive a database connection req uired to perform a specific operation in your application.
This is an example of the functionality contained in the WebADE API, please refer to the WebADE Developer Guide in the documentation section for detailed information on the use the the API. The WebADE Javadoc is also posted here for your convenience.
The following diagram illustrates a standard WebADE configuration: