|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.opensso.web.OpenSSOFilter
public class OpenSSOFilter
Filter implementation to provide access to user identity attributes within HttpSession scope and to optionally manage the HttpSession lifecycle.
Constructor Summary | |
---|---|
OpenSSOFilter()
Default constructor |
Method Summary | |
---|---|
void |
destroy()
Not implemented. |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Perform SSOToken and HttpSession validation and supplement HttpSession with required user attributes if necessary. |
void |
init(javax.servlet.FilterConfig config)
Initialise this filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenSSOFilter()
Method Detail |
---|
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
config
- Filter configuration properties.
javax.servlet.ServletException
- if the filter cannot be initialised.public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws javax.servlet.ServletException, java.io.IOException
doFilter
in interface javax.servlet.Filter
request
- ServletRequest received.response
- ServletResponse that will be used to respond if
required.chain
- The FilterChain this filter belongs to.
javax.servlet.ServletException
java.io.IOException
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 |