|
1 | | -/* |
2 | | - * Copyright (C) 2013 |
3 | | - * Center for Excellence in Nanomedicine (NanoCAN) |
4 | | - * Molecular Oncology |
5 | | - * University of Southern Denmark |
6 | | - * ############################################### |
7 | | - * Written by: Markus List |
8 | | - * Contact: mlist'at'health'.'sdu'.'dk |
9 | | - * Web: http://www.nanocan.org |
10 | | - * ########################################################################### |
11 | | - * |
12 | | - * This file is part of OpenLabFramework. |
13 | | - * |
14 | | - * OpenLabFramework is free software: you can redistribute it and/or modify |
15 | | - * it under the terms of the GNU General Public License as published by |
16 | | - * the Free Software Foundation, either version 3 of the License, or |
17 | | - * (at your option) any later version. |
18 | | - * |
19 | | - * This program is distributed in the hope that it will be useful, |
20 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 | | - * GNU General Public License for more details. |
23 | | - * |
24 | | - * You should have received a copy of the GNU General Public License |
25 | | - * along with this program. It can be found at the root of the project page. |
26 | | - * If not, see <http://www.gnu.org/licenses/>. |
27 | | - * |
28 | | - * ############################################################################ |
29 | | - */ |
| 1 | +/* |
| 2 | + * Copyright (C) 2013 |
| 3 | + * Center for Excellence in Nanomedicine (NanoCAN) |
| 4 | + * Molecular Oncology |
| 5 | + * University of Southern Denmark |
| 6 | + * ############################################### |
| 7 | + * Written by: Markus List |
| 8 | + * Contact: mlist'at'health'.'sdu'.'dk |
| 9 | + * Web: http://www.nanocan.org |
| 10 | + * ########################################################################### |
| 11 | + * |
| 12 | + * This file is part of OpenLabFramework. |
| 13 | + * |
| 14 | + * OpenLabFramework is free software: you can redistribute it and/or modify |
| 15 | + * it under the terms of the GNU General Public License as published by |
| 16 | + * the Free Software Foundation, either version 3 of the License, or |
| 17 | + * (at your option) any later version. |
| 18 | + * |
| 19 | + * This program is distributed in the hope that it will be useful, |
| 20 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 | + * GNU General Public License for more details. |
| 23 | + * |
| 24 | + * You should have received a copy of the GNU General Public License |
| 25 | + * along with this program. It can be found at the root of the project page. |
| 26 | + * If not, see <http://www.gnu.org/licenses/>. |
| 27 | + * |
| 28 | + * ############################################################################ |
| 29 | + */ |
30 | 30 | import grails.converters.JSON |
31 | 31 |
|
32 | 32 | import javax.servlet.http.HttpServletResponse |
@@ -95,10 +95,9 @@ class LoginController { |
95 | 95 | */ |
96 | 96 | def authAjax = { |
97 | 97 | // CAS redirect |
98 | | - println "authAjax" |
99 | 98 | def newParams = params |
100 | 99 | newParams.bodyOnly = true |
101 | | - redirect(controller: "login", action: "auth", params: newParams) |
| 100 | + redirect(controller: "login", action: "auth", params: params) |
102 | 101 |
|
103 | 102 | //response.setHeader 'Location', SpringSecurityUtils.securityConfig.auth.ajaxLoginFormUrl |
104 | 103 | //response.sendError HttpServletResponse.SC_UNAUTHORIZED |
|
0 commit comments