.NET API Reference for Oracle Entitlements Server 11.1.2
E27727-01

The IPepRequest type exposes the following members.

Methods

  NameDescription
Public methodDecide
Calls the OES authorization service exposed through the web serivce for a decision and returns the information to the caller in the form of a IPepResponse
Public methodGetActionObject
Helper method to return the action object from the initial request. This method returns null for bulk and query request.
Public methodGetOperation
Return the PepRequestOperation for the current PepRequest, which is the type of request: a single decide, a bulk request, query or query verbos.
Public methodGetPepRequestFactory
Returns the IPepRequestFactory object that was used to create this IPepRequest. It is used primarily to get access to the methods of IPepRequestFactory for given IPepRequest.
Public methodGetPepResponseType
Get the responseType used for this request.
Public methodGetResourceActionOnly
Flag saying whether the query is for resource action only
Public methodGetResourceObject
Helper method to return the resource object from the initial request. This method returns null for bulk and query request.
Public methodGetScope
Returns the "scope" that was set for query type request PepRequestOperation. i.e. if this request was created using IPepRequestFactory#NewQueryPepRequest(Object, Object, String, PepRequestQueryType)}, where the String argument contains the scope.
Public methodIsQueryForAllowedResults
Returns a boolean indicating whether the results indicate what is allowed (true) or not allowed (false). The boolean is determined by the value of the that was set in the PepRequestFactory#NewQueryPepRequest(Object, Object, String, PepRequestQueryType)} method to specify the type of results intended to be returned.
Public methodSetAccessSubject
Sets the Subject based on the mapping of natvie C# object containing subject information. Also for the standalon appliaction either string or UserPrincipal object will be used in which we can set the subject information i.e user id and role.
Public methodSetBulkResourceActions
Set the multiple resource and action pairs for the pep request using a list of actions and a list of resources, where both lists must be of equal length. Each resource object in the list is string object which is combination of application name, resource type and resource name.
Public methodSetEnvironment
Sets the environment based on the mapping of natvie C# object which holds the enviroment variables.
Public methodSetPepResponseType
Flag saying whether the query is for resource action only
Public methodSetQueryReturnAllowed
Sets the boolean to true if only a Set of Allowed decisions are to be returned, and false if only a Set of Denied decisions is to be returned. IPepRequestFactory#NewQueryPepRequest
Public methodSetResourceAction
Set the resource and action for IPepRequest. The input resource or action should be string object. The string should be combination of application name, resource type and resource name. The action object only contains the action for example "read" or "write"
Public methodSetResourceActionOnly
Flag saying whether the query is for resource action only
Public methodSetScope
Sets the scope for this request. See IPepRequestFactory#NewQueryPepRequest(Object, Object, String, PepRequestQueryType) for details on scope.

See Also