public class AccessControlList
extends java.lang.Object
Constructor and Description |
---|
AccessControlList() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowed(java.lang.String section,
java.lang.String value)
A specific client is allowed if:
it is not present into the black list, AND
it is present into the white list.
|
void |
refresh()
Update this AccessControlList object
reading again the white and black files.
|
void |
setBlack(java.lang.String blackFileName) |
void |
setWhite(java.lang.String whiteFileName) |
public void setBlack(java.lang.String blackFileName)
public void setWhite(java.lang.String whiteFileName)
public boolean isAllowed(java.lang.String section, java.lang.String value)
isAllow("section", value)
returns is the client
having that specific value for that property is allowed.public void refresh()