public abstract class AbstractIDPValve
extends org.apache.catalina.valves.ValveBase
Modifier and Type | Field and Description |
---|---|
protected PicketLinkAuditHelper |
auditHelper |
protected SAMLConfigurationProvider |
configProvider
The user can inject a fully qualified name of a
SAMLConfigurationProvider |
protected boolean |
enableAudit |
protected IDPType |
idpConfiguration |
protected PicketLinkType |
picketLinkConfiguration |
Constructor and Description |
---|
AbstractIDPValve() |
Modifier and Type | Method and Description |
---|---|
Principal |
authenticateSSL(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
protected void |
cleanUpSessionNote(org.apache.catalina.connector.Request request) |
protected String |
determineLoginType(boolean isSecure) |
PicketLinkType |
getConfiguration()
Returns the configurations used.
|
protected org.apache.catalina.Context |
getContext() |
protected abstract String |
getContextPath() |
protected String |
getIdentityURL() |
Boolean |
getIgnoreIncomingSignatures()
Deprecated.
|
TrustKeyManager |
getKeyManager()
Return the
TrustKeyManager |
Boolean |
getSignOutgoingMessages()
Deprecated.
|
protected void |
handleSAML11(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
protected void |
initHandlersChain()
Initialize the Handlers chain.
|
protected void |
initIdentityServer()
Initializes the
IdentityServer . |
protected void |
initIDPConfiguration()
Initializes the IDP configuration.
|
protected void |
initKeyManager() |
protected void |
initSTSConfiguration()
Initializes the STS configuration.
|
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
protected void |
processSAMLRequestMessage(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
protected void |
processSAMLResponseMessage(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
protected void |
recycle(org.apache.catalina.connector.Response response) |
protected void |
sendErrorResponseToSP(String referrer,
org.apache.catalina.connector.Response response,
String relayState,
IDPWebRequestUtil webRequestUtil) |
void |
setAttributeList(String attribList) |
void |
setAuditHelper(PicketLinkAuditHelper auditHelper) |
void |
setConfigProvider(SAMLConfigurationProvider configurationProvider) |
void |
setConfigProvider(String cp)
Set the
SAMLConfigurationProvider fqn |
void |
setIdentityParticipantStack(String fqn)
Deprecated.
|
void |
setIgnoreAttributesGeneration(Boolean ignoreAttributes)
IDP should not do any attributes such as generation of roles etc
|
void |
setIgnoreIncomingSignatures(Boolean ignoreIncomingSignature)
Deprecated.
|
void |
setRoleGenerator(String rgName)
Deprecated.
|
void |
setSamlHandlerChainClass(String samlHandlerChainClass)
Deprecated.
|
void |
setSignOutgoingMessages(Boolean signOutgoingMessages)
Deprecated.
|
void |
setStrictPostBinding(Boolean strictPostBinding)
Deprecated.
|
void |
setValidatingAliasToTokenIssuer(Boolean validatingAliasToTokenIssuer)
Deprecated.
|
protected void |
startPicketLink() |
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getInfo, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
protected boolean enableAudit
protected PicketLinkAuditHelper auditHelper
protected IDPType idpConfiguration
protected PicketLinkType picketLinkConfiguration
protected SAMLConfigurationProvider configProvider
SAMLConfigurationProvider
public void setAttributeList(String attribList)
public void setConfigProvider(String cp)
SAMLConfigurationProvider
fqncp
- fqn of a SAMLConfigurationProvider
public void setConfigProvider(SAMLConfigurationProvider configurationProvider)
@Deprecated public void setRoleGenerator(String rgName)
@Deprecated public void setSamlHandlerChainClass(String samlHandlerChainClass)
@Deprecated public void setIdentityParticipantStack(String fqn)
@Deprecated public void setStrictPostBinding(Boolean strictPostBinding)
@Deprecated public Boolean getIgnoreIncomingSignatures()
@Deprecated public void setIgnoreIncomingSignatures(Boolean ignoreIncomingSignature)
@Deprecated public void setValidatingAliasToTokenIssuer(Boolean validatingAliasToTokenIssuer)
public void setIgnoreAttributesGeneration(Boolean ignoreAttributes)
ignoreAttributes
- @Deprecated public Boolean getSignOutgoingMessages()
@Deprecated public void setSignOutgoingMessages(Boolean signOutgoingMessages)
public PicketLinkType getConfiguration()
Returns the configurations used.
public TrustKeyManager getKeyManager()
TrustKeyManager
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
public Principal authenticateSSL(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws IOException
IOException
protected void handleSAML11(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws ServletException, IOException
ServletException
IOException
protected void processSAMLRequestMessage(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws IOException
IOException
protected void processSAMLResponseMessage(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 void initIdentityServer()
Initializes the IdentityServer
.
protected void initHandlersChain() throws org.apache.catalina.LifecycleException
Initialize the Handlers chain.
org.apache.catalina.LifecycleException
protected void initKeyManager() throws org.apache.catalina.LifecycleException
org.apache.catalina.LifecycleException
protected void initIDPConfiguration()
Initializes the IDP configuration.
protected void initSTSConfiguration()
protected String getIdentityURL()
protected org.apache.catalina.Context getContext()
protected abstract String getContextPath()
protected void recycle(org.apache.catalina.connector.Response response)
protected String determineLoginType(boolean isSecure)
protected void startPicketLink() throws org.apache.catalina.LifecycleException
org.apache.catalina.LifecycleException
public void setAuditHelper(PicketLinkAuditHelper auditHelper)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.