OAM: PluginResponse is null with REDIRECT_GET or REDIRECT_POST
Hi all,
I've written a custom authentication plugin that redirects the user to a custom page (JSP); this page displays some custom error messages read with:
String errorResponse = request.getParameter(GenericConstants.PLUGIN_ERROR_RESPONSE);
The authentication plugin sends these custom messagges to the custom page, through PluginResponse:
To perform the redirect to the custom page, the authentication plugin sets the ExecutionStatus to "PAUSE" and sets the UserActionMetaData to one of three possible values: "FORWARD", "REDIRECT_GET", or "REDIRECT_POST":context.addResponse(new PluginResponse("CustomError1", "This error is the custom error 1", PluginAttributeContextType.ERROR));
final UserContextData urlContext = new UserContextData(myCustomPageURL, new CredentialMetaData("URL"));
0