|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.web.process.ServiceProviderBaseProcessor
public class ServiceProviderBaseProcessor
A processor util at the SP
Field Summary | |
---|---|
protected PicketLinkAuditHelper |
auditHelper
|
protected String |
identityURL
|
static String |
IDP_KEY
|
protected String |
issuer
|
protected TrustKeyManager |
keyManager
|
protected static PicketLinkLogger |
logger
|
protected boolean |
postBinding
|
protected String |
serviceURL
|
protected ProviderType |
spConfiguration
|
Constructor Summary | |
---|---|
ServiceProviderBaseProcessor(boolean postBinding,
String serviceURL)
Construct |
Method Summary | |
---|---|
protected PublicKey |
getIDPPublicKey()
Returns the PublicKey to be used to verify signatures for SAML tokens issued by the IDP. |
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 |
setAuditHelper(PicketLinkAuditHelper helper)
Set the PicketLinkAuditHelper |
void |
setConfiguration(ProviderType 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 |
protected void |
setRequestOptions(SAML2HandlerRequest saml2HandlerRequest)
|
void |
setTrustKeyManager(TrustKeyManager tkm)
Set the TrustKeyManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final PicketLinkLogger logger
protected boolean postBinding
protected String serviceURL
protected String identityURL
protected ProviderType spConfiguration
protected TrustKeyManager keyManager
protected String issuer
protected PicketLinkAuditHelper auditHelper
public static final String IDP_KEY
Constructor Detail |
---|
public ServiceProviderBaseProcessor(boolean postBinding, String serviceURL)
postBinding
- Whether it is the Post BindingserviceURL
- Service URL of the SPMethod Detail |
---|
public void setConfiguration(ProviderType sp)
sp
- public void setTrustKeyManager(TrustKeyManager tkm)
TrustKeyManager
tkm
- public void setIdentityURL(String identityURL)
identityURL
- public void setIssuer(String issuer)
issuer
- public void setAuditHelper(PicketLinkAuditHelper helper)
PicketLinkAuditHelper
helper
- public SAML2HandlerResponse process(HTTPContext httpContext, Set<SAML2Handler> handlers, Lock chainLock) throws ProcessingException, IOException, ParsingException, ConfigurationException
ProcessingException
IOException
ParsingException
ConfigurationException
protected SAML2HandlerRequest getSAML2HandlerRequest(SAMLDocumentHolder documentHolder, HTTPContext httpContext)
protected boolean isLogOutRequest(HTTPContext httpContext)
protected URL safeURL(String urlString)
protected PublicKey getIDPPublicKey() throws TrustKeyConfigurationException, TrustKeyProcessingException
Returns the PublicKey to be used to verify signatures for SAML tokens issued by the IDP.
TrustKeyConfigurationException
TrustKeyProcessingException
protected void setRequestOptions(SAML2HandlerRequest saml2HandlerRequest) throws TrustKeyConfigurationException, TrustKeyProcessingException
TrustKeyConfigurationException
TrustKeyProcessingException
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |