ARoad0.AcsAddon.Accbee.Ubuntu.gBaseInterface
Interface ExecutableUbuntu

All Superinterfaces:
ACSObject, ACSObjectAddon, Actor, ActorUbuntu, BaseBeanManager, BaseObject, Basic, BoundBean, java.lang.Cloneable, java.lang.Comparable, Copyable, EligibleParty, FinalizedObject, FinalizedObjectForUser, ImmutableActor, ImmutableBasic, ImmutableEligibleParty, ImmutableLeaf, ImmutablePrivilegeSource, ImmutablePrivilegeTarget, ImmutableResource, ImmutableSource, ImmutableTarget, Leaf, PrivilegeSource, PrivilegeTarget, PrivilegeUser, Resource, ResourceUbuntu
All Known Implementing Classes:
ExecutableUbuntuImpl

public interface ExecutableUbuntu
extends ActorUbuntu

This interface is responsible for modeling a Linux/Unix executable, which may have setUID and setGID capabilities. To be more general, the changing capability is modelized, with EnforceGID and EnforceUID. As every actor, it implements EligibleParty to have rights on Resources through AclEntries and through its current UserID and GroupID.


Method Summary
 boolean getEnforceGID()
           
 boolean getEnforceUID()
           
 java.lang.String getExeType()
           
 void setEnforceGID(boolean _b)
           
 void setEnforceUID(boolean _b)
           
 void setExeType(java.lang.String _p)
          This type is not the type from EligibleParty nor from Resource.
 
Methods inherited from interface ARoad0.AcsAddon.Accbee.Ubuntu.gBaseInterface.ResourceUbuntu
fireL_inheritedOtherRights, getAGOAccessFromTheParentOther, getL_inheritedGroupRights, getL_inheritedOtherRights, getL_otherRights, setAGOAccessFromTheParentOther, setL_otherRights
 
Methods inherited from interface ARoad0.gBaseInterface.ACSObjectAddon
getAddonInnerPropertiesToListen
 
Methods inherited from interface ARoad0.gBaseInterface.Actor
setEorACSBridgeTarget, setEorCurrentGroupIDForUser, setEorCurrentUserIDForUser, setEorL_SecondaryGroupForUser, setIsRightProxy
 
Methods inherited from interface ARoad0.gBaseInterface.Resource
addAclEntry, copyWithoutInternalAcl, removeAclEntry, resetInheritedAclEntryRights, resetInheritedPrivilegeRights, selectInheritedPrivilege, setEorGroupID, setEorUserID, setL_groupRights, setL_ownerRights, setL_rootRights, setResourceType
 
Methods inherited from interface ARoad0.gBaseInterface.PrivilegeTarget
addEorPrivilegeForTypeToTarget, removeEorPrivilegeToTarget
 
Methods inherited from interface ARoad0.gBaseInterface.EligibleParty
copyWithoutInternalAcl, setEPType
 
Methods inherited from interface ARoad0.gBaseInterface.Basic
finalizeForUser, setComment
 
Methods inherited from interface ARoad0.gBaseInterface.PrivilegeSource
addEorPrivilegeForTypeToSource, removeEorPrivilegeToSource
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableActor
getEorACSBridgeTarget, getEorCurrentGroupID, getEorCurrentUserID, getEorL_bridgeSources, getEorL_SecondaryGroup, getIsACSBridgeSource, getIsRightProxy, isMemberToSecondaryGroup
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableResource
containsAclEntryToEP, getActorActivated, getAGOAccessFromTheParentAccount, getAGOAccessFromTheParentGroup, getEorGroupID, getEorImmutableL_TargetInheritedAclEntries, getEorL_EPthroughAclEntry, getEorUserID, getL_aclEntry, getL_AcsControllers, getL_groupRights, getL_inheritedOwnerRights, getL_ownerRights, getL_rootRights, getM_ConstrainedChildACS, getM_TargetInheritedACLRights, getResourceType, hasTheAccountAndGroupOfParent, selectInheritedAclEntry
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutablePrivilegeTarget
getEorImmutableL_TargetInheritedLinkedPrivileges, getEorL_TargetPrivilegeForLinks, getEorL_TargetPrivilegeForTypes, getEorL_TargetPrivileges, getM_TargetInheritedLinkedPRIRights, getType
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableTarget
getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getL_AcsOfSoftReferences, getL_SoftAlias
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableLeaf
compareTo, getEorParent
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableEligibleParty
getEorL_AclConnectedResources, getEPType, getM_ConstrainedChildACS
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableBasic
getComment, getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getImpliedViews, getIS_Name, getL_AcsOfSoftReferences, getL_SoftAlias, getPropertyChangeListeners, getSerialVersionUID, getVirtualFolders
 
Methods inherited from interface ARoad0.gBaseInterface.Copyable
copy
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutablePrivilegeSource
getEorL_SourcePrivilegeForLinks, getEorL_SourcePrivilegeForTypes, getEorL_SourcePrivileges
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableSource
getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getL_AcsOfSoftReferences, getL_SoftAlias, getType
 
Methods inherited from interface ARoad0.gBaseInterface.ACSObject
getAcsName, getEorACS
 
Methods inherited from interface ARoad0.gBaseInterface.BaseObject
equals, getFullName, getName, getNickName, hashCode
 
Methods inherited from interface ARoad0.gBaseInterface.BaseBeanManager
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Method Detail

getExeType

java.lang.String getExeType()
Returns:
type of executable. Different to type_ from EP and resourceType from Resource.

setExeType

void setExeType(java.lang.String _p)
This type is not the type from EligibleParty nor from Resource.

Parameters:
_p - type of executable.

getEnforceUID

boolean getEnforceUID()
Returns:
boolean true if the userID is always its userID whatever the caller userID (this is the setUID bit on *NX systems).

getEnforceGID

boolean getEnforceGID()
Returns:
boolean true if the groupID is always its groupID whatever the caller groupID (this is the setGID bit on *NX systems).

setEnforceUID

void setEnforceUID(boolean _b)
                   throws UpDateError
Parameters:
_b - boolean true if the userID may be changed.
Throws:
UpDateError - if the enforceUID property is immutable.

setEnforceGID

void setEnforceGID(boolean _b)
                   throws UpDateError
Parameters:
_b - boolean true if the groupID may be changed.
Throws:
UpDateError - if the enforceGID property is immutable.