ConfigurableSecurityHandler
instead; since 3.3.0@Deprecated @Removal(version="3.9.0", message="Use ConfigurableSecurityHandler instead") public class HashUserRealmProxy extends java.lang.Object implements SecurityHandlerWrapper
This class simply wraps the Jetty HashUserRealm functionality and exposes as a SecurityHandler to JettyConnection
You should check the Jetty documentation for more information.
JettyConnection
In the adapter configuration file this class is aliased as jetty-hash-user-realm-proxy which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
HashUserRealmProxy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.security.SecurityHandler |
createSecurityHandler()
Deprecated.
|
java.lang.String |
getFilename()
Deprecated.
|
java.lang.Integer |
getRefreshInterval()
Deprecated.
|
java.util.List<SecurityConstraint> |
getSecurityConstraints()
Deprecated.
|
java.lang.String |
getUserRealm()
Deprecated.
|
void |
setFilename(java.lang.String filename)
Deprecated.
Set the filename containing the username/password/roles.
|
void |
setRefreshInterval(java.lang.Integer i)
Deprecated.
Specify the refresh interval (in seconds) for monitoring the password file.
|
void |
setSecurityConstraints(java.util.List<SecurityConstraint> securityConstraints)
Deprecated.
|
void |
setUserRealm(java.lang.String userRealm)
Deprecated.
|
public org.eclipse.jetty.security.SecurityHandler createSecurityHandler() throws java.lang.Exception
createSecurityHandler
in interface SecurityHandlerWrapper
java.lang.Exception
public java.util.List<SecurityConstraint> getSecurityConstraints()
public void setSecurityConstraints(java.util.List<SecurityConstraint> securityConstraints)
public java.lang.String getUserRealm()
public void setUserRealm(java.lang.String userRealm)
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename
- the filename.public java.lang.Integer getRefreshInterval()
public void setRefreshInterval(java.lang.Integer i)
i
- the refreshInterval to set