FileDocCategorySizeDatePackage
ValidatorConfiguration.javaAPI DocExample5793Tue May 29 16:56:48 BST 2007com.sun.xml.ws.security.impl.policy

ValidatorConfiguration

public class ValidatorConfiguration extends com.sun.xml.ws.policy.PolicyAssertion implements com.sun.xml.ws.security.policy.SecurityAssertionValidator, com.sun.xml.ws.security.policy.ValidatorConfiguration
author
K.Venugopal@sun.com

Fields Summary
private boolean
populated
private Iterator
ast
private static QName
cmaxClockSkew
private static QName
smaxClockSkew
private static QName
ctimestampFreshnessLimit
private static QName
stimestampFreshnessLimit
private static QName
smaxNonceAge
private static QName
crevocationEnabled
private static QName
srevocationEnabled
private AssertionFitness
fitness
Constructors Summary
public ValidatorConfiguration()
Creates a new instance of ValidatorConfiguration

           
      
    
public ValidatorConfiguration(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)

        super(name,nestedAssertions,nestedAlternative);
    
Methods Summary
public java.lang.StringgetMaxClockSkew()

       
        if(this.getAttributes().containsKey(cmaxClockSkew)){
            return this.getAttributeValue(cmaxClockSkew);
        }else if(this.getAttributes().containsKey(smaxClockSkew)){
            return this.getAttributeValue(smaxClockSkew);
        }
        return null;
    
public java.lang.StringgetMaxNonceAge()

        if(this.getAttributes().containsKey(smaxNonceAge)){
            return this.getAttributeValue(smaxNonceAge);
        }
        return null;            
    
public java.lang.StringgetRevocationEnabled()

        if(this.getAttributes().containsKey(crevocationEnabled)){
            return this.getAttributeValue(crevocationEnabled);
        }else if(this.getAttributes().containsKey(srevocationEnabled)){
            return this.getAttributeValue(srevocationEnabled);
        }
        return null;
    
public java.lang.StringgetTimestampFreshnessLimit()

         if(this.getAttributes().containsKey(ctimestampFreshnessLimit)){
            return this.getAttributeValue(ctimestampFreshnessLimit);
        }else if(this.getAttributes().containsKey(stimestampFreshnessLimit)){
            return this.getAttributeValue(stimestampFreshnessLimit);
        }
        return null;        
    
public java.util.IteratorgetValidators()

        populate();
        return ast;
    
private voidpopulate()

        populate(false);
    
private synchronized AssertionFitnesspopulate(boolean isServer)

        
        if(!populated){
            this.ast  = this.getNestedAssertionsIterator();
            populated  = true;
        }
        return fitness;        
    
public AssertionFitnessvalidate(boolean isServer)

        return populate(isServer);