Class DefaultAuthorizationHelper
java.lang.Object
com.ibm.wsspi.rest.handler.helper.DefaultAuthorizationHelper
This helper service performs the default authorization on the given user.
The following table shows the allowed operations for each administrative role.
| Operation | Administrator Role | Reader Role |
|---|---|---|
| GET | X | X |
| PUT | X | |
| POST | X | |
| DELETE | X | |
| OPTIONS | X |
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckAdministratorRole(RESTRequest request, RESTResponse response)
-
Constructor Details
-
DefaultAuthorizationHelper
public DefaultAuthorizationHelper()
-
-
Method Details
-
checkAdministratorRole
public boolean checkAdministratorRole(RESTRequest request, RESTResponse response) throws IOException - Throws:
IOException
-