@WebServiceProvider(serviceName="PicketLinkSTS", portName="PicketLinkSTSPort", targetNamespace="urn:picketlink:identity-federation:sts", wsdlLocation="WEB-INF/wsdl/PicketLinkSTS.wsdl") @ServiceMode(value=MESSAGE) public class PicketLinkSTS extends Object implements Provider<SOAPMessage>
Default implementation of the SecurityTokenService
interface.
Modifier and Type | Class and Description |
---|---|
static class |
PicketLinkSTS.BinaryToken |
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<PicketLinkSTS.BinaryToken> |
binaryToken |
protected STSConfiguration |
config |
protected WebServiceContext |
context |
Constructor and Description |
---|
PicketLinkSTS() |
Modifier and Type | Method and Description |
---|---|
protected STSConfiguration |
getConfiguration()
Obtains the STS configuration options.
|
protected Source |
handleTokenRequest(RequestSecurityToken request)
Process a security token request.
|
protected Source |
handleTokenRequestCollection(RequestSecurityTokenCollection requestCollection)
Process a collection of security token requests.
|
SOAPMessage |
invoke(SOAPMessage request)
Invokes an operation occording to the contents of the request
message.
|
protected Source |
marshallResponse(RequestSecurityTokenResponse response)
Marshalls the specified
RequestSecurityTokenResponse into a Source instance. |
protected WebServiceContext context
protected STSConfiguration config
public static ThreadLocal<PicketLinkSTS.BinaryToken> binaryToken
public SOAPMessage invoke(SOAPMessage request)
Provider
invoke
in interface Provider<SOAPMessage>
request
- The request message or message payload.null
if
there is no response.MessageContext
,
ProtocolException
protected Source handleTokenRequest(RequestSecurityToken request)
Process a security token request.
request
- a RequestSecurityToken
instance that contains the request information.Source
instance representing the marshalled response.WebServiceException
- Any exception encountered in handling tokenprotected Source handleTokenRequestCollection(RequestSecurityTokenCollection requestCollection)
Process a collection of security token requests.
requestCollection
- a RequestSecurityTokenCollection
containing the various requests information.Source
instance representing the marshalled response.protected Source marshallResponse(RequestSecurityTokenResponse response)
Marshalls the specified RequestSecurityTokenResponse
into a Source
instance.
response
- the RequestSecurityTokenResponse
to be marshalled.Source
instance.protected STSConfiguration getConfiguration() throws ConfigurationException
Obtains the STS configuration options.
STSConfiguration
containing the STS configuration properties.ConfigurationException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.