|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface UIRights
Defines the rights that are required for a page to be usable by a user. When this annotation is present on a page the page can be accessed by a user which has the prerequisite rights. If the user is not currently known (meaning he has not logged in yet) this causes the page logic to throw a NotLoggedInException, which in turn should force a login to occur.
Optional Element Summary | |
---|---|
java.lang.String |
dataPath
If these rights depend on the data being edited, this must contain a property path expression on the annotated class leading to the data item to use for the check. |
java.lang.String[] |
value
The rights that the user must have to access the page. |
public abstract java.lang.String[] value
public abstract java.lang.String dataPath
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |