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