public class HttpServletRequestMessageChannelSecurity extends AbstractMessageChannelSecurity
MessageChannelSecurityContext based on a
HttpServletRequest.| Modifier and Type | Field and Description |
|---|---|
private boolean |
defaultPortInsecure
Flag controlling whether traffic on the default TLS port is "secure".
|
| Constructor and Description |
|---|
HttpServletRequestMessageChannelSecurity()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
protected void |
doInitialize() |
void |
setDefaultPortInsecure(boolean flag)
Set whether traffic on the default TLS port is "secure" for the purposes of this action.
|
doPreExecute, getParentContext, setParentContextLookupStrategydoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, initialize, isDestroyed, isInitializedprivate boolean defaultPortInsecure
public HttpServletRequestMessageChannelSecurity()
public void setDefaultPortInsecure(boolean flag)
Defaults to "true"
Ordinarily TLS is considered a "secure" channel, but traffic to a default port meant for browser access tends to rely on server certificates that are unsuited to secure messaging use cases. This flag allows software layers to recognize traffic on this port as "insecure" and needing additional security measures.
flag - flag to setprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected void doExecute(ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.