Revision 51141
Added by Panagiotis Kanakakis about 6 years ago
FrontEndLinkURIAuthenticationSuccessHandler.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
LOGGER.debug(authentication.getName()); |
32 | 32 |
|
33 |
/*OIDCAuthenticationToken authOIDC = (OIDCAuthenticationToken) authentication;
|
|
33 |
OIDCAuthenticationToken authOIDC = (OIDCAuthenticationToken) authentication; |
|
34 | 34 |
Cookie sessionCookie = new Cookie("currentUser", authOIDC.getSub()); |
35 | 35 |
|
36 | 36 |
int expireSec = -1; |
37 | 37 |
sessionCookie.setMaxAge(expireSec); |
38 | 38 |
sessionCookie.setPath("/"); |
39 | 39 |
response.addCookie(sessionCookie); |
40 |
response.sendRedirect(frontEndURI);*/
|
|
40 |
response.sendRedirect(frontEndURI); |
|
41 | 41 |
} |
42 | 42 |
|
43 | 43 |
public String getFrontEndURI() { |
Also available in: Unified diff
AAI/Redis configuration ready.