public class Grant extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
Vector<String> |
perms
List of Permissions
|
Vector<String> |
users
List of Users for the List of Permissions
|
| Constructor and Description |
|---|
Grant()
Construct default values
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPerm(String s)
Check if permission is used
|
boolean |
hasUser(String s)
Check if user has been defined
|
void |
reader(DataInputStream ids) |
void |
writer(DataOutputStream ods) |
public void reader(DataInputStream ids) throws IOException
IOExceptionpublic void writer(DataOutputStream ods) throws IOException
IOExceptionpublic boolean hasPerm(String s)
public boolean hasUser(String s)
Copyright © 2019. All rights reserved.