|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acegisecurity.adapters.jboss.JbossIntegrationFilter
public class JbossIntegrationFilter
Populates a SecurityContext
from JBoss' java:comp/env/security/subject
.
This filter never preserves the Authentication
on the ContextHolder
-
it is replaced every request.
See HttpSessionContextIntegrationFilter
for further information.
Constructor Summary | |
---|---|
JbossIntegrationFilter()
|
Method Summary | |
---|---|
void |
destroy()
Does nothing. |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
protected Context |
getLookupContext()
Provided so that unit tests can override. |
void |
init(javax.servlet.FilterConfig arg0)
Does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JbossIntegrationFilter()
Method Detail |
---|
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
protected Context getLookupContext() throws NamingException
Context
that can be used for lookup
NamingException
- DOCUMENT ME!public void init(javax.servlet.FilterConfig arg0) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
arg0
- ignored
javax.servlet.ServletException
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |