public abstract class TobagoConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TOBAGO_CONFIG |
Constructor and Description |
---|
TobagoConfig() |
Modifier and Type | Method and Description |
---|---|
abstract ContentSecurityPolicy |
getContentSecurityPolicy() |
abstract Theme |
getDefaultTheme() |
static TobagoConfig |
getInstance(javax.faces.context.FacesContext facesContext) |
static TobagoConfig |
getInstance(javax.servlet.ServletContext servletContext) |
abstract Map<String,String> |
getMimeTypes() |
abstract javax.faces.application.ProjectStage |
getProjectStage()
Deprecated.
since 4.0.0, use
Application.getProjectStage() |
abstract Sanitizer |
getSanitizer() |
abstract SecurityAnnotation |
getSecurityAnnotation() |
abstract List<Theme> |
getSupportedThemes() |
abstract Theme |
getTheme(String name) |
abstract boolean |
isCheckSessionSecret() |
abstract boolean |
isClassicDateTimePicker()
Deprecated.
since Tobago 3.0.0
|
abstract boolean |
isCreateSessionSecret() |
abstract boolean |
isDecodeLineFeed() |
abstract boolean |
isPreventFrameAttacks()
Deprecated.
But needed to support frame security in IE11. Is replaced by CSP "frame-ancestors".
|
abstract boolean |
isSetNosniffHeader() |
public static final String TOBAGO_CONFIG
public static TobagoConfig getInstance(javax.faces.context.FacesContext facesContext)
public static TobagoConfig getInstance(javax.servlet.ServletContext servletContext)
public abstract Theme getDefaultTheme()
@Deprecated public abstract javax.faces.application.ProjectStage getProjectStage()
Application.getProjectStage()
public abstract boolean isCreateSessionSecret()
public abstract boolean isCheckSessionSecret()
@Deprecated public abstract boolean isPreventFrameAttacks()
public abstract ContentSecurityPolicy getContentSecurityPolicy()
public abstract boolean isSetNosniffHeader()
public abstract SecurityAnnotation getSecurityAnnotation()
public abstract Sanitizer getSanitizer()
public abstract boolean isDecodeLineFeed()
@Deprecated public abstract boolean isClassicDateTimePicker()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.