|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.identity.federation.api.wstrust.WSTrustJAXBFactory
public class WSTrustJAXBFactory
This factory implements utility methods for converting between JAXB model objects and XML source.
Method Summary | |
---|---|
static WSTrustJAXBFactory |
getInstance()
Gets a reference to the singleton instance. |
javax.xml.transform.Source |
marshallRequestSecurityToken(BaseRequestSecurityToken request)
Creates a javax.xml.transform.Source from the specified request object. |
javax.xml.transform.Source |
marshallRequestSecurityTokenResponse(BaseRequestSecurityTokenResponse response)
Creates a javax.xml.transform.Source from the specified response object. |
BaseRequestSecurityToken |
parseRequestSecurityToken(javax.xml.transform.Source request)
Creates a BaseRequestSecurityToken from the specified XML source. |
BaseRequestSecurityTokenResponse |
parseRequestSecurityTokenResponse(javax.xml.transform.Source response)
Creates a BaseRequestSecurityTokenResponse from the specified XML source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WSTrustJAXBFactory getInstance()
Gets a reference to the singleton instance.
WSTrustJAXBFactory
instance.public BaseRequestSecurityToken parseRequestSecurityToken(javax.xml.transform.Source request)
Creates a BaseRequestSecurityToken
from the specified XML source.
request
- the XML source containing the security token request message.
BaseRequestSecurityToken
instance. It will be an instance of
RequestSecurityToken
the message contains a single token request, and an instance of
RequestSecurityTokenCollection
if multiples requests are being made in the same message.public BaseRequestSecurityTokenResponse parseRequestSecurityTokenResponse(javax.xml.transform.Source response)
Creates a BaseRequestSecurityTokenResponse
from the specified XML source.
response
- the XML source containing the security token response message.
BaseRequestSecurityTokenResponse
instance. It should return an instance of
RequestSecurityTokenResponseCollection
according to the specification, but we allow a single
response to be returned in the form of a RequestSecurityTokenResponse
instance.public javax.xml.transform.Source marshallRequestSecurityToken(BaseRequestSecurityToken request)
Creates a javax.xml.transform.Source
from the specified request object.
request
- a BaseRequestSecurityToken
representing the object model of the security token request.
Source
instance.public javax.xml.transform.Source marshallRequestSecurityTokenResponse(BaseRequestSecurityTokenResponse response)
Creates a javax.xml.transform.Source
from the specified response object.
response
- a BaseRequestSecurityTokenResponse
representing the object model of the security token
response.
Source
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |