com.ibm.sec.authz.jaccplus.internal
Class RequestGenerator
java.lang.Object
com.ibm.sec.authz.jaccplus.internal.RequestGenerator
public class RequestGenerator
- extends java.lang.Object
Utility class used to create XACML4J Request objects based on a JACCPlus EvaluationContext.
Method Summary |
com.ibm.sec.authz.xacml.provider.EntitlementRequest |
createEntitlementRequestForPermission(com.ibm.sec.authz.xacml.provider.Request r,
IPermissionTransformer pt)
Given a Request and an IPermissionTransformer, merge the constant values of the Permission into the
Request, determine the list of AttributeDesignators that need to be extracted via the entitlements call,
and create an EntitlementRequest object. |
com.ibm.sec.authz.xacml.provider.Request |
createRequestForContext(EvaluationContext evalCtx,
java.security.Permission perm)
Create a new XACML4J Request object based on the given EvaluationContext. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestGenerator
public RequestGenerator(java.util.Properties props)
createRequestForContext
public com.ibm.sec.authz.xacml.provider.Request createRequestForContext(EvaluationContext evalCtx,
java.security.Permission perm)
- Create a new XACML4J Request object based on the given EvaluationContext. The
returned Request will be populated with the Subject information as well as the
attributes from registered context handlers.
- Parameters:
evalCtx
-
- Returns:
createEntitlementRequestForPermission
public com.ibm.sec.authz.xacml.provider.EntitlementRequest createEntitlementRequestForPermission(com.ibm.sec.authz.xacml.provider.Request r,
IPermissionTransformer pt)
- Given a Request and an IPermissionTransformer, merge the constant values of the Permission into the
Request, determine the list of AttributeDesignators that need to be extracted via the entitlements call,
and create an EntitlementRequest object.
- Parameters:
r
- pt
-
- Returns:
Copyright © 2009 IBM Corp. All Rights Reserved.