static class GrantPermission.GrantPermissionCollection extends PermissionCollection
Modifier and Type | Field and Description |
---|---|
private GrantPermission.Implier |
implier |
private List |
perms |
private static ObjectStreamField[] |
serialPersistentFields |
private static long |
serialVersionUID |
Constructor and Description |
---|
GrantPermission.GrantPermissionCollection() |
Modifier and Type | Method and Description |
---|---|
void |
add(Permission p) |
Enumeration |
elements() |
boolean |
implies(Permission p) |
boolean |
isReadOnly() |
private void |
readObject(ObjectInputStream s)
Verifies the permissions list.
|
void |
setReadOnly() |
private void |
writeObject(ObjectOutputStream s)
Writes the permissions list.
|
toString
private static final long serialVersionUID
private static final ObjectStreamField[] serialPersistentFields
private List perms
private GrantPermission.Implier implier
GrantPermission.GrantPermissionCollection()
public void add(Permission p)
add
in class PermissionCollection
public Enumeration elements()
elements
in class PermissionCollection
public boolean implies(Permission p)
implies
in class PermissionCollection
public void setReadOnly()
setReadOnly
in class PermissionCollection
public boolean isReadOnly()
isReadOnly
in class PermissionCollection
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the list is
null
or any element is not an instance of
GrantPermission
IOException
ClassNotFoundException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.