org.infoglue.cms.security
Class InfoGlueAuthenticationFilter
java.lang.Object
|
+--org.infoglue.cms.security.InfoGlueAuthenticationFilter
- All Implemented Interfaces:
- javax.servlet.Filter
- public class InfoGlueAuthenticationFilter
- extends java.lang.Object
- implements javax.servlet.Filter
This filter protects actions withing InfoGlue from access without authentication.
It is very generic and can use any authentication module. The filter is responsible for reading the
settings and invoking the right authentication module.
|
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain fc)
|
void |
init(javax.servlet.FilterConfig config)
|
static void |
initializeProperties()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFOGLUE_FILTER_USER
public static final java.lang.String INFOGLUE_FILTER_USER
- See Also:
- Constant Field Values
loginUrl
public static java.lang.String loginUrl
invalidLoginUrl
public static java.lang.String invalidLoginUrl
successLoginBaseUrl
public static java.lang.String successLoginBaseUrl
authenticatorClass
public static java.lang.String authenticatorClass
authorizerClass
public static java.lang.String authorizerClass
serverName
public static java.lang.String serverName
authConstraint
public static java.lang.String authConstraint
extraParametersFile
public static java.lang.String extraParametersFile
extraProperties
public static java.util.Properties extraProperties
casValidateUrl
public static java.lang.String casValidateUrl
casServiceUrl
public static java.lang.String casServiceUrl
casRenew
public static java.lang.String casRenew
InfoGlueAuthenticationFilter
public InfoGlueAuthenticationFilter()
init
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Filter
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain fc)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
doFilter in interface javax.servlet.Filter
javax.servlet.ServletException
java.io.IOException
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Filter
initializeProperties
public static void initializeProperties()
throws SystemException
SystemException