|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.authorization.admin.AuthzFilter
This class implements javax.servlet.Filter and its purpose is to inspect X509 distinguished names of the clients and decide whether they are authorized to act as administrator of the AuthorizationManager. This class is a lightweight version of the full implementation available in org.edg.security.authorization.AuthorizationServlet.
Constructor Summary | |
AuthzFilter()
|
Method Summary | |
void |
destroy()
Deallocates member objects. |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain fchain)
Filters the ServletRequest and adds information, like authorized connections, into the request via a specific RequestWrapper class. |
void |
init(javax.servlet.FilterConfig filterConfig)
Initializes the AuthzFilter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AuthzFilter()
Method Detail |
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
- In case of an errorpublic void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain fchain) throws java.io.IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
req
- The ServletRequest to be filteredres
- The ServletResponsefchain
- The Filterchain defined in the app's web.xml file
java.io.IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |