public class SecurityPolicy extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_ELT |
static String |
DATA_ELT |
static String |
MODULE_ATTR |
static String |
NAME_ATTR |
static String |
PARAM_ATTR |
static String |
PARAMETER_ELT |
static String |
PLUGIN_ATTR |
static String |
PORT_ATTR |
static String |
PROTECTION_ELT |
static String |
PROTOCOL_ELT |
static String |
VALUE_ATTR |
| Modifier and Type | Method and Description |
|---|---|
Node |
findSubNode(String name,
Node node)
Find the named subnode in a node's sublist.
|
List<Node> |
findSubNodes(String name,
Node node)
Find the named subnode in a node's sublist.
|
String[] |
getDataIds() |
Document |
getDocument() |
String |
getProtectionModuleName() |
Integer |
getProtocolListenPort() |
Map<String,String> |
getProtocolParameters() |
String |
getProtocolPluginName() |
static SecurityPolicy |
load(File securityPolicyFile) |
void |
setDataIds(String[] names) |
public static final String DATA_ELT
public static final String ATTRIBUTE_ELT
public static final String NAME_ATTR
public static final String PROTOCOL_ELT
public static final String PARAMETER_ELT
public static final String PARAM_ATTR
public static final String VALUE_ATTR
public static final String PLUGIN_ATTR
public static final String PORT_ATTR
public static final String PROTECTION_ELT
public static final String MODULE_ATTR
public static SecurityPolicy load(File securityPolicyFile) throws ParserConfigurationException, SAXException, IOException
public Document getDocument()
public String[] getDataIds()
public void setDataIds(String[] names)
public String getProtocolPluginName()
public Integer getProtocolListenPort()
public String getProtectionModuleName()
public Node findSubNode(String name, Node node)
name - the tag name for the element to findnode - the element node to start searching frompublic List<Node> findSubNodes(String name, Node node)
name - the tag name for the element to findnode - the element node to start searching fromCopyright © 2017 The CLARUS Consortium. All rights reserved.