public class LoginFilter extends Object implements SecurityFilter
Constructor and Description |
---|
LoginFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Validates an attached SAML assertion, or exchanges any other incoming token for a SAML
assertion via the STS.
|
int |
getExpirationTime()
Returns session expiration time in minutes.
|
SecurityManager |
getSecurityManager() |
void |
init(javax.servlet.FilterConfig filterConfig) |
void |
setExpirationTime(int expirationTime)
Sets session expiration time in minutes
|
void |
setSecurityManager(SecurityManager securityManager) |
void |
setSessionFactory(SessionFactory sessionFactory) |
void |
setSignaturePropertiesFile(String signaturePropertiesFile) |
public void setSessionFactory(SessionFactory sessionFactory)
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
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
request
- response
- chain
- IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
public SecurityManager getSecurityManager()
public void setSecurityManager(SecurityManager securityManager)
public void setSignaturePropertiesFile(String signaturePropertiesFile)
public int getExpirationTime()
public void setExpirationTime(int expirationTime)
expirationTime
- - time in minutesThis work is licensed under a Creative Commons Attribution 4.0 International License.