Class DefaultAuthorizationHelper
- java.lang.Object
-
- com.ibm.wsspi.rest.handler.helper.DefaultAuthorizationHelper
-
public class DefaultAuthorizationHelper extends java.lang.Object
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 Constructor Description DefaultAuthorizationHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkAdministratorRole(RESTRequest request, RESTResponse response)
-
-
-
Method Detail
-
checkAdministratorRole
public boolean checkAdministratorRole(RESTRequest request, RESTResponse response) throws java.io.IOException
- Throws:
java.io.IOException
-
-