fedora.utilities.install
Class XACMLPolicy
java.lang.Object
fedora.utilities.XMLDocument
fedora.utilities.install.XACMLPolicy
public class XACMLPolicy
- extends XMLDocument
|
Method Summary |
void |
addServerHost(java.lang.String host)
If the Apply element returned by the following XPath
/Policy/Condition[@FunctionId='urn:oasis:names:tc:xacml:1.0:function:not']
/Apply'][@FunctionId='urn:oasis:names:tc:xacml:1.0:function:or']
/Apply'][@FunctionId='urn:oasis:names:tc:xacml:1.0:function:string-at-least-one-member-of']
/Apply'][@FunctionId='urn:oasis:names:tc:xacml:1.0:function:string-bag']
does not already have a child AttributeValue element that matches the
host, add a new AttributeValue element that does. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XACMLPolicy
public XACMLPolicy(java.io.File policyFile,
InstallOptions installOptions)
throws java.io.FileNotFoundException,
org.dom4j.DocumentException
- Throws:
java.io.FileNotFoundException
org.dom4j.DocumentException
XACMLPolicy
public XACMLPolicy(java.io.InputStream policyFile,
InstallOptions installOptions)
throws java.io.FileNotFoundException,
org.dom4j.DocumentException
- Throws:
java.io.FileNotFoundException
org.dom4j.DocumentException
addServerHost
public void addServerHost(java.lang.String host)
- If the Apply element returned by the following XPath
/Policy/Condition[@FunctionId='urn:oasis:names:tc:xacml:1.0:function:not']
/Apply'][@FunctionId='urn:oasis:names:tc:xacml:1.0:function:or']
/Apply'][@FunctionId='urn:oasis:names:tc:xacml:1.0:function:string-at-least-one-member-of']
/Apply'][@FunctionId='urn:oasis:names:tc:xacml:1.0:function:string-bag']
does not already have a child AttributeValue element that matches the
host, add a new AttributeValue element that does.
This is used by the Installer in the event the user chooses a host other
than the default localhost for the Fedora server.
- Parameters:
host -