|
Oracle Fusion Middleware PDP Extension Java API Reference for Oracle Entitlements Serve 11g Release 1 (11.1.1) E22853-02 EXAPI |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EvaluationFunctionSample
Sample interface for implementing java ATZ evaluation functions. The public method "string_longer_then" may be invoked to perform complex evaluations on attribute, or external data, while certain policy contains evaluation function with name "string_longer_then". One custom evaluation function must follow rules: 1. be public method. 2. have the same signature with the sample method: string_longer_then. 3. method name will be the evaluation function name.
| Method Summary | |
|---|---|
boolean |
string_longer_then(RequestHandle requestHandle, java.lang.Object[] args, javax.security.auth.Subject subject, java.util.Map roles, weblogic.security.spi.Resource resource, weblogic.security.service.ContextHandler contextHandler)named evaluation function. |
| Method Detail |
|---|
boolean string_longer_then(RequestHandle requestHandle,
java.lang.Object[] args,
javax.security.auth.Subject subject,
java.util.Map roles,
weblogic.security.spi.Resource resource,
weblogic.security.service.ContextHandler contextHandler)
throws com.wles.arme.MissingAttributeException
requestHandle - the attributes container associated with the request, through which the function can get required attribute value.args - an array of function arguments. Each element is either null, or a Stringsubject - the subject associated with the requestroles - the role membership of the subject key: role name. value: role object null if function is called during role mappingresource - the resource associated with the requestcontextHandler - the context associated with the request, may be null if non-existanttrue or false as the result of the functioncom.wles.arme.MissingAttributeException - for can not get required attribute value.
|
Oracle Fusion Middleware PDP Extension Java API Reference for Oracle Entitlements Serve 11g Release 1 (11.1.1) E22853-02 EXAPI |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||