com.centrasite.jaxr.security
Interface InstanceLevelPermissionEntry


public interface InstanceLevelPermissionEntry

An InstanceLevelPermissionEntry maintains a principal and its privilege.


Method Summary
 CentraSitePrincipal getPrincipal()
          Get the principal.
 InstanceLevelPrivilege getPrivilege()
          Get the privilege.
 void setPrincipal(CentraSitePrincipal principal)
          Set the principal.
 void setPrivilege(InstanceLevelPrivilege privilege)
          Set the privilege.
 

Method Detail

getPrincipal

CentraSitePrincipal getPrincipal()
                                 throws javax.xml.registry.JAXRException
Get the principal.

Returns:
the principal
Throws:
javax.xml.registry.JAXRException

setPrincipal

void setPrincipal(CentraSitePrincipal principal)
                  throws javax.xml.registry.JAXRException
Set the principal.

Parameters:
principal - the principal
Throws:
javax.xml.registry.JAXRException

getPrivilege

InstanceLevelPrivilege getPrivilege()
                                    throws javax.xml.registry.JAXRException
Get the privilege.

Returns:
the privilege
Throws:
javax.xml.registry.JAXRException

setPrivilege

void setPrivilege(InstanceLevelPrivilege privilege)
                  throws javax.xml.registry.JAXRException
Set the privilege.

Parameters:
privilege - the privilege
Throws:
javax.xml.registry.JAXRException