Class RegisterFilterServletContextInitializer
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.servlet.RegisterFilterServletContextInitializer
-
- All Implemented Interfaces:
javax.servlet.ServletContainerInitializer
public class RegisterFilterServletContextInitializer extends Object implements javax.servlet.ServletContainerInitializer
AServletContainerInitializerimplementation that registers dynamic response header filter for enabling configurable headers. The target bean name isTARGET_BEAN_NAME. The filter registration can be disabled by setting the system propertySYSTEM_PROPERTY_ACTIVATIONtodisabled
. The filter mappings can be configured via space-separated list on the system propertySYSTEM_PROPERTY_MAPPINGS. By default the value is/profile/oidc/* /profile/oauth2/
.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_MAPPINGSThe value for the filter mappings, if no custom configuration is set.static StringFILTER_NAME_DYNAMIC_OIDC_RESPONSE_HEADERThe filter name for the dynamic response header filter for the OP's flows.private org.slf4j.LoggerlogClass logger.static StringSYSTEM_PROPERTY_ACTIVATIONSystem property name for the activation flag of this class.static StringSYSTEM_PROPERTY_MAPPINGSSystem property name for configuring the filter mappings.static StringTARGET_BEAN_NAMEThe target bean name for the dynamic response header filter.
-
Constructor Summary
Constructors Constructor Description RegisterFilterServletContextInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonStartup(Set<Class<?>> c, javax.servlet.ServletContext ctx)
-
-
-
Field Detail
-
SYSTEM_PROPERTY_ACTIVATION
public static final String SYSTEM_PROPERTY_ACTIVATION
System property name for the activation flag of this class.
-
SYSTEM_PROPERTY_MAPPINGS
public static final String SYSTEM_PROPERTY_MAPPINGS
System property name for configuring the filter mappings.
-
FILTER_NAME_DYNAMIC_OIDC_RESPONSE_HEADER
public static final String FILTER_NAME_DYNAMIC_OIDC_RESPONSE_HEADER
The filter name for the dynamic response header filter for the OP's flows.- See Also:
- Constant Field Values
-
TARGET_BEAN_NAME
public static final String TARGET_BEAN_NAME
The target bean name for the dynamic response header filter.- See Also:
- Constant Field Values
-
DEFAULT_MAPPINGS
public static final String DEFAULT_MAPPINGS
The value for the filter mappings, if no custom configuration is set.- See Also:
- Constant Field Values
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
-