インターフェース MutableAcl
- すべてのスーパーインターフェース:
Acl,java.io.Serializable
- すべての既知のサブインターフェース:
AuditableAcl,OwnershipAcl
- すべての既知の実装クラス:
AclImpl
public interface MutableAcl extends Acl
変更可能な Acl 。可変 ACL は、メソッドへのアクセスを許可する前に、適切なセキュリティチェックが実行されていることを確認する必要があります。
メソッドのサマリー
すべてのメソッド インスタンスメソッド 抽象メソッド 修飾子と型 メソッド 説明 voiddeleteAce(int aceIndex)java.io.SerializablegetId()この MutableAcl を表す識別子を取得します。voidinsertAce(int atIndexLocation, Permission permission, Sid sid, boolean granting)voidsetEntriesInheriting(boolean entriesInheriting)Acl.isEntriesInheriting()によって返される値を変更します。voidsetOwner(Sid newOwner)現在の所有者を別の所有者に変更します。voidsetParent(Acl newParent)この ACL の親を変更します。voidupdateAce(int aceIndex, Permission permission)インターフェース org.springframework.security.acls.model.Acl から継承されたメソッド
getEntries, getObjectIdentity, getOwner, getParentAcl, isEntriesInheriting, isGranted, isSidLoaded
メソッドの詳細
deleteAce
void deleteAce(int aceIndex) throws NotFoundException
getId
java.io.Serializable getId()
この MutableAcl を表す識別子を取得します。- 戻り値:
- 識別子。保存されていない場合は null
insertAce
void insertAce(int atIndexLocation, Permission permission, Sid sid, boolean granting) throws NotFoundException
setOwner
void setOwner(Sid newOwner)
現在の所有者を別の所有者に変更します。- パラメーター:
newOwner- 新しい所有者 (必須。null にすることはできません)
setEntriesInheriting
void setEntriesInheriting(boolean entriesInheriting)
Acl.isEntriesInheriting()によって返される値を変更します。- パラメーター:
entriesInheriting- 新しい価値
setParent
void setParent(Acl newParent)
この ACL の親を変更します。- パラメーター:
newParent- 新しい親
updateAce
void updateAce(int aceIndex, Permission permission) throws NotFoundException