Skip to content

Commit b504a70

Browse files
committed
Better use of the new Response constructor
1 parent d424681 commit b504a70

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sample/src/main/webapp/consume.jsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
AccountSettings accountSettings = new AccountSettings();
2626
accountSettings.setCertificate(certificateS);
2727
28-
Response samlResponse = new Response(accountSettings);
29-
samlResponse.loadXmlFromBase64(request.getParameter("SAMLResponse"));
30-
samlResponse.setDestinationUrl(request.getRequestURL().toString());
28+
Response samlResponse = new Response(accountSettings,
29+
request.getParameter("SAMLResponse"),
30+
request.getRequestURL().toString());
3131
3232
if (samlResponse.isValid()) {
3333

0 commit comments

Comments
 (0)