public class Privilege extends Object
| Constructor and Description |
|---|
Privilege()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String resourceName,
String action)
Check if this privilege matches the given resource/action couple
|
void |
setActions(String actionsList) |
void |
setResourcePattern(String resourcePattern) |
String |
toString() |
public void setResourcePattern(String resourcePattern)
public void setActions(String actionsList)
public boolean matches(String resourceName, String action)
resourceName - the resource nameaction - the action nameCopyright © 2019. All rights reserved.