This is a REST web service that sends a SAML token (plain XML/encoded) on invocation.
token - Valid OAuth token for which the SAML token is required
issuer - issuer for the SAML token
encoding - whether the resulting SAML response needs to be encoded, if this parameter is null, SAML is sent plain xml format, if it is set to base64, SAML will be encoded in base64
Generated SAML token either in encoded format OR xml format depending on the request header
for encoded SAML curl -vk -X POST https://localhost:9443/oauth2saml/token -d 'token=${OAuthToken}&issuer=${Issuer}&encoding=base64'
for plain xml SAML curl -vk -X POST https://localhost:9443/oauth2saml/token -d 'token=${OAuthToken}&issuer=${Issuer}'
Please put the configuration file oauth-saml-token-config.properties under <IS_HOME>/repository/conf/security to enable token caching.
Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)