Skip to content
Merged
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
2 changes: 1 addition & 1 deletion plugin-acl/docs/src/docs/installing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Add an entry in the dependencies block of your `build.gradle file, changing the
----
dependencies {
...
implementation 'org.grails.plugins:spring-security-acl:{projectVersion}'
implementation 'org.apache.grails:grails-spring-security-acl:{projectVersion}'
...
----

Expand Down
4 changes: 2 additions & 2 deletions plugin-cas/docs/src/docs/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If you are using 3.3.x use:
----
dependencies {
...
compile 'org.grails.plugins:spring-security-cas:{projectVersion}'
implementation 'org.apache.grails:grails-spring-security-cas:{projectVersion}'
...
----

Expand All @@ -51,7 +51,7 @@ If you are using Grails 3.0.x 3.1.x or 3.2.x use:
----
dependencies {
...
compile 'org.grails.plugins:spring-security-cas:{threeZeroXProjectVersion}'
implementation 'org.apache.grails:grails-spring-security-cas:{threeZeroXProjectVersion}'
...
----

Expand Down
2 changes: 1 addition & 1 deletion plugin-core/docs/src/docs/examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ under the License.
[[examples]]
== Example Applications

Sometimes the best way to learn is by example. We have an ever-expanding list of example apps created to do just that... help you learn how to utilize the grails-spring-security-core plugin in your current application.
Sometimes the best way to learn is by example. We have an ever-expanding list of example apps created to do just that... help you learn how to utilize the grails-spring-security plugin in your current application.

=== The Repos
A comprehensive list of example spring security apps may be found at:
Expand Down
2 changes: 1 addition & 1 deletion plugin-core/docs/src/docs/introduction/configGroovy.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ If your application incorporates the CXF Grails plugin, it's crucial to arrange
dependencies {
implementation 'org.grails.plugins:cxf:3.1.1'
// CXF above security.
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
implementation 'org.apache.grails:grails-spring-security:{revnumber}'
}
----
2 changes: 1 addition & 1 deletion plugin-core/docs/src/docs/introduction/gettingStarted.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Begin by installing the Spring Security plugin into your Grails project. Add the

[source,gradle,subs="+attributes"]
----
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
implementation 'org.apache.grails:grails-spring-security:{revnumber}'
----

.Step 2: Run the Initialization Script
Expand Down
2 changes: 1 addition & 1 deletion plugin-core/docs/src/docs/introduction/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Ensure you have the following set up:
----
dependencies {
// ... other dependencies
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
implementation 'org.apache.grails:grails-spring-security:{revnumber}'
}
----
+
Expand Down
2 changes: 1 addition & 1 deletion plugin-core/docs/src/docs/passwords/locking.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ If your application includes a dependency for `org.hibernate:hibernate-ehcache`

[source,groovy]
----
compile 'org.hibernate:hibernate-ehcache', {
implementation 'org.hibernate:hibernate-ehcache', {
exclude module: 'ehcache-core'
}
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $ cd bookstore
----
dependencies {
...
compile 'org.grails.plugins:spring-security-core:{project-version}'
implementation 'org.apache.grails:grails-spring-security:{project-version}'
...
}
----
Expand Down
8 changes: 3 additions & 5 deletions plugin-ldap/docs/src/docs/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ There isn't much that you need to do in your application to use LDAP. Add a depe
----
dependencies {
...
compile 'org.grails.plugins:spring-security-ldap:{version}'
implementation 'org.apache.grails:grails-spring-security-ldap:{version}'
}
----

Expand All @@ -45,10 +45,8 @@ Grails Spring Security LDAP plugin has a transitive dependency to Grails Spring
----
dependencies {
...
compile "org.grails.plugins:spring-security-core:{grailsSpringSecurityCoreVersion}"
compile ("org.grails.plugins:spring-security-ldap:{version}") {
exclude group: 'org.grails.plugins', module:'spring-security-core'
}
implementation "org.apache.grails:grails-spring-security:{version}"
implementation "org.apache.grails:grails-spring-security-ldap:{version}"
}
----

Expand Down
8 changes: 4 additions & 4 deletions plugin-oauth2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Add the following dependencies in `build.gradle`
```groovy
dependencies {
...
implementation 'org.grails.plugins:spring-security-core:5.2.1'
implementation 'org.grails.plugins:spring-security-oauth2:3.0.0'
implementation 'org.apache.grails:grails-spring-security:{revnumber}'
implementation 'org.apache.grails:grails-spring-security-oauth2:{revnumber}'
...
}
```
Expand Down Expand Up @@ -82,8 +82,8 @@ How to create a new provider plugin
-----------------------------------
1. Create a new plugin with `grails create-plugin spring-security-oauth2-myProvider`
2. Add the following plugins as dependency in `build.gradle`:
* `compileOnly 'org.grails.plugins:spring-security-core:3.+'`
* `compileOnly 'org.grails.plugins:spring-security-oauth2:1.1.+'`
* `compileOnly 'org.apache.grails:grails-spring-security:{revnumber}'`
* `compileOnly 'org.apache.grails:grails-spring-security-oauth2:{revnumber}'`
3. Create a service in your plugin that extends `OAuth2AbstractProviderService` and implement the abstract methods. You can override the other methods for fine-tuning if needed.


Expand Down
4 changes: 2 additions & 2 deletions plugin-oauth2/docs/src/docs/extensions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ List of known extensions
----
dependencies {
// ...
api 'org.grails.plugins:spring-security-core'
api 'org.grails.plugins:spring-security-oauth2'
api 'org.apache.grails:grails-spring-security:{version}'
api 'org.apache.grails:grails-spring-security-oauth2:{version}'
}
----
[start=3]
Expand Down
2 changes: 1 addition & 1 deletion plugin-oauth2/docs/src/docs/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _build.gradle_
----

dependencies {
implementation "org.grails.plugins:spring-security-oauth2:{projectVersion}"
implementation "org.apache.grails:grails-spring-security-oauth2:{projectVersion}"
}
----

Expand Down
14 changes: 7 additions & 7 deletions plugin-rest/docs/src/docs/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {

//Other dependencies

compile "org.grails.plugins:spring-security-rest:{version}"
implementation "org.apache.grails:grails-spring-security-rest:{version}"

}
----
Expand All @@ -46,18 +46,18 @@ dependencies {

//Other dependencies

compile "org.grails.plugins:spring-security-rest:${springSecurityRestVersion}"
compile "org.grails.plugins:spring-security-rest-memcached:${springSecurityRestVersion}"
implementation "org.apache.grails:grails-spring-security-rest:${springSecurityRestVersion}"
implementation "org.apache.grails:grails-spring-security-rest-memcached:${springSecurityRestVersion}"

}
----

The Maven coordinates are the following:

. Grails Cache: `org.grails.plugins:spring-security-rest-grailscache`.
. Memcached: `org.grails.plugins:spring-security-rest-memcached`.
. GORM: `org.grails.plugins:spring-security-rest-gorm`.
. Redis: `org.grails.plugins:spring-security-rest-redis`.
. Grails Cache: `org.apache.grails:grails-spring-security-rest-grailscache`.
. Memcached: `org.apache.grails:grails-spring-security-rest-memcached`.
. GORM: `org.apache.grails:grails-spring-security-rest-gorm`.
. Redis: `org.apache.grails:grails-spring-security-rest-redis`.

Note that configuration properties such as `grails.plugin.springsecurity.rest.token.storage.useMemcached` are no longer
used. Every submodule of the above list will automatically configure the token store appropriately
Expand Down
2 changes: 1 addition & 1 deletion plugin-rest/generate-test-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ sdk use grails $grailsVersion
cd build

for feature in `ls ../spring-security-rest-testapp-profile/features/`; do
grails create-app -profile org.grails.plugins:spring-security-rest-testapp-profile:$pluginVersion -features $feature $feature
grails create-app -profile org.apache.grails:grails-spring-security-rest-testapp-profile:$pluginVersion -features $feature $feature
done
2 changes: 1 addition & 1 deletion plugin-ui/docs/src/docs/introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Add an entry in the `dependencies` block of your `build.gradle` file, changing t
[subs="attributes"]
.`build.gradle`
----
implementation 'org.grails.plugins:spring-security-ui:{projectVersion}'
implementation 'org.apache.grails:grails-spring-security-ui:{projectVersion}'
----

Also be sure to update the version when new releases are available.
Expand Down
Loading