当前页面: 
在线文档首页 > 
JBoss Seam  1.1.0 API 英文版文档
AclImpl (JBoss Seam API Documentation) - JBoss Seam  1.1.0 API 英文版文档
org.jboss.seam.security.acl
Class AclImpl
java.lang.Object
   org.jboss.seam.security.acl.AclImpl
org.jboss.seam.security.acl.AclImpl
- All Implemented Interfaces: 
- Acl, Owner
- public class AclImpl 
- extends Object- implements Acl
Default Acl implementation.
- Author:
- Shane Bryzak
| Constructor Summary | 
| AclImpl(Principal owner)Construct a new Acl owned by the specified Principal.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface java.security.acl.Acl | 
| toString | 
 
AclImpl
public AclImpl(Principal owner)
- Construct a new Acl owned by the specified Principal.
 
- Parameters:
- owner- Principal
 
addEntry
public boolean addEntry(Principal caller,
                        AclEntry entry)
                 throws NotOwnerException
- 
- Specified by:
- addEntryin interface- Acl
 
- 
- Throws:
- NotOwnerException
 
checkPermission
public boolean checkPermission(Principal principal,
                               Permission permission)
- 
- Specified by:
- checkPermissionin interface- Acl
 
- 
 
entries
public Enumeration<AclEntry> entries()
- 
- Specified by:
- entriesin interface- Acl
 
- 
 
getPermissions
public Enumeration getPermissions(Principal user)
- 
- Specified by:
- getPermissionsin interface- Acl
 
- 
 
removeEntry
public boolean removeEntry(Principal caller,
                           AclEntry entry)
                    throws NotOwnerException
- 
- Specified by:
- removeEntryin interface- Acl
 
- 
- Throws:
- NotOwnerException
 
setName
public void setName(Principal caller,
                    String name)
             throws NotOwnerException
- 
- Specified by:
- setNamein interface- Acl
 
- 
- Throws:
- NotOwnerException
 
getName
public String getName()
- 
- Specified by:
- getNamein interface- Acl
 
- 
 
addOwner
public boolean addOwner(Principal caller,
                        Principal owner)
                 throws NotOwnerException
- 
- Specified by:
- addOwnerin interface- Owner
 
- 
- Throws:
- NotOwnerException
 
deleteOwner
public boolean deleteOwner(Principal caller,
                           Principal owner)
                    throws NotOwnerException,
                           LastOwnerException
- 
- Specified by:
- deleteOwnerin interface- Owner
 
- 
- Throws:
- NotOwnerException
- LastOwnerException
 
isOwner
public boolean isOwner(Principal owner)
- 
- Specified by:
- isOwnerin interface- Owner
 
-