|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.web.AbstractPermissionPlugin toolbox.web.HttpSessionAttributePlugin
public class HttpSessionAttributePlugin
Simple PermissionPlugin to check the value of a specific HttpSession attribute.
Supported configuration properties:
Field Summary |
---|
Fields inherited from class toolbox.web.AbstractPermissionPlugin |
---|
m_name, m_properties |
Constructor Summary | |
---|---|
HttpSessionAttributePlugin()
Default constructor |
Method Summary | |
---|---|
boolean |
allow(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Obtain the HttpSession and perform the required authorisation. |
Methods inherited from class toolbox.web.AbstractPermissionPlugin |
---|
destroy, getDenied, init, setDenied |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpSessionAttributePlugin()
Method Detail |
---|
public boolean allow(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, java.io.IOException
request
- The servlet request.response
- The servlet response.
javax.servlet.ServletException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |