Skip navigation links

Oracle Fusion Middleware PDP Extension Java API Reference for Oracle Entitlements Serve
11g Release 1 (11.1.1)

E22853-02 EXAPI


com.bea.security.providers.authorization.asi.ARME.evaluator
Interface RequestHandle


public interface RequestHandle

Method Summary
 void appendReturnData(java.lang.String name, java.lang.Object data)
          appends named attribute.
 com.wles.util.AttributeElement getAttribute(java.lang.String name, boolean typeCheck)
          Get attribute value.
 java.lang.Object getSharedContext(java.lang.String name)
          Get shared context attribute.
 void setSharedContext(java.lang.String name, java.lang.Object data)
          Set shared context attribute.

 

Method Detail

appendReturnData

void appendReturnData(java.lang.String name,
                      java.lang.Object data)
appends named attribute. It will be returned if the rule evaluated to true
Parameters:
name: - attribute name
data: - return date
Throws:
RuntimeException: - may throw RuntimeException while transfer the data to ASI type value.

getAttribute

com.wles.util.AttributeElement getAttribute(java.lang.String name,
                                            boolean typeCheck)
                                            throws com.bea.security.providers.authorization.asi.ARME.exceptions.ArmeRuntimeException,
                                                   com.wles.BadParameterException,
                                                   com.bea.security.providers.authorization.asi.ARME.exceptions.CredvarException,
                                                   com.bea.security.quark.exceptions.ParserException,
                                                   com.bea.security.providers.authorization.asi.ARME.exceptions.NotReadyException
Get attribute value. Static attributes are looked up first, then dynamic attributes. This is done to prevent static attributes overwrite. This function will also typecheck attribute value, and may throw CredvarException in case of type error.
Parameters:
name - attribute name
typeCheck - if do type check
Returns:
an AttributeElement.
Throws:
com.bea.security.providers.authorization.asi.ARME.exceptions.ArmeRuntimeException
com.wles.BadParameterException
com.bea.security.providers.authorization.asi.ARME.exceptions.CredvarException
BoolEvalInternalException
com.bea.security.providers.authorization.asi.ARME.exceptions.NotReadyException
com.bea.security.quark.exceptions.ParserException

getSharedContext

java.lang.Object getSharedContext(java.lang.String name)
Get shared context attribute.
Parameters:
name - name of the shared context attribute
Returns:
value of the shared context attribute

setSharedContext

void setSharedContext(java.lang.String name,
                      java.lang.Object data)
Set shared context attribute. The context attribute can be shared among multiple evaluation functions. If the name already exists, the existing value will be replaced by the new value.
Parameters:
name - name of the shared context attribute
data - value of the shared context attribute

Skip navigation links

Oracle Fusion Middleware PDP Extension Java API Reference for Oracle Entitlements Serve
11g Release 1 (11.1.1)

E22853-02 EXAPI


Copyright © 2011, Oracle. All rights reserved.