|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.web.PermissionFilter.Permission
class PermissionFilter.Permission
Inner class that represents a single access permission.
| Constructor Summary | |
|---|---|
PermissionFilter.Permission(java.lang.String name,
java.lang.String denied,
java.lang.String invertTmpls,
java.lang.String invertActs,
java.util.Set templates,
java.util.Set actions)
Construct a new Permission. |
|
| Method Summary | |
|---|---|
(package private) boolean |
allowAction(java.lang.String actionName)
Return true if this permission allows access to execute the given action name. |
(package private) boolean |
allowTemplate(java.lang.String tmplName)
Return true if this permission allows access to view the given template name. |
(package private) java.lang.String |
getDeniedUrl()
Return the access denied url for this permission. |
(package private) java.lang.String |
getName()
Return the name of this permission |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
PermissionFilter.Permission(java.lang.String name,
java.lang.String denied,
java.lang.String invertTmpls,
java.lang.String invertActs,
java.util.Set templates,
java.util.Set actions)
name - The name of the permission. This must correlate
with one of the values that will be carried in
the session.denied - Forward the request to this resource if the the
session does not contain the correct permission.invertTmpls - String indicating that the template list must
be inverted.invertActs - String indicating that the action list must be
inverted.templates - A set of valid templates that may be accessed
by a session with this permission.actions - A set of valid actions that may be accessed
by a session with this permission.| Method Detail |
|---|
java.lang.String getName()
java.lang.String getDeniedUrl()
boolean allowTemplate(java.lang.String tmplName)
tmplName - String containing template name.
boolean allowAction(java.lang.String actionName)
actionName - String containing action name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||