|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.fdw.modules.wizard.rights.Rights
public class Rights
Class Rights
| Field Summary | |
|---|---|
static String |
PERMISSIONS
|
| Constructor Summary | |
|---|---|
Rights()
|
|
| Method Summary | |
|---|---|
void |
init(javax.servlet.http.HttpServletRequest request)
Initialize Rights |
boolean |
isAuthorized(String resourceType,
String permission,
String idResource)
Return true if the user has the given permission |
boolean |
isAuthorizedJspDirectory(String jsp,
String idResource)
Return true if the user has the right to get into the given jsp (directory) Uses the mapping jsp -> permission |
boolean |
isAuthorizedJspForm(String jsp,
String idResource)
Return true if the user has the right to get into the given jsp (form) Uses the mapping jsp -> permission |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PERMISSIONS
| Constructor Detail |
|---|
public Rights()
| Method Detail |
|---|
public void init(javax.servlet.http.HttpServletRequest request)
request - http
public boolean isAuthorized(String resourceType,
String permission,
String idResource)
resourceType - type of resource (use case)permission - key of the permissionidResource - the id of the resource
public boolean isAuthorizedJspForm(String jsp,
String idResource)
jsp - the jsp urlidResource - the id of the resource
public boolean isAuthorizedJspDirectory(String jsp,
String idResource)
jsp - the jsp urlidResource - the id resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||