Package org.dashbuilder.backend.security
Class BasicAuthSecurityFilter
- java.lang.Object
-
- org.dashbuilder.backend.security.BasicAuthSecurityFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class BasicAuthSecurityFilter extends Object implements javax.servlet.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOW_OPTIONSstatic StringEXCEPTION_PATHSstatic StringINVALIDATE_PARAMstatic StringREALM_NAME_PARAM
-
Constructor Summary
Constructors Constructor Description BasicAuthSecurityFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchallengeClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voiddestroy()voiddoFilter(javax.servlet.ServletRequest _request, javax.servlet.ServletResponse _response, javax.servlet.FilterChain chain)voidinit(javax.servlet.FilterConfig filterConfig)
-
-
-
Field Detail
-
REALM_NAME_PARAM
public static final String REALM_NAME_PARAM
- See Also:
- Constant Field Values
-
INVALIDATE_PARAM
public static final String INVALIDATE_PARAM
- See Also:
- Constant Field Values
-
EXCEPTION_PATHS
public static final String EXCEPTION_PATHS
- See Also:
- Constant Field Values
-
ALLOW_OPTIONS
public static final String ALLOW_OPTIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.servlet.FilterConfig filterConfig)
- Specified by:
initin interfacejavax.servlet.Filter
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest _request, javax.servlet.ServletResponse _response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-
challengeClient
public void challengeClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException- Throws:
IOException
-
-