* @return a {@code Source} instance representing the marshalled response.
* @throws WebServiceException Any exception encountered in handling token
*/
protected Source handleTokenRequest(RequestSecurityToken request)
{
SAMLDocumentHolder holder = WSTrustJAXBFactory.getInstance().getSAMLDocumentHolderOnThread();
/**
* The RST Document is very important for XML Signatures
*/
request.setRSTDocument(holder.getSamlDocument());
if(this.config == null)
try
{
if(logger.isInfoEnabled())