The AuthorizationService interface will verify user authorization against created policies. Currently, the interface can check whether the user is authorized to perform a particular operation (GET or POST) on a particular HTTP resource. The resource policy needs to be populated with the following information. - subjectid defines Unique opaque value can identify the client to test the resource privilege. - action defines the operation for which authorization is being requested. - resource defines the resource for which authorization is being requested.
Method Summary
java.util.Map<java.lang.String,java.lang.String>
authorize(SecurityContext securityCtx, SubjectID subjectid, oracle.security.idaas.rest.common.Action action, oracle.security.idaas.rest.common.Resource resource, java.util.Map queryParams)
Authorize the end user's privilege on the resource for specified action.