public abstract class AbstractLangridBasicAuthenticator extends AbstractLangridAuthenticator
Constructor and Description |
---|
AbstractLangridBasicAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected abstract boolean |
doAuthenticate(ServletServiceContext context,
javax.servlet.ServletRequest request,
String authUser,
String authPass) |
void |
doFilterWithAuth(ServletServiceContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
protected TemporaryUserDao |
getTemporaryUserDao() |
protected UserDao |
getUserDao() |
void |
init(javax.servlet.FilterConfig config) |
doFilter, getDaoContext, getDaoFactory, writeForbidden
doFilter, hasInitializationException, setInitializationException, setInitializationException
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
init
in class AbstractLangridAuthenticator
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
destroy
in class AbstractLangridAuthenticator
public void doFilterWithAuth(ServletServiceContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws DaoException, IOException, javax.servlet.ServletException
doFilterWithAuth
in class AbstractLangridAuthenticator
DaoException
IOException
javax.servlet.ServletException
protected abstract boolean doAuthenticate(ServletServiceContext context, javax.servlet.ServletRequest request, String authUser, String authPass) throws UserNotFoundException, DaoException
UserNotFoundException
DaoException
protected UserDao getUserDao()
protected TemporaryUserDao getTemporaryUserDao()