authPage = PathUtil.concat(authPage,"redirectURL",'&');
authPage = PathUtil.concat(authPage,redirectUrl,'=');
context.sendRedirect(authPage);
} catch (IOException e) {
throw new ClientServicesException(e,"LTPA token refresh failed because: "+e.getMessage());
}
} else {
throw new ClientServicesException(null,"LTPA token expired or invalid. Cannot refresh: authentication page is not set");
}
}
}