C2050-723 Free Dumps Study Materials
Question 17: An application developer notices that a policy that is expected to grant access
appears in the trace,
however it is not being applied. In addition an error similar to the following example is logged
to the
trace.log file. PolicyManagerImpl.isAllowed isAllowed? User=510; Action=Execute;
Protectable=com.ibm.commerce.catalog.commands.ProductDisplayCmdImpl; Owner=2002;
Resource
Ancestor Orgs=2002,-2001; Resource Applicable Orgs=2002 PolicyManagerImpl.isAllowed
Found
PolicyName:AllUsersExecuteResellerUserCmdResourceGroup; PolicyType: 3; PolicyOwner:
-2001
PolicyManagerImpl.getPolicyApplicableOrgs No organizations subscribe to a policy group
with this policy
PolicyManagerImpl.isAllowed Policy does not apply to the resource's applicable
organizations ...
PolicyManagerImpl.isAllowed PASSED? =false Apart from ensuring that the resource owner
is
subscribing to the correct policy groups and subscribing the organization to the policy group,
what are the
correct values to insert into the ACPLGPSUBS table?
A. orgentity_id = 2002 and acpolgrp_id = 10001(ManagementAndAdministrationPolicyGroup)
and
orgentity_id = 2002 and acpolgrp_id =10003
(CommonShoppingPolicyGroup)
B. orgentity_id = -2001 and acpolgrp_id =
10001(ManagementAndAdministrationPolicyGroup) and
orgentity_id = -2001 and acpolgrp_id =10003
(CommonShoppingPolicyGroup)
C. orgentity_id = -2001 and acpolgrp_id =
10001(ManagementAndAdministrationPolicyGroup)and
orgentity_id = 2002 and acpolgrp_id =10003
(CommonShoppingPolicyGroup)
D. orgentity_id = 2002 and acpolgrp_id =
10001(ManagementAndAdministrationPolicyGroup)and
orgentity_id = -2001 and acpolgrp_id =10003
(CommonShoppingPolicyGroup)
Correct Answer: A