|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.cms.util.FakeFilterConfig
Allows us to configure the InfoGlueAuthorizationFilter for testing outside of a servlet environment. Parameter keys and values are read from cms.properties.
| Constructor Summary | |
FakeFilterConfig()
|
|
| Method Summary | |
java.lang.String |
getFilterName()
Returns the name of this filter |
java.lang.String |
getInitParameter(java.lang.String name)
Returns the init parameter with the given name |
java.util.Enumeration |
getInitParameterNames()
Returns an enumeration of all init parameters |
javax.servlet.ServletContext |
getServletContext()
Returns the servlet context |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FakeFilterConfig()
| Method Detail |
public java.lang.String getFilterName()
getFilterName in interface javax.servlet.FilterConfigpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.FilterConfigFakeServletContextpublic java.lang.String getInitParameter(java.lang.String name)
getInitParameter in interface javax.servlet.FilterConfigname - the name of the desired init parameter
public java.util.Enumeration getInitParameterNames()
getInitParameterNames in interface javax.servlet.FilterConfig
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||