public class IDPWebBrowserSSOValve
extends org.apache.catalina.valves.ValveBase
implements org.apache.catalina.Lifecycle
IDPWebRequestUtil
Modifier and Type | Class and Description |
---|---|
protected static class |
IDPWebBrowserSSOValve.SessionHolder |
Modifier and Type | Field and Description |
---|---|
protected String |
canonicalizationMethod |
protected SAMLConfigurationProvider |
configProvider
The user can inject a fully qualified name of a
SAMLConfigurationProvider |
protected String |
identityParticipantStack
If the user wants to set a particular
IdentityParticipantStack |
protected IDPType |
idpConfiguration |
protected org.apache.catalina.util.LifecycleSupport |
lifecycle
The lifecycle event support for this component.
|
Constructor and Description |
---|
IDPWebBrowserSSOValve() |
Modifier and Type | Method and Description |
---|---|
void |
addLifecycleListener(org.apache.catalina.LifecycleListener listener)
Add a lifecycle event listener to this component.
|
protected void |
cleanUpSessionNote(org.apache.catalina.connector.Request request) |
protected String |
determineLoginType(boolean isSecure) |
org.apache.catalina.LifecycleListener[] |
findLifecycleListeners()
Get the lifecycle listeners associated with this lifecycle.
|
Boolean |
getIgnoreIncomingSignatures() |
Boolean |
getSignOutgoingMessages() |
Boolean |
getValidatingAliasToTokenIssuer() |
protected void |
handleSAML11(IDPWebRequestUtil webRequestUtil,
org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
protected void |
processSAMLRequestMessage(IDPWebRequestUtil webRequestUtil,
org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
protected void |
processSAMLResponseMessage(IDPWebRequestUtil webRequestUtil,
org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
void |
removeLifecycleListener(org.apache.catalina.LifecycleListener listener)
Remove a lifecycle event listener from this component.
|
protected void |
sendErrorResponseToSP(String referrer,
org.apache.catalina.connector.Response response,
String relayState,
IDPWebRequestUtil webRequestUtil) |
void |
setAttributeList(String attribList) |
void |
setConfigProvider(String cp) |
void |
setIdentityParticipantStack(String fqn) |
void |
setIgnoreAttributesGeneration(Boolean ignoreAttributes)
IDP should not do any attributes such as generation of roles etc
|
void |
setIgnoreIncomingSignatures(Boolean ignoreIncomingSignature) |
void |
setRoleGenerator(String rgName) |
void |
setSamlHandlerChainClass(String samlHandlerChainClass) |
void |
setSignOutgoingMessages(Boolean signOutgoingMessages) |
void |
setStrictPostBinding(Boolean strictPostBinding) |
void |
setValidatingAliasToTokenIssuer(Boolean validatingAliasToTokenIssuer)
PLFED-248 Allows to validate the token's signature against the keystore using the token's issuer.
|
void |
start()
Prepare for the beginning of active use of the public methods of this component.
|
void |
stop()
Gracefully terminate the active use of the public methods of this component.
|
protected boolean |
validate(String remoteAddress,
String queryString,
IDPWebBrowserSSOValve.SessionHolder holder,
boolean isPost) |
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getInfo, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
protected IDPType idpConfiguration
protected String canonicalizationMethod
protected SAMLConfigurationProvider configProvider
SAMLConfigurationProvider
protected String identityParticipantStack
IdentityParticipantStack
protected org.apache.catalina.util.LifecycleSupport lifecycle
public void setAttributeList(String attribList)
public void setConfigProvider(String cp)
public void setStrictPostBinding(Boolean strictPostBinding)
public Boolean getIgnoreIncomingSignatures()
public void setIgnoreIncomingSignatures(Boolean ignoreIncomingSignature)
public void setValidatingAliasToTokenIssuer(Boolean validatingAliasToTokenIssuer)
public Boolean getValidatingAliasToTokenIssuer()
public void setIgnoreAttributesGeneration(Boolean ignoreAttributes)
ignoreAttributes
- public Boolean getSignOutgoingMessages()
public void setSignOutgoingMessages(Boolean signOutgoingMessages)
public void setRoleGenerator(String rgName)
public void setSamlHandlerChainClass(String samlHandlerChainClass)
public void setIdentityParticipantStack(String fqn)
public void invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws IOException, ServletException
invoke
in interface org.apache.catalina.Valve
invoke
in class org.apache.catalina.valves.ValveBase
IOException
ServletException
protected void handleSAML11(IDPWebRequestUtil webRequestUtil, org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws ServletException, IOException
ServletException
IOException
protected void processSAMLRequestMessage(IDPWebRequestUtil webRequestUtil, org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws IOException
IOException
protected void processSAMLResponseMessage(IDPWebRequestUtil webRequestUtil, org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws ServletException, IOException
ServletException
IOException
protected void cleanUpSessionNote(org.apache.catalina.connector.Request request)
protected void sendErrorResponseToSP(String referrer, org.apache.catalina.connector.Response response, String relayState, IDPWebRequestUtil webRequestUtil) throws ServletException, IOException, ConfigurationException
protected boolean validate(String remoteAddress, String queryString, IDPWebBrowserSSOValve.SessionHolder holder, boolean isPost) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
public void addLifecycleListener(org.apache.catalina.LifecycleListener listener)
addLifecycleListener
in interface org.apache.catalina.Lifecycle
listener
- The listener to addpublic org.apache.catalina.LifecycleListener[] findLifecycleListeners()
findLifecycleListeners
in interface org.apache.catalina.Lifecycle
public void removeLifecycleListener(org.apache.catalina.LifecycleListener listener)
removeLifecycleListener
in interface org.apache.catalina.Lifecycle
listener
- The listener to addpublic void start() throws org.apache.catalina.LifecycleException
configure()
, and before any of the public methods of the component are utilized.start
in interface org.apache.catalina.Lifecycle
org.apache.catalina.LifecycleException
- if this component detects a fatal error that prevents this component from being usedpublic void stop() throws org.apache.catalina.LifecycleException
stop
in interface org.apache.catalina.Lifecycle
org.apache.catalina.LifecycleException
- if this component detects a fatal error that needs to be reportedprotected String determineLoginType(boolean isSecure)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.