public class ConfigurableSecurityHandler extends java.lang.Object implements SecurityHandlerWrapper
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
ConfigurableSecurityHandler() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.security.SecurityHandler |
createSecurityHandler() |
JettyAuthenticatorFactory |
getAuthenticator() |
JettyLoginServiceFactory |
getLoginService() |
java.util.List<SecurityConstraint> |
getSecurityConstraints() |
void |
setAuthenticator(JettyAuthenticatorFactory authenticator)
Sets the factory which will create the underlying Authenticator
|
void |
setLoginService(JettyLoginServiceFactory loginService)
Sets the factory which will create the underlying LoginService
|
void |
setSecurityConstraints(java.util.List<SecurityConstraint> securityConstraints) |
public org.eclipse.jetty.security.SecurityHandler createSecurityHandler() throws java.lang.Exception
createSecurityHandler
in interface SecurityHandlerWrapper
java.lang.Exception
SecurityHandlerWrapper.createSecurityHandler()
public JettyLoginServiceFactory getLoginService()
public void setLoginService(JettyLoginServiceFactory loginService)
loginService
- public JettyAuthenticatorFactory getAuthenticator()
public void setAuthenticator(JettyAuthenticatorFactory authenticator)
authenticator
- public java.util.List<SecurityConstraint> getSecurityConstraints()
public void setSecurityConstraints(java.util.List<SecurityConstraint> securityConstraints)