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

UseKey

public class UseKey extends com.sun.xml.ws.policy.PolicyAssertion implements com.sun.xml.ws.security.policy.SecurityAssertionValidator, com.sun.xml.ws.security.policy.UseKey
author
Abhijit Das

Fields Summary
private static QName
sig
private URI
signatureID
private boolean
populated
private AssertionFitness
fitness
Constructors Summary
public UseKey(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
Creates a new instance of UseKeyIMpl

    
            
    
           
        super(name,nestedAssertions,nestedAlternative);    
    
Methods Summary
private voidpopulate()

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

 
        if(!populated){   
            try {        
                this.signatureID = new URI(this.getAttributeValue(sig));       
            } catch (URISyntaxException ex) { 
                logger.log(Level.SEVERE,LogStringsMessages.SP_0102_INVALID_URI_VALUE(this.getAttributeValue(sig)),ex);
                fitness = AssertionFitness.HAS_INVALID_VALUE;        
            }   
            populated = true;   
        }      
        return fitness;  
    
public AssertionFitnessvalidate(boolean isServer)

    
        return populate(isServer);