Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policy.validation.util
Class PolicySubjectValidatorUtil

java.lang.Object
  extended by oracle.wsm.policy.validation.util.PolicySubjectValidatorUtil


public class PolicySubjectValidatorUtil
extends Object
Since:
release specific (what release of product did this appear in)
Version:
$Header: owsm/src/oracle/wsm/policy/validation/util/PolicySubjectValidatorUtil.java /st_owsm/4 2009/02/01 07:16:32 vkdwived Exp $
Author:
pyamuna

Constructor Summary
PolicySubjectValidatorUtil()
           

 

Method Summary
static void checkAttachTo(IPolicySubject policySubject, IPolicy pol, IValidationContext context)
           
static void checkAttachTo(List<IPolicySubject> polSubjects, IPolicy pol, IValidationContext context)
          Checks to ensure the Policy can be attached to the Policy Subject.
static void checkCategory(IPolicySubject polSubject, IPolicy pol, IPolicyReference polRef, IValidationContext context)
          Checks to ensure the category on Policy Reference if defined matches with the category on Policy
static List<IValidationError> validate(IPolicySubject polSubject, List<IPolicyReference> polRefs, List<IPolicy> policies)
          Given a Policy Subject polSubject and Policies attached to the Policy Subject, performs the Policy Subject Validation and returns the Validation Errors

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PolicySubjectValidatorUtil

public PolicySubjectValidatorUtil()

Method Detail

checkAttachTo

public static void checkAttachTo(List<IPolicySubject> polSubjects,
                                 IPolicy pol,
                                 IValidationContext context)
Checks to ensure the Policy can be attached to the Policy Subject. This is performed by ensuring the subjectType on Policy Subject intersects with the attachTo on Policy. Example: subjecType=binding.client.soap.http Policy.attachTo=binding.client.soap.http - Policy can be attached Policy.attachTo=binding.server.soap.http - Policy cannot be attached Policy.attachTo=generic - Policy cannot be attached
Parameters:
polSubject -
pol -
polRef -
context -

checkAttachTo

public static void checkAttachTo(IPolicySubject policySubject,
                                 IPolicy pol,
                                 IValidationContext context)

validate

public static List<IValidationError> validate(IPolicySubject polSubject,
                                              List<IPolicyReference> polRefs,
                                              List<IPolicy> policies)
Given a Policy Subject polSubject and Policies attached to the Policy Subject, performs the Policy Subject Validation and returns the Validation Errors
Parameters:
polSubject -
polMap -
Returns:

checkCategory

public static void checkCategory(IPolicySubject polSubject,
                                 IPolicy pol,
                                 IPolicyReference polRef,
                                 IValidationContext context)
Checks to ensure the category on Policy Reference if defined matches with the category on Policy
Parameters:
polSubject -
pol -
polRef -
context -

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.