public class NettyHttpSecurityConfiguration extends Object
NettyHttpConsumer
.Constructor and Description |
---|
NettyHttpSecurityConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getConstraint() |
org.apache.camel.LoggingLevel |
getLoginDeniedLoggingLevel() |
String |
getRealm() |
String |
getRoleClassName() |
SecurityAuthenticator |
getSecurityAuthenticator() |
SecurityConstraint |
getSecurityConstraint() |
boolean |
isAuthenticate() |
void |
setAuthenticate(boolean authenticate)
Whether to enable authentication
This is by default enabled.
|
void |
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)
This level is by default DEBUG.
|
void |
setRealm(String realm)
Sets the name of the realm to use.
|
void |
setRoleClassName(String roleClassName) |
void |
setSecurityAuthenticator(SecurityAuthenticator securityAuthenticator)
Sets the
SecurityAuthenticator to use for authenticating the HttpPrincipal . |
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. |
public boolean isAuthenticate()
public void setAuthenticate(boolean authenticate)
public String getConstraint()
public void setConstraint(String constraint)
public String getRealm()
public void setRealm(String realm)
public SecurityConstraint getSecurityConstraint()
public void setSecurityConstraint(SecurityConstraint securityConstraint)
SecurityConstraint
to use for checking if a web resource is restricted or not
By default this is null, which means all resources is restricted.public SecurityAuthenticator getSecurityAuthenticator()
public void setSecurityAuthenticator(SecurityAuthenticator securityAuthenticator)
SecurityAuthenticator
to use for authenticating the HttpPrincipal
.public org.apache.camel.LoggingLevel getLoginDeniedLoggingLevel()
public void setLoginDeniedLoggingLevel(org.apache.camel.LoggingLevel loginDeniedLoggingLevel)
public String getRoleClassName()
public void setRoleClassName(String roleClassName)
Apache Camel