com.metamatrix.platform.security.api
Class AuthorizationPolicyFactory

java.lang.Object
  extended by com.metamatrix.platform.security.api.AuthorizationPolicyFactory

public class AuthorizationPolicyFactory
extends java.lang.Object

The class build the Policies from the xml file or converts the policies to xml file for importing and exporting of the policy files from one server to another. look in the authorizations.xsd in this package for the format of the XML being imported and exported


Constructor Summary
AuthorizationPolicyFactory()
           
 
Method Summary
static java.util.Collection buildPolicies(java.lang.String vdbName, java.lang.String vdbVersion, char[] xmlContents)
           
static char[] exportPolicies(java.util.Collection roles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationPolicyFactory

public AuthorizationPolicyFactory()
Method Detail

buildPolicies

public static java.util.Collection buildPolicies(java.lang.String vdbName,
                                                 java.lang.String vdbVersion,
                                                 char[] xmlContents)
                                          throws org.xml.sax.SAXException,
                                                 java.io.IOException,
                                                 javax.xml.parsers.ParserConfigurationException
Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException

exportPolicies

public static char[] exportPolicies(java.util.Collection roles)
                             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.