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

java.lang.Objecttoolbox.web.AbstractPermissionPlugin
public abstract class AbstractPermissionPlugin
Abstract plug-in implementation that may be extended when implement PermissionPlugin's.
| Field Summary | |
|---|---|
protected java.lang.String |
m_name
|
protected java.util.Properties |
m_properties
|
| Constructor Summary | |
|---|---|
AbstractPermissionPlugin()
Protected constructor. |
|
| Method Summary | |
|---|---|
void |
destroy()
Empty implementation. |
java.lang.String |
getDenied()
Return the URL of the view that must be generated if permission was not granted. |
void |
init(java.lang.String name,
java.util.Properties props)
Initialise the plug-in with the configuration properties obtained from the PermissionFilter configuration file. |
void |
setDenied(java.lang.String view)
Set the URL of the view that must be generated if permission was not granted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface toolbox.web.PermissionPlugin |
|---|
allow |
| Field Detail |
|---|
protected java.lang.String m_name
protected java.util.Properties m_properties
| Constructor Detail |
|---|
public AbstractPermissionPlugin()
| Method Detail |
|---|
public void init(java.lang.String name,
java.util.Properties props)
init in interface PermissionPluginname - String containing the name of this plug-in.props - Configuration properties.public java.lang.String getDenied()
getDenied in interface PermissionPluginpublic void setDenied(java.lang.String view)
setDenied in interface PermissionPluginview - String containing the view URL.public void destroy()
destroy in interface PermissionPlugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||