|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPermissionTransformer
Method Summary | |
---|---|
void |
addPermissionToRequest(java.security.Permission p,
com.ibm.sec.authz.xacml.provider.Request r)
Convert the passed Permission object into XACML format by adding appropriate attributes to the XACML4J request object. |
com.ibm.sec.authz.xacml.policy.Rule |
convertPermissionToRule(java.security.Permission p)
This method is used to convert the passed Permission object into an XACML rule. |
java.security.Permission |
createPermission(com.ibm.sec.authz.xacml.provider.Entitlement entitlement)
Create a instance of a Permission object, based on an XACML4J entitlement. |
java.lang.Object |
getConstantValue(com.ibm.sec.authz.xacml.policy.AttributeDesignator designator)
If the passed AttributeDesignator has a constant value, return it. |
com.ibm.sec.authz.xacml.policy.AttributeDesignator[] |
getVocabulary()
Get the set of AttributeDesignators that this IPermissionTransformer uses to represent this Permission class. |
boolean |
supportsEntitlements()
If true, this permission transformer supports the conversion back from XACML4J entitlements into Permission objects. |
Method Detail |
---|
void addPermissionToRequest(java.security.Permission p, com.ibm.sec.authz.xacml.provider.Request r)
p
- The Permission to convertr
- The XACML request to updatecom.ibm.sec.authz.xacml.policy.Rule convertPermissionToRule(java.security.Permission p) throws com.ibm.sec.authz.xacml.config.XACMLConfigurationException
p
- The Permission object to convert
com.ibm.sec.authz.xacml.config.XACMLConfigurationException
boolean supportsEntitlements()
com.ibm.sec.authz.xacml.policy.AttributeDesignator[] getVocabulary()
java.lang.Object getConstantValue(com.ibm.sec.authz.xacml.policy.AttributeDesignator designator)
designator
-
java.security.Permission createPermission(com.ibm.sec.authz.xacml.provider.Entitlement entitlement)
entitlement
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |