boolean addOwner(Principal caller, Principal owner) throws NotOwnerException
caller
- 调用此方法的主体。
它必须是ACL的所有者。
owner
- 应该添加到所有者列表的所有者。
NotOwnerException
- 如果调用者主体不是ACL的所有者。
boolean deleteOwner(Principal caller, Principal owner) throws NotOwnerException, LastOwnerException
调用主体必须是ACL的所有者才能调用此方法。
caller
- 调用此方法的主体。
它必须是ACL的所有者。
owner
- 业主从业主清单中删除。
NotOwnerException
- 如果调用者主体不是ACL的所有者。
LastOwnerException
- 如果只有一个所有者,那么deleteOwner将离开ACL拥有者。
boolean isOwner(Principal owner)
owner
- 要检查的主体以确定其是否为所有者。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.