com.sun.xml.wss.impl.policy
Interface SecurityPolicyGenerator

All Known Implementing Classes:
WSSPolicyGenerator

public interface SecurityPolicyGenerator

A Factory interface for Generating Concrete Security Policies

See Also:
WSSPolicyGenerator

Method Summary
 SecurityPolicy configuration()
          Create and return a new Security Policy Configuration
 MLSPolicy newMLSPolicy()
          Create and return a new Concrete MLS policy
 

Method Detail

newMLSPolicy

MLSPolicy newMLSPolicy()
                       throws PolicyGenerationException
Create and return a new Concrete MLS policy

Returns:
a new Concrete MLS policy
Throws:
PolicyGenerationException - if an MLS Policy cannot be generated

configuration

SecurityPolicy configuration()
                             throws PolicyGenerationException
Create and return a new Security Policy Configuration

Returns:
a new Security Policy Configuration
Throws:
PolicyGenerationException - if a Configuration cannot be generated


Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.