public class ServiceProviderBaseProcessor extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
identityURL |
static String |
IDP_KEY |
protected String |
issuer |
protected TrustKeyManager |
keyManager |
protected static Logger |
log |
protected boolean |
postBinding |
protected String |
serviceURL |
protected SPType |
spConfiguration |
protected boolean |
supportSignatures |
protected boolean |
trace |
Constructor and Description |
---|
ServiceProviderBaseProcessor(boolean postBinding,
String serviceURL)
Construct
|
Modifier and Type | Method and Description |
---|---|
protected SAML2HandlerRequest |
getSAML2HandlerRequest(SAMLDocumentHolder documentHolder,
HTTPContext httpContext) |
protected boolean |
isLogOutRequest(HTTPContext httpContext) |
SAML2HandlerResponse |
process(HTTPContext httpContext,
Set<SAML2Handler> handlers,
Lock chainLock) |
protected URL |
safeURL(String urlString) |
void |
setConfiguration(SPType sp)
Set the SP configuration
|
void |
setIdentityURL(String identityURL)
Set the Identity URL
|
void |
setIssuer(String issuer)
Set a separate issuer that is different from the service url
|
void |
setSupportSignatures(boolean supportSignatures)
Whether we support signatures during the current processing
|
void |
setTrustKeyManager(TrustKeyManager tkm)
Set the
TrustKeyManager |
protected static Logger log
protected boolean trace
protected boolean postBinding
protected String serviceURL
protected String identityURL
protected SPType spConfiguration
protected TrustKeyManager keyManager
protected String issuer
protected boolean supportSignatures
public static final String IDP_KEY
public ServiceProviderBaseProcessor(boolean postBinding, String serviceURL)
postBinding
- Whether it is the Post BindingserviceURL
- Service URL of the SPpublic void setConfiguration(SPType sp)
sp
- public void setTrustKeyManager(TrustKeyManager tkm)
TrustKeyManager
tkm
- public void setIdentityURL(String identityURL)
identityURL
- public void setSupportSignatures(boolean supportSignatures)
supportSignatures
- public void setIssuer(String issuer)
issuer
- public SAML2HandlerResponse process(HTTPContext httpContext, Set<SAML2Handler> handlers, Lock chainLock) throws ProcessingException, IOException, ParsingException, ConfigurationException
protected SAML2HandlerRequest getSAML2HandlerRequest(SAMLDocumentHolder documentHolder, HTTPContext httpContext)
protected boolean isLogOutRequest(HTTPContext httpContext)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.