@Test(expected = PolicyIdpAccessMismatchServiceProviderException.class) public void testActionNotAllowedSpDoesNotMatch() throws Exception { setupSecurityContext(true, entityMetadata(identityProviderIds), entityMetadata("http: this.subject.actionAllowed(pdpPolicy, PolicyAccess.WRITE, serviceProviderIds[0], EMPTY_LIST); }
public void actionAllowed(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds) { doActionAllowed(pdpPolicy, policyAccess, serviceProviderId, identityProviderIds, true); }
PolicyIdpAccessEnforcer implements JsonMapper { public void actionAllowed(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds) { doActionAllowed(pdpPolicy, policyAccess, serviceProviderId, identityProviderIds, true); } }
PolicyIdpAccessEnforcer implements JsonMapper { public void actionAllowed(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds) { doActionAllowed(pdpPolicy, policyAccess, serviceProviderId, identityProviderIds, true); }  }
PolicyIdpAccessEnforcer implements JsonMapper { public void actionAllowed(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds) { doActionAllowed(pdpPolicy, policyAccess, serviceProviderId, identityProviderIds, true); }  void actionAllowed(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds); boolean actionAllowedIndicator(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds); Iterable<PdpPolicyViolation> filterViolations(Iterable<PdpPolicyViolation> violations); List<PdpPolicyDefinition> filterPdpPolicies(List<PdpPolicyDefinition> policies); List<EntityMetaData> filterIdentityProviders(List<EntityMetaData> identityProviders); static FederatedUser federatedUser(); String username(); String authenticatingAuthority(); String userDisplayName(); boolean isPolicyIdpAccessEnforcementRequired(); }
PolicyIdpAccessEnforcer implements JsonMapper { public void actionAllowed(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds) { doActionAllowed(pdpPolicy, policyAccess, serviceProviderId, identityProviderIds, true); }  void actionAllowed(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds); boolean actionAllowedIndicator(PdpPolicy pdpPolicy, PolicyAccess policyAccess, String serviceProviderId, List<String> identityProviderIds); Iterable<PdpPolicyViolation> filterViolations(Iterable<PdpPolicyViolation> violations); List<PdpPolicyDefinition> filterPdpPolicies(List<PdpPolicyDefinition> policies); List<EntityMetaData> filterIdentityProviders(List<EntityMetaData> identityProviders); static FederatedUser federatedUser(); String username(); String authenticatingAuthority(); String userDisplayName(); boolean isPolicyIdpAccessEnforcementRequired();  }