Class NettyHttpSecurityConfiguration

    • Constructor Detail

      • NettyHttpSecurityConfiguration

        public NettyHttpSecurityConfiguration()
    • Method Detail

      • isAuthenticate

        public boolean isAuthenticate()
      • setAuthenticate

        public void setAuthenticate​(boolean authenticate)
        Whether to enable authentication
      • getConstraint

        public String getConstraint()
      • setConstraint

        public void setConstraint​(String constraint)
        The supported restricted.

        Currently only Basic is supported.

      • getRealm

        public String getRealm()
      • setRealm

        public void setRealm​(String realm)
        Sets the name of the realm to use.
      • setSecurityConstraint

        public void setSecurityConstraint​(SecurityConstraint securityConstraint)
        Sets a SecurityConstraint to use for checking if a web resource is restricted or not

        By default this is null, which means all resources is restricted.

      • getLoginDeniedLoggingLevel

        public org.apache.camel.LoggingLevel getLoginDeniedLoggingLevel()
      • setLoginDeniedLoggingLevel

        public void setLoginDeniedLoggingLevel​(org.apache.camel.LoggingLevel loginDeniedLoggingLevel)
        Sets a logging level to use for logging denied login attempts (incl stacktraces)

        This level is by default DEBUG.