Class NettyHttpSecurityConfiguration
java.lang.Object
org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration
Security configuration for the
NettyHttpConsumer
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.LoggingLevel
getRealm()
boolean
void
setAuthenticate
(boolean authenticate) Whether to enable authenticationvoid
setConstraint
(String constraint) The supported restricted.void
setLoginDeniedLoggingLevel
(org.apache.camel.LoggingLevel loginDeniedLoggingLevel) Sets a logging level to use for logging denied login attempts (incl stacktraces)void
Sets the name of the realm to use.void
setSecurityAuthenticator
(SecurityAuthenticator securityAuthenticator) Sets theSecurityAuthenticator
to use for authenticating theHttpPrincipal
.void
setSecurityConstraint
(SecurityConstraint securityConstraint) Sets aSecurityConstraint
to use for checking if a web resource is restricted or not
-
Constructor Details
-
NettyHttpSecurityConfiguration
public NettyHttpSecurityConfiguration()
-
-
Method Details
-
isAuthenticate
public boolean isAuthenticate() -
setAuthenticate
public void setAuthenticate(boolean authenticate) Whether to enable authentication -
getConstraint
-
setConstraint
The supported restricted. Currently only Basic is supported. -
getRealm
-
setRealm
Sets the name of the realm to use. -
getSecurityConstraint
-
setSecurityConstraint
Sets aSecurityConstraint
to use for checking if a web resource is restricted or not By default this is null, which means all resources is restricted. -
getSecurityAuthenticator
-
setSecurityAuthenticator
Sets theSecurityAuthenticator
to use for authenticating theHttpPrincipal
. -
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.
-