org.opensaml.provider
Class BrowserProfileProvider
java.lang.Object
org.opensaml.provider.BrowserProfileProvider
- All Implemented Interfaces:
- SAMLBrowserProfile
public class BrowserProfileProvider
- extends Object
- implements SAMLBrowserProfile
Default implementation of the SAML 1.x browser profiles
- Author:
- Scott Cantor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowserProfileProvider
public BrowserProfileProvider(Element e)
receive
public SAMLBrowserProfile.BrowserProfileRequest receive(javax.servlet.http.HttpServletRequest requestContext)
throws UnsupportedProfileException
- Description copied from interface:
SAMLBrowserProfile
- Processes an HTTP request into a browser profile request.
- Specified by:
receive
in interface SAMLBrowserProfile
- Parameters:
requestContext
- The HTTP request from the client
- Returns:
- The profile request information extracted from the HTTP request
- Throws:
UnsupportedProfileException
- Raised if the HTTP request data cannot be successfully parsed- See Also:
SAMLBrowserProfile.receive(javax.servlet.http.HttpServletRequest)
receive
public SAMLBrowserProfile.BrowserProfileResponse receive(StringBuffer issuer,
SAMLBrowserProfile.BrowserProfileRequest requestContext,
String recipient,
ReplayCache replayCache,
SAMLBrowserProfile.ArtifactMapper artifactMapper,
int minorVersion)
throws SAMLException
- Description copied from interface:
SAMLBrowserProfile
- Processes an incoming POST or Artifact profile response. Use the supportedProfiles
parameter to specify support for one or both profiles. Upon completion, the response
parameter will contain the SAML objects delivered by the profile. Signature verification
is not performed by the default implementation but may be handled by alternate
or subclassed versions.
- Specified by:
receive
in interface SAMLBrowserProfile
- Parameters:
issuer
- A buffer in which to store the issuer of the security
token being processed, to assist in responding to errorsrequestContext
- The HTTP request containing the profile responserecipient
- The HTTP endpoint to which the response was deliveredreplayCache
- An org.opensaml.ReplayCache interface to enable replay detectionartifactMapper
- An ArtifactMapper interface to support artifact lookup/mapping
(may be null if only POST is supported)minorVersion
- The minor version to support
- Returns:
- A wrapper object containing the data returned by the profile
- Throws:
SAMLException
- Raised if an error occurs during profile processing- See Also:
SAMLBrowserProfile.receive(java.lang.StringBuffer, org.opensaml.SAMLBrowserProfile.BrowserProfileRequest, java.lang.String, org.opensaml.ReplayCache, org.opensaml.SAMLBrowserProfile.ArtifactMapper, int)
Copyright ? 2005 UCAID. All Rights Reserved.