Copyright© 2008-2018 SiteVision AB, all rights reserved.
public interface AuthenticationFilter
Interface for request filters that want to handle web interactions in order to get login data.
Important legacy note! As of SiteVision 3 this interface has been moved (from package senselogic.sitevision.security.jaas.filter.api). Previously implemented custom JAAS filters/modules using this interface must be re-compiled in order to run in SiteVision 3.Modifier and Type | Field and Description |
---|---|
static String |
AUTHTYPE
The shared state auth type constant.
|
static String |
CLIENT_ADDRESS
The shared state client address constant.
|
static String |
PASSWORD
The shared state password constant.
|
static String |
REDIRECT
The shared state redirect constant.
|
static String |
USERNAME
The shared state username constant.
|
Modifier and Type | Method and Description |
---|---|
void |
doFilter(HttpServletRequest aRequest,
HttpServletResponse aResponse,
java.util.Map aSharedState,
java.util.Map anOptions,
AuthenticationFilterChain aChain)
A filter that can be used to populate the shared state and/or options for a JAAS login module.
|
static final String USERNAME
static final String PASSWORD
static final String AUTHTYPE
static final String CLIENT_ADDRESS
static final String REDIRECT
void doFilter(HttpServletRequest aRequest, HttpServletResponse aResponse, java.util.Map aSharedState, java.util.Map anOptions, AuthenticationFilterChain aChain) throws java.io.IOException, javax.servlet.ServletException, javax.security.auth.login.LoginException
aRequest
- the requestaResponse
- the responseaSharedState
- a shared state mapanOptions
- an options mapaChain
- a filter chainjava.io.IOException
- if an I/O problem occurredjavax.servlet.ServletException
- if the web containerjavax.security.auth.login.LoginException
- if login attempt failedSiteVision - Portal and Content Management Made Easy
SiteVision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2018 SiteVision AB, all rights reserved.