Skip to content
This repository was archived by the owner on Feb 27, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void webSSOProfileConsumerIsInjectedViaDSL() throws Exception {

assertThat(samlMessageContext).isNotNull();
assertThat(samlMessageContext.getInboundSAMLMessageId()).isEqualTo("id61844979402263501352984461");
assertThat(samlMessageContext.getPeerEntityId()).isEqualTo("http://www.okta.com/exkb5v2p0pp35JFKa0h7");
assertThat(samlMessageContext.getPeerEntityId()).isEqualTo("https://www.okta.com/exkb5v2p0pp35JFKa0h7");
}

private SAMLCredential stubSAMLCredential() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void discoveryRedirectsLogin() throws Exception {

@Test
public void loginRendersSAMLRequest() throws Exception {
mockMvc.perform(get("/saml/login").param("disco", "true").param("idp","http://www.okta.com/exk5id72igJRNtH5M0h7"))
mockMvc.perform(get("/saml/login").param("disco", "true").param("idp","https://www.okta.com/exk5id72igJRNtH5M0h7"))
.andExpect(status().isOk())
.andExpect(content().string(containsString("<input type=\"hidden\" name=\"SAMLRequest\" value=\"")));

Expand Down
2 changes: 1 addition & 1 deletion core/src/test/resources/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org" xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<title>Spring Security Example</title>
</head>
Expand Down
2 changes: 1 addition & 1 deletion samples/spring-security-saml-dsl-sample/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Set up a test okta

#### Basic setup
1. Navigate to [http://developer.okta.com/](http://developer.okta.com/)
1. Navigate to [https://developer.okta.com/](https://developer.okta.com/)
1. Click on *Sign Up*
1. Fill in your own name and email address to register, or login if you already have
1. Okta will send you a confirmation email, including your temporary password and a link to your new developer Okta instance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org" xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<title>Spring Security Example</title>
</head>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org"
xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<title>Spring Security Example </title>
</head>
Expand Down