public abstract class AbstractIDPValve
extends ValveBase
Modifier and Type | Field and Description |
---|---|
protected PicketLinkAuditHelper |
auditHelper |
protected String |
characterEncoding
Character encoding to use when reading the request parameters
|
protected SAMLConfigurationProvider |
configProvider
The user can inject a fully qualified name of a
SAMLConfigurationProvider |
protected boolean |
enableAudit |
protected IDPType |
idpConfiguration |
protected PicketLinkType |
picketLinkConfiguration |
protected Timer |
timer |
protected int |
timerInterval |
Constructor and Description |
---|
AbstractIDPValve() |
Modifier and Type | Method and Description |
---|---|
Principal |
authenticateSSL(Request request,
Response response) |
protected void |
cleanUpSessionNote(Request request) |
protected String |
determineLoginType(boolean isSecure) |
String |
getCharacterEncoding()
Return the character encoding to use when reading the request parameters
|
PicketLinkType |
getConfiguration()
Returns the configurations used.
|
protected Context |
getContext() |
protected abstract String |
getContextPath() |
protected String |
getIdentityURL() |
Boolean |
getIgnoreIncomingSignatures()
Deprecated.
|
TrustKeyManager |
getKeyManager()
Return the
TrustKeyManager |
Boolean |
getSignOutgoingMessages()
Deprecated.
|
protected void |
handleSAML11UnsolicitedResponse(Request request,
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(Request request,
Response response) |
protected void |
processSAMLRequestMessage(Request request,
Response response,
RequestAbstractType requestType,
boolean ignoreSignatureValidation) |
protected void |
processSAMLResponseMessage(Request request,
Response response) |
protected void |
recycle(Response response) |
protected void |
sendErrorResponseToSP(String referrer,
Response response,
String relayState,
IDPWebRequestUtil webRequestUtil) |
void |
setAttributeList(String attribList) |
void |
setAuditHelper(PicketLinkAuditHelper auditHelper) |
void |
setCharacterEncoding(String encoding)
Set the character encoding to use when reading the request parameters
|
void |
setConfigFile(String configFile) |
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 |
setPassUserPrincipalToAttributeManager(Boolean passUserPrincipalToAttributeManager)
IDP should get the user principal from Request.getUserPrincipal() and send that to the attribute manager
|
void |
setRoleGenerator(String rgName)
Deprecated.
|
void |
setSamlHandlerChainClass(String samlHandlerChainClass)
Deprecated.
|
void |
setSignOutgoingMessages(Boolean signOutgoingMessages)
Deprecated.
|
void |
setStrictPostBinding(Boolean strictPostBinding)
Deprecated.
|
void |
setTimerInterval(String value)
Set the Timer Value to reload the configuration
|
void |
setValidatingAliasToTokenIssuer(Boolean validatingAliasToTokenIssuer)
Deprecated.
|
protected void |
startPicketLink() |
protected boolean enableAudit
protected PicketLinkAuditHelper auditHelper
protected IDPType idpConfiguration
protected PicketLinkType picketLinkConfiguration
protected SAMLConfigurationProvider configProvider
SAMLConfigurationProvider
protected int timerInterval
protected Timer timer
protected String characterEncoding
public String getCharacterEncoding()
public void setCharacterEncoding(String encoding)
public void setAttributeList(String attribList)
public void setTimerInterval(String value)
value
- an integer value that represents timer value (in miliseconds)public void setConfigProvider(String cp)
SAMLConfigurationProvider
fqncp
- fqn of a SAMLConfigurationProvider
public void setConfigFile(String configFile)
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 void setPassUserPrincipalToAttributeManager(Boolean passUserPrincipalToAttributeManager)
passUserPrincipalToAttributeManager
- public PicketLinkType getConfiguration()
Returns the configurations used.
public TrustKeyManager getKeyManager()
TrustKeyManager
public void invoke(Request request, Response response) throws IOException, ServletException
IOException
ServletException
public Principal authenticateSSL(Request request, Response response) throws IOException
IOException
protected void handleSAML11UnsolicitedResponse(Request request, Response response) throws ServletException, IOException
ServletException
IOException
protected void processSAMLRequestMessage(Request request, Response response, RequestAbstractType requestType, boolean ignoreSignatureValidation) throws IOException
IOException
protected void processSAMLResponseMessage(Request request, Response response) throws ServletException, IOException
ServletException
IOException
protected void cleanUpSessionNote(Request request)
protected void sendErrorResponseToSP(String referrer, Response response, String relayState, IDPWebRequestUtil webRequestUtil) throws ServletException, IOException, ConfigurationException
protected void initIdentityServer()
Initializes the IdentityServer
.
protected void initHandlersChain() throws LifecycleException
Initialize the Handlers chain.
LifecycleException
protected void initKeyManager() throws LifecycleException
LifecycleException
protected void initIDPConfiguration()
Initializes the IDP configuration.
protected void initSTSConfiguration()
protected String getIdentityURL()
protected Context getContext()
protected abstract String getContextPath()
protected void recycle(Response response)
protected String determineLoginType(boolean isSecure)
protected void startPicketLink() throws LifecycleException
LifecycleException
public void setAuditHelper(PicketLinkAuditHelper auditHelper)
Copyright © 2019 JBoss by Red Hat. All rights reserved.