Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
dariahsp
Commits
5e46c384
Commit
5e46c384
authored
Dec 04, 2020
by
Gradl, Tobias
Browse files
18: Adapt according to needs of first actual implementation (CR)
Task-Url:
#18
parent
0a197e21
Pipeline
#18332
passed with stage
in 2 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dariahsp-core/src/main/java/eu/dariah/de/dariahsp/web/controller/CommonLoginController.java
View file @
5e46c384
...
...
@@ -48,10 +48,11 @@ public class CommonLoginController {
* @return login view
*/
@RequestMapping
(
"/login"
)
public
String
loginForm
(
Map
<
String
,
Object
>
map
,
@RequestParam
(
value
=
"url"
,
required
=
false
)
String
requestUrl
)
{
public
String
loginForm
(
Map
<
String
,
Object
>
map
,
@RequestParam
(
value
=
"url"
,
required
=
false
)
String
requestUrl
,
@RequestParam
(
value
=
"error"
,
required
=
false
)
String
error
)
{
final
FormClient
formClient
=
(
FormClient
)
config
.
getClients
().
findClient
(
securityConfig
.
getLocal
().
getAuthorizerName
()).
orElseThrow
();
map
.
put
(
"callbackUrl"
,
formClient
.
getCallbackUrl
());
map
.
put
(
"requestUrl"
,
requestUrl
);
map
.
put
(
"error"
,
error
);
return
loginView
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment