|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.accounting.security.authz.FileAuthorizationManager
public class FileAuthorizationManager
| Constructor Summary | |
|---|---|
FileAuthorizationManager(File file)
Basic constructor |
|
FileAuthorizationManager(String file)
Basic constructor |
|
| Method Summary | |
|---|---|
void |
fileChanged(File file)
Callback method for changes on the file |
boolean |
isAllowed(String userId,
Action action)
Check whether the given user is allowed to perform the given action |
boolean |
isAllowed(String userId,
Action action,
String object)
Check if the given user is allowed to perform the given action over the given object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileAuthorizationManager(String file)
file - pathpublic FileAuthorizationManager(File file)
file - | Method Detail |
|---|
public void fileChanged(File file)
fileChanged in interface FileChangedListener
public boolean isAllowed(String userId,
Action action)
isAllowed in interface AuthorizationManager
public boolean isAllowed(String userId,
Action action,
String object)
isAllowed in interface AuthorizationManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||