|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--ponderEnforcement.RoleControlObjectImpl
Function: The Implementation of the Role Control Object
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Fields inherited from interface ponderEnforcement.ControlObject |
DORMANT, ENABLED, LOADED |
| Constructor Summary | |
RoleControlObjectImpl(CompositePolicyInst newRole)
Constructor |
|
| Method Summary | |
PonderMC |
connectToPmc(java.lang.String pmcDirName)
Connect to PMC The reference is bound to RMI through JNDI (LDAP) |
void |
disable()
disable |
void |
domainChange(PonderMC pmc,
java.lang.String pmcDn,
boolean added)
Indicates a change in a domain which affects the subject domain of the policy |
void |
enable()
enable |
java.lang.String |
getDomainPath()
return the domain path of the policy Object of this control object |
java.lang.String |
getName()
return the name of the policy Object of this control object |
int |
getStatus()
get the Status of the object (policy-life-cycle!) |
SubjectTargetI |
getSubjectDomain()
|
java.lang.String |
getTypeName()
return the name of the type from which the policy Object of this this control object is instantiated |
java.lang.String |
getTypePath()
return the domain path of the type from which the policy Object for this control object is instantiated |
void |
load()
load |
void |
parentChange(java.lang.String objDn,
boolean refToDomain)
Indicates a change in a domain which affects the subject domain of the policy. |
void |
setStatus(int newStatus)
set the Status of the object (policy-life-cycle!) |
void |
unload()
unload |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RoleControlObjectImpl(CompositePolicyInst newRole)
throws java.rmi.RemoteException
| Method Detail |
public int getStatus()
throws java.rmi.RemoteException
getStatus in interface ControlObject
public void setStatus(int newStatus)
throws java.rmi.RemoteException
setStatus in interface ControlObject
public void load()
throws java.rmi.RemoteException,
ControlObjectException
load in interface ControlObject
public void unload()
throws java.rmi.RemoteException,
ControlObjectException
unload in interface ControlObject
public void enable()
throws java.rmi.RemoteException,
ControlObjectException
enable in interface ControlObject
public void disable()
throws java.rmi.RemoteException,
ControlObjectException
disable in interface ControlObject
public void domainChange(PonderMC pmc,
java.lang.String pmcDn,
boolean added)
throws java.rmi.RemoteException
domainChange in interface ORControlObjectpmc - The PonderMC which was added or removedpmcDn - The PonderMC DN with which it is bound to the directoryadded - If true it means that the object was added. If false
it means that the object was removed
public void parentChange(java.lang.String objDn,
boolean refToDomain)
throws java.rmi.RemoteException
parentChange in interface ORControlObjectobjDn - The DN of the object which had a new parent added or
a parent removed. Used only for the case when it is a domainrefToDomain - If true it means that the parent was pointing to
a domain object
public java.lang.String getName()
throws java.rmi.RemoteException
ControlObjectgetName in interface ControlObject
public java.lang.String getDomainPath()
throws java.rmi.RemoteException
getDomainPath in interface ControlObject
public java.lang.String getTypeName()
throws java.rmi.RemoteException
getTypeName in interface ControlObject
public java.lang.String getTypePath()
throws java.rmi.RemoteException
getTypePath in interface ControlObject
public SubjectTargetI getSubjectDomain()
throws java.rmi.RemoteException
getSubjectDomain in interface RoleControlObjectpublic PonderMC connectToPmc(java.lang.String pmcDirName)
pmcDirName - The name with which the PMC is bound to the
Directory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||