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
e44c3082
Commit
e44c3082
authored
Apr 25, 2017
by
Gradl, Tobias
Browse files
738: SAML Discovery configuration not rendered correctly
Task-Url:
https://minfba.de.dariah.eu/mantisbt/view.php?id=738
parent
07954549
Changes
2
Hide whitespace changes
Inline
Side-by-side
dariahsp-sample/src/main/resources/dariahsp_saml_sample.yml
View file @
e44c3082
...
...
@@ -20,7 +20,7 @@ auth:
sp
:
externalMetadata
:
/home/tobias/Downloads/spring_saml_metadata.xml
alias
:
dariahsp
baseUr
r
:
https://minfba.de.dariah.eu/dariahsp
baseUr
l
:
https://minfba.de.dariah.eu/dariahsp
entityId
:
minfba.de.dariah.eu_dariahsp
securityProfile
:
metaiop
sslSecurityProfile
:
pkix
...
...
@@ -36,8 +36,9 @@ auth:
requireLogoutResponseSigned
:
false
discovery
:
enabled
:
true
url
:
https://minfba.de.dariah.eu/dariahsp/saml/login/alias/dariahsp?disco:true
return
:
https://minfba.de.dariah.eu/dariahsp/saml/discovery/alias/dariahsp
url
:
https://wayf.aai.dfn.de/DFN-AAI-Test/wayf
#url: https://auth.dariah.eu/CDS/WAYF
return
:
https://schereg.de.dariah.eu/schereg/saml/login/alias/schereg?disco:true
allowedNameIds
:
EMAIL, TRANSIENT, PERSISTENT, UNSPECIFIED, X509_SUBJECT
# Attribute querying
...
...
dariahsp-sample/src/main/resources/spring/security/security-context-saml.xml
View file @
e44c3082
...
...
@@ -97,7 +97,7 @@
<property
name=
"tlsKey"
value=
"${auth.saml.sp.tlsKey}"
/>
<property
name=
"signMetadata"
value=
"${auth.saml.sp.signMetadata}"
/>
<property
name=
"ecpEnabled"
value=
"${auth.saml.sp.ecpEnabled}"
/>
<property
name=
"ecpEnabled"
value=
"${auth.saml.sp.ecpEnabled
:true
}"
/>
<property
name=
"signingKey"
value=
"${auth.saml.sp.signingKey}"
/>
<property
name=
"requireArtifactResolveSigned"
value=
"${auth.saml.sp.requireArtifactResolveSigned:true}"
/>
...
...
@@ -119,7 +119,9 @@
</bean>
-->
<bean
id=
"externalLocalSpMetadataConfigured"
class=
"java.lang.Boolean"
>
<constructor-arg
value=
"#{'${auth.saml.sp.externalMetadata:null}'!='null'}"
/>
</bean>
<!-- IDP Metadata configuration - paths to metadata of IDPs in circle of trust is here -->
<bean
id=
"metadata"
class=
"eu.dariah.de.dariahsp.saml.metadata.ConditionalMetadataManager"
>
...
...
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