Class NettyHttpSecurityConfiguration
- java.lang.Object
-
- org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration
-
public class NettyHttpSecurityConfiguration extends Object
Security configuration for theNettyHttpConsumer.
-
-
Constructor Summary
Constructors Constructor Description NettyHttpSecurityConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConstraint()org.apache.camel.LoggingLevelgetLoginDeniedLoggingLevel()StringgetRealm()SecurityAuthenticatorgetSecurityAuthenticator()SecurityConstraintgetSecurityConstraint()booleanisAuthenticate()voidsetAuthenticate(boolean authenticate)Whether to enable authenticationvoidsetConstraint(String constraint)The supported restricted.voidsetLoginDeniedLoggingLevel(org.apache.camel.LoggingLevel loginDeniedLoggingLevel)Sets a logging level to use for logging denied login attempts (incl stacktraces)voidsetRealm(String realm)Sets the name of the realm to use.voidsetSecurityAuthenticator(SecurityAuthenticator securityAuthenticator)Sets theSecurityAuthenticatorto use for authenticating theHttpPrincipal.voidsetSecurityConstraint(SecurityConstraint securityConstraint)Sets aSecurityConstraintto use for checking if a web resource is restricted or not
-
-
-
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.
-
getSecurityConstraint
public SecurityConstraint getSecurityConstraint()
-
setSecurityConstraint
public void setSecurityConstraint(SecurityConstraint securityConstraint)
Sets aSecurityConstraintto use for checking if a web resource is restricted or not By default this is null, which means all resources is restricted.
-
getSecurityAuthenticator
public SecurityAuthenticator getSecurityAuthenticator()
-
setSecurityAuthenticator
public void setSecurityAuthenticator(SecurityAuthenticator securityAuthenticator)
Sets theSecurityAuthenticatorto 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.
-
-