BEA Systems, Inc.


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


public interface RequestHandle

Author:
Copyright © 2006 BEA Systems, Inc. All Rights Reserved.

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.
 

Method Detail

getAttribute

public 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 -  

appendReturnData

public 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.

Documentation is available at
http://download.oracle.com/docs/cd/E13169_01/ales/docs30