Skip to content

Commit 6732699

Browse files
authored
Update onelogin.saml.properties
Add reference to the Private Key supported
1 parent 789b30c commit 6732699

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

samples/java-saml-jspsample/src/main/resources/onelogin.saml.properties

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ onelogin.saml2.sp.assertion_consumer_service.url = http://localhost:8080/java-sa
2020

2121
# SAML protocol binding to be used when returning the <Response>
2222
# message. Onelogin Toolkit supports for this endpoint the
23-
# HTTP-Redirect binding only
23+
# HTTP-POST binding only
2424
onelogin.saml2.sp.assertion_consumer_service.binding = urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST
2525

2626
# Specifies info about where and how the <Logout Response> message MUST be
2727
# returned to the requester, in this case our SP.
2828
onelogin.saml2.sp.single_logout_service.url = http://localhost:8080/java-saml-jspsample/sls.jsp
29+
30+
# SAML protocol binding to be used when returning the <LogoutResponse> or sending the <LogoutRequest>
31+
# message. Onelogin Toolkit supports for this endpoint the
32+
# HTTP-Redirect binding only
2933
onelogin.saml2.sp.single_logout_service.binding = urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
3034

3135
# Specifies constraints on the name identifier to be used to
@@ -37,6 +41,9 @@ onelogin.saml2.sp.nameidformat = urn:oasis:names:tc:SAML:2.0:nameid-format:unspe
3741
# the certs folder. But we can also provide them with the following parameters
3842

3943
onelogin.saml2.sp.x509cert =
44+
45+
# Requires Format PKCS#8 BEGIN PRIVATE KEY
46+
# If you have PKCS#1 BEGIN RSA PRIVATE KEY convert it by openssl pkcs8 -topk8 -inform pem -nocrypt -in sp.rsa_key -outform pem -out sp.pem
4047
onelogin.saml2.sp.privatekey =
4148

4249
# Identity Provider Data that we want connect with our SP
@@ -51,7 +58,7 @@ onelogin.saml2.idp.single_sign_on_service.url =
5158

5259
# SAML protocol binding to be used when returning the <Response>
5360
# message. Onelogin Toolkit supports for this endpoint the
54-
# HTTP-POST binding only
61+
# HTTP-Redirect binding only
5562
onelogin.saml2.idp.single_sign_on_service.binding = urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
5663

5764
# SLO endpoint info of the IdP.
@@ -134,3 +141,14 @@ onelogin.saml2.security.want_xml_validation = true
134141
# 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha384'
135142
# 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512'
136143
onelogin.saml2.security.signature_algorithm = http://www.w3.org/2000/09/xmldsig#rsa-sha1
144+
145+
# Organization
146+
onelogin.saml2.organization.name = SP Java
147+
onelogin.saml2.organization.displayname = SP Java Example
148+
onelogin.saml2.organization.url = http://sp.example.com
149+
150+
# Contacts
151+
onelogin.saml2.contacts.technical.given_name = Technical Guy
152+
onelogin.saml2.contacts.technical.email_address = technical@example.com
153+
onelogin.saml2.contacts.support.given_name = Support Guy
154+
onelogin.saml2.contacts.support.email_address = support@@example.com

0 commit comments

Comments
 (0)