org.gxos.schema
Class SecurityObject
java.lang.Object
|
+--org.gxos.schema.SecurityObject
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Security
- public abstract class SecurityObject
- extends java.lang.Object
- implements java.io.Serializable
This is the root object type for security. It contains multiple
policies for each service provided in the architecture.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityObject
public SecurityObject()
addPolicy
public void addPolicy(Policy vPolicy)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vPolicy
-
addPolicy
public void addPolicy(int index,
Policy vPolicy)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vPolicy
-
enumeratePolicy
public java.util.Enumeration enumeratePolicy()
getAuthentication
public Authentication getAuthentication()
getPolicy
public Policy getPolicy(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
getPolicy
public Policy[] getPolicy()
getPolicyCount
public int getPolicyCount()
isValid
public boolean isValid()
marshal
public abstract void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public abstract void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
removeAllPolicy
public void removeAllPolicy()
removePolicy
public Policy removePolicy(int index)
- Parameters:
index
-
setAuthentication
public void setAuthentication(Authentication authentication)
- Parameters:
authentication
-
setPolicy
public void setPolicy(int index,
Policy vPolicy)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vPolicy
-
setPolicy
public void setPolicy(Policy[] policyArray)
- Parameters:
policyArray
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException