com.bea.security.providers.authorization.asi.ARME.evaluator
Interface RequestHandle
- public interface RequestHandle
- Author:
- Copyright © 2004-2008, Oracle and/or its affiliates. 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. |
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 nametypeCheck
- 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 namedata:
- return date- Throws:
- RuntimeException: - may throw RuntimeException while transfer the data to ASI type value.