Class TobagoConfig

    • Constructor Detail

      • TobagoConfig

        public TobagoConfig()
    • Method Detail

      • getInstance

        public static TobagoConfig getInstance​(javax.faces.context.FacesContext facesContext)
      • getInstance

        public static TobagoConfig getInstance​(javax.servlet.ServletContext servletContext)
      • getTheme

        public abstract Theme getTheme​(String name)
      • getSupportedThemes

        public abstract List<Theme> getSupportedThemes()
      • getDefaultTheme

        public abstract Theme getDefaultTheme()
      • getProjectStage

        @Deprecated
        public abstract javax.faces.application.ProjectStage getProjectStage()
        Deprecated.
        since 4.0.0, use Application.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".
      • isSetNosniffHeader

        public abstract boolean isSetNosniffHeader()
      • getSanitizer

        public abstract Sanitizer getSanitizer()
      • isDecodeLineFeed

        public abstract boolean isDecodeLineFeed()
      • isClassicDateTimePicker

        @Deprecated
        public abstract boolean isClassicDateTimePicker()
        Deprecated.
        since Tobago 3.0.0
        Returns:
        false