CB-2180 Web-based auth support

This commit is contained in:
serge-rider
2022-06-29 14:51:20 +02:00
parent 15b8bdeb99
commit 33f855a791
2 changed files with 3 additions and 4 deletions
@@ -145,12 +145,11 @@ public class WebAppUtils {
}
public static String getRequestCookie(HttpServletRequest request, String cookieName) {
String value = null;
for (Cookie cookie : request.getCookies()) {
if (cookie.getName().equals(cookieName)) {
value = cookie.getValue();
return cookie.getValue();
}
}
return value;
return null;
}
}
@@ -1,5 +1,5 @@
<div id="sso">
Success
Single sign on succeeded. Now you can close this page.
<script>
window.close();
</script>