@ -16,6 +16,8 @@ It is configured with the following default implementation:
@@ -16,6 +16,8 @@ It is configured with the following default implementation:
open fun filterChain(http: HttpSecurity): SecurityFilterChain {
http {
@ -29,6 +31,9 @@ open fun filterChain(http: HttpSecurity): SecurityFilterChain {
@@ -29,6 +31,9 @@ open fun filterChain(http: HttpSecurity): SecurityFilterChain {
}
----
[NOTE]
Make sure that import the `invoke` function in your class, sometimes the IDE will not auto-import it causing compilation issues.
The default configuration above:
* Ensures that any request to our application requires the user to be authenticated
@ -54,6 +59,8 @@ For example, the following is an example of having a different configuration for
@@ -54,6 +59,8 @@ For example, the following is an example of having a different configuration for