Utilizing a jax-rs endpoint, I am invoking a jsp page in the following manner.
public String logout(@Context HttpServletRequest request,@DefaultValue("Empty Details") @QueryParam("logoutNotification") String logoutNotification,
@QueryParam("id_token_hint") String id_token_hint) {
Response response= Response.status(200).entity(logoutNotification).build();
if(response.getEntity().toString().equals("True")){
return "<html><head><script>\n" +
"window.open(\"https://localhost:9443/carbon/authenticationendpoint/test.jsp\");</script></head><body></body></html>";
}
else {
return null;
}
I am faced with the need to transmit certain parameters to the 'https://localhost:9443/carbon/authenticationendpoint/test.jsp' from this endpoint. How can this be accomplished? Is it feasible to pass them as query parameters from the endpoint? Any guidance on the matter would be greatly appreciated. Thank you.