Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
dariahsp
Commits
818967e3
Commit
818967e3
authored
May 08, 2020
by
Gradl, Tobias
Browse files
Fix for DARIAH-IdP no longer providing endpoint ID (not necessary
anyway)
parent
07fab41c
Pipeline
#15421
passed with stages
in 2 minutes and 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
818967e3
...
@@ -12,7 +12,7 @@ allprojects {
...
@@ -12,7 +12,7 @@ allprojects {
apply
plugin:
"maven-publish"
apply
plugin:
"maven-publish"
group
=
'eu.dariah.de'
group
=
'eu.dariah.de'
version
=
'1.
3
.0-SNAPSHOT'
version
=
'1.
4
.0-SNAPSHOT'
repositories
{
repositories
{
mavenLocal
()
mavenLocal
()
...
...
dariahsp-core/src/main/java/eu/dariah/de/dariahsp/service/BaseUserService.java
View file @
818967e3
...
@@ -162,13 +162,9 @@ public abstract class BaseUserService implements UserService, SAMLUserDetailsSer
...
@@ -162,13 +162,9 @@ public abstract class BaseUserService implements UserService, SAMLUserDetailsSer
}
}
}
}
if
(
nameId
.
getNameQualifier
()!=
null
&&
!
nameId
.
getNameQualifier
().
isEmpty
())
{
fetchEndpoint
=
nameId
.
getNameQualifier
();
fetchEndpoint
=
nameId
.
getNameQualifier
();
}
else
{
logger
.
error
(
"No reidentifiable entityId available for user's home IDP"
);
throw
new
UserCredentialsException
(
UserCredentialsExceptionTypes
.
ID_ATTRIBUTE_NOT_PROVIDED
,
"No reidentifiable entityId available for user's home IDP"
);
}
SAMLUserImpl
u
=
new
SAMLUserImpl
();
SAMLUserImpl
u
=
new
SAMLUserImpl
();
u
.
setEndpointId
(
fetchEndpoint
);
u
.
setEndpointId
(
fetchEndpoint
);
u
.
setEndpointName
(
fetchEndpoint
);
u
.
setEndpointName
(
fetchEndpoint
);
...
...
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