Package org.apache.myfaces.tobago.config
Class TobagoConfig
java.lang.Object
org.apache.myfaces.tobago.config.TobagoConfig
- Direct Known Subclasses:
TobagoConfigImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ContentSecurityPolicyabstract Themestatic TobagoConfiggetInstance(javax.faces.context.FacesContext facesContext) static TobagoConfiggetInstance(javax.servlet.ServletContext servletContext) abstract javax.faces.application.ProjectStageDeprecated.abstract Sanitizerabstract SecurityAnnotationabstract Themeabstract booleanabstract booleanDeprecated.since Tobago 3.0.0abstract booleanabstract booleanabstract booleanDeprecated.But needed to support frame security in IE11.abstract boolean
-
Field Details
-
TOBAGO_CONFIG
- See Also:
-
-
Constructor Details
-
TobagoConfig
public TobagoConfig()
-
-
Method Details
-
getInstance
-
getInstance
-
getTheme
-
getSupportedThemes
-
getDefaultTheme
-
getProjectStage
Deprecated.since 4.0.0, useApplication.getProjectStage() -
isCreateSessionSecret
public abstract boolean isCreateSessionSecret() -
isCheckSessionSecret
public abstract boolean isCheckSessionSecret() -
isPreventFrameAttacks
Deprecated.But needed to support frame security in IE11. Is replaced by CSP "frame-ancestors". -
getContentSecurityPolicy
-
isSetNosniffHeader
public abstract boolean isSetNosniffHeader() -
getSecurityAnnotation
-
getSanitizer
-
isDecodeLineFeed
public abstract boolean isDecodeLineFeed() -
getMimeTypes
-
isClassicDateTimePicker
Deprecated.since Tobago 3.0.0- Returns:
- false
-
Application.getProjectStage()