Package org.apache.myfaces.tobago.config
Class TobagoConfig
- java.lang.Object
-
- org.apache.myfaces.tobago.config.TobagoConfig
-
- Direct Known Subclasses:
TobagoConfigImpl
public abstract class TobagoConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringTOBAGO_CONFIG
-
Constructor Summary
Constructors Constructor Description TobagoConfig()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract ContentSecurityPolicygetContentSecurityPolicy()abstract ThemegetDefaultTheme()static TobagoConfiggetInstance(javax.faces.context.FacesContext facesContext)static TobagoConfiggetInstance(javax.servlet.ServletContext servletContext)abstract Map<String,String>getMimeTypes()abstract javax.faces.application.ProjectStagegetProjectStage()Deprecated.since 4.0.0, useApplication.getProjectStage()abstract SanitizergetSanitizer()abstract SecurityAnnotationgetSecurityAnnotation()abstract List<Theme>getSupportedThemes()abstract ThemegetTheme(String name)abstract booleanisCheckSessionSecret()abstract booleanisClassicDateTimePicker()Deprecated.since Tobago 3.0.0abstract booleanisCreateSessionSecret()abstract booleanisDecodeLineFeed()abstract booleanisPreventFrameAttacks()Deprecated.But needed to support frame security in IE11.abstract booleanisSetNosniffHeader()
-
-
-
Field Detail
-
TOBAGO_CONFIG
public static final String TOBAGO_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static TobagoConfig getInstance(javax.faces.context.FacesContext facesContext)
-
getInstance
public static TobagoConfig getInstance(javax.servlet.ServletContext servletContext)
-
getDefaultTheme
public abstract Theme getDefaultTheme()
-
getProjectStage
@Deprecated public abstract javax.faces.application.ProjectStage getProjectStage()
Deprecated.since 4.0.0, useApplication.getProjectStage()
-
isCreateSessionSecret
public abstract boolean isCreateSessionSecret()
-
isCheckSessionSecret
public abstract boolean isCheckSessionSecret()
-
isPreventFrameAttacks
@Deprecated public abstract boolean isPreventFrameAttacks()
Deprecated.But needed to support frame security in IE11. Is replaced by CSP "frame-ancestors".
-
getContentSecurityPolicy
public abstract ContentSecurityPolicy getContentSecurityPolicy()
-
isSetNosniffHeader
public abstract boolean isSetNosniffHeader()
-
getSecurityAnnotation
public abstract SecurityAnnotation getSecurityAnnotation()
-
getSanitizer
public abstract Sanitizer getSanitizer()
-
isDecodeLineFeed
public abstract boolean isDecodeLineFeed()
-
isClassicDateTimePicker
@Deprecated public abstract boolean isClassicDateTimePicker()
Deprecated.since Tobago 3.0.0- Returns:
- false
-
-