Get Action Returns the authentication string for use by applets
Parameters
- pageName - dummy
Usage:
/OpenForum/Actions/GetAuthentication?pageName=dummy
Server Side Javascript for GET method
//OpenForum/Actions/GetAuthentication/get.sjs
if(typeof(pageName)=="undefined")
{
transaction.setResult(transaction.SHOW_PAGE);
}
else
{
authentication = transaction.getHttpHeader().getElementByName("authorization");
if(authentication==null)
{
authentication = "";
}
else
{
authentication = authentication.getValue();
}
transaction.sendPage( authentication );
}