You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugin-core/docs/src/docs/introduction/gettingStarted.adoc
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,9 @@ After installation, execute the `s2-quickstart` initialization script. This sets
40
40
./gradlew runCommand -Pargs="s2-quickstart com.yourapp User Role"
41
41
----
42
42
43
+
If you are installing into a Grails plugin instead of an application, you must make sure you are using the `web-plugin` profile. Otherwise dependencies will not be met.
44
+
Running the same command will inject the spring beans into your `GrailsPlugin` classes `doWithSpring` method.
45
+
43
46
=== Plugin Configuration and Setup
44
47
45
48
The Spring Security plugin streamlines configuration and setup through a combination of steps:
@@ -52,4 +55,4 @@ The Spring Security plugin streamlines configuration and setup through a combina
52
55
53
56
The plugin configures Spring beans within the application context to implement various functionality components. Dependency management automatically handles the selection of appropriate jar files.
54
57
55
-
By following these steps, your Grails application will be ready to leverage the Spring Security plugin for enhanced security. While in-depth knowledge of Spring Security isn't mandatory, having a basic understanding of its underlying implementation can be helpful. For more details, refer to the [Spring Security documentation](https://{htmlsingle}).
58
+
By following these steps, your Grails application will be ready to leverage the Spring Security plugin for enhanced security. While in-depth knowledge of Spring Security isn't mandatory, having a basic understanding of its underlying implementation can be helpful. For more details, refer to the [Spring Security documentation](https://{htmlsingle}).
0 commit comments