Browse Source

reactive/webflux/authentication/username-password/form

Rob Winch 5 năm trước cách đây
mục cha
commit
a19d2a6aa8

+ 2 - 2
reactive/webflux/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java

@@ -18,7 +18,7 @@ package example;
 import com.gargoylesoftware.htmlunit.BrowserVersion;
 import example.pages.IndexPage;
 import example.pages.LoginPage;
-import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 import org.openqa.selenium.WebDriver;
 import org.openqa.selenium.htmlunit.HtmlUnitDriver;
@@ -40,7 +40,7 @@ public class WebfluxFormApplicationITests {
 	@LocalServerPort
 	int port;
 
-	@BeforeAll
+	@BeforeEach
 	void setup() {
 		this.driver = new HtmlUnitDriver(BrowserVersion.CHROME);
 	}

+ 2 - 2
reactive/webflux/authentication/username-password/form/src/main/java/sample/IndexController.java → reactive/webflux/authentication/username-password/form/src/main/java/example/IndexController.java

@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2020 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package sample;
+package example;
 
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.GetMapping;

+ 2 - 2
reactive/webflux/authentication/username-password/form/src/main/java/sample/WebfluxFormApplication.java → reactive/webflux/authentication/username-password/form/src/main/java/example/WebfluxFormApplication.java

@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2020 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package sample;
+package example;
 
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;

+ 2 - 2
reactive/webflux/authentication/username-password/form/src/main/java/sample/WebfluxFormSecurityConfiguration.java → reactive/webflux/authentication/username-password/form/src/main/java/example/WebfluxFormSecurityConfiguration.java

@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2019 the original author or authors.
+ * Copyright 2020 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package sample;
+package example;
 
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;