public class AjpAddOn extends Object implements org.glassfish.grizzly.http.server.AddOn
AddOn for the HttpServer.
The addon searches for HttpCodecFilter occurrence in the passed
FilterChainBuilder, removes it and adds 2 filters:
AjpMessageFilter and AjpHandlerFilter on its place.| Constructor and Description |
|---|
AjpAddOn() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(boolean isTomcatAuthentication,
String secret)
Construct AjpAddOn
|
void |
configure(Properties properties)
Configure Ajp Filter using properties.
|
protected AjpHandlerFilter |
createAjpHandlerFilter() |
protected AjpMessageFilter |
createAjpMessageFilter() |
String |
getSecret()
If not null, only requests from workers with this secret keyword will
be accepted.
|
boolean |
isTomcatAuthentication()
If set to true, the authentication will be done in Grizzly.
|
void |
setup(org.glassfish.grizzly.http.server.NetworkListener networkListener,
org.glassfish.grizzly.filterchain.FilterChainBuilder builder) |
public void configure(boolean isTomcatAuthentication,
String secret)
isTomcatAuthentication - if true, the authentication will be done in Grizzly.
Otherwise, the authenticated principal will be propagated from the
native webserver and used for authorization in Grizzly.secret - if not null, only requests from workers with this
secret keyword will be accepted, or null otherwise.public void configure(Properties properties)
properties - public boolean isTomcatAuthentication()
public String getSecret()
public void setup(org.glassfish.grizzly.http.server.NetworkListener networkListener,
org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
setup in interface org.glassfish.grizzly.http.server.AddOnprotected AjpHandlerFilter createAjpHandlerFilter()
protected AjpMessageFilter createAjpMessageFilter()
Copyright © 2020 Oracle Corporation. All Rights Reserved.