Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit 048e97b

Browse files
author
rvanderwerf
committed
Grails 4/Spring Security 5 Support - test release
1 parent 535e29b commit 048e97b

File tree

9 files changed

+26
-20
lines changed

9 files changed

+26
-20
lines changed

docs/src/docs/index.tmpl

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ img {
7373
</tr>
7474
<tr>
7575
<td class="propName">Grails Version</td>
76-
<td>3.0.0 > *</td>
76+
<td>4.0.x > *</td>
7777
</tr>
7878
<tr>
7979
<td class="propName">Author</td>
@@ -84,14 +84,24 @@ img {
8484

8585
<hr />
8686

87-
<h2>Current Documentation</h2>
87+
<h2>Current Documentation (4.0.x)</h2>
88+
<ul>
89+
<li><a href="/grails-spring-security-ui/@VERSION@/index.html">User guide</a></li>
90+
<li><a href="/grails-spring-security-ui/@VERSION@/spring-security-ui-@VERSION@.pdf">User guide PDF</a></li>
91+
<li><a href="/grails-spring-security-ui/@VERSION@/spring-security-ui-@VERSION@.epub">User guide EPUB</a></li>
92+
<!-- <li><a href="/grails-spring-security-ui/@VERSION@/spring-security-ui-@VERSION@.mobi">User guide MOBI (Kindle)</a></li> -->
93+
</ul>
94+
95+
96+
<h2>3.0.x Documentation</h2>
8897
<ul>
8998
<li><a href="/grails-spring-security-ui/v3/index.html">User guide</a></li>
9099
<li><a href="/grails-spring-security-ui/v3/spring-security-ui-@VERSION@.pdf">User guide PDF</a></li>
91100
<li><a href="/grails-spring-security-ui/v3/spring-security-ui-@VERSION@.epub">User guide EPUB</a></li>
92101
<!-- <li><a href="/grails-spring-security-ui/v3/spring-security-ui-@VERSION@.mobi">User guide MOBI (Kindle)</a></li> -->
93102
</ul>
94103

104+
95105
<h2>Documentation (version 1.0.x)</h2>
96106
<ul>
97107
<li><a href="/grails-spring-security-ui/v1/index.html">User guide</a></li>

docs/src/docs/introduction.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies {
2222
...
2323
----
2424

25-
NOTE: Master branch is for Grails 4, which uses Spring Security 5.1.2 and Spring 5
25+
NOTE: Master branch is for Grails 4, which uses Spring Security 5 and Spring 5
2626
See the spring-security-core plugin for details such as how password encodings have changed (salts).
2727

2828
NOTE: Version 3.1.x is only compatible with Grails 3.3.x or higher.
@@ -43,6 +43,8 @@ Also be sure to update the versions when new releases are available.
4343

4444
=== Release History
4545

46+
* Apr 9, 2019
47+
** 4.0.0.M1 release
4648
* Feb 14, 2018
4749
** 3.1.2 release
4850
* Sep 27, 2017

docs/src/docs/persistentCookie.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[persistentCookie]]
22
== Persistent Cookie Management
33

4-
Persistent cookies aren't enabled by default - you must enable them by running the `s2-create-persistent-token` script. See https://grails-plugins.github.io/grails-spring-security-core/v3/index.html#rememberMeCookie[the Spring Security Core plugin documentation] for details about this feature.
4+
Persistent cookies aren't enabled by default - you must enable them by running the `s2-create-persistent-token` script. See https://grails-plugins.github.io/grails-spring-security-core/@VERSION@/index.html#rememberMeCookie[the Spring Security Core plugin documentation] for details about this feature.
55

66
The Persistent Logins menu is only shown if this feature is enabled.
77

docs/src/docs/user.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ image::user_edit.png[]
2121

2222
You can update any of the attributes or delete the User. You can see that there's a "Login as user" button here - that is only shown if you're authenticated with a User who is granted `ROLE_SWITCH_USER` (this role name can be configured in `application.groovy`):
2323

24-
This allows you to temporarily assume the identity of another User (see https://grails-plugins.github.io/grails-spring-security-core/v3/index.html#switchUser[the Spring Security Core plugin documentation] for more information about switch-user). The "Logged in as ..." information in the top right of the screen will change to show that you're running as another User and provide a link to switch back. The role name `ROLE_SWITCH_USER` is the default but you can change the value with the `grails.plugin.springsecurity.ui.switchUserRoleName` setting in application.groovy.
24+
This allows you to temporarily assume the identity of another User (see https://grails-plugins.github.io/grails-spring-security-core/@VERSION@/index.html#switchUser[the Spring Security Core plugin documentation] for more information about switch-user). The "Logged in as ..." information in the top right of the screen will change to show that you're running as another User and provide a link to switch back. The role name `ROLE_SWITCH_USER` is the default but you can change the value with the `grails.plugin.springsecurity.ui.switchUserRoleName` setting in application.groovy.
2525

2626
If you click the Roles tab you can see the roles granted to this User and can click through to its edit page:
2727

examples/extended/build.gradle

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,10 @@ dependencies {
7676
compile "org.grails.plugins:mail:$mailVesion"
7777

7878

79-
compile("org.grails.plugins:spring-security-acl:4.0.0.BUILD-SNAPSHOT") {
79+
compile("org.grails.plugins:spring-security-acl:4.0.0.M1") {
8080
exclude group: 'org.grails.plugins', module: 'spring-security-core'
8181
}
82-
83-
/*
84-
compile("org.grails.plugins:spring-security-acl:3.1.2") {
85-
exclude group: 'org.grails.plugins', module: 'spring-security-core'
86-
}
87-
*/
88-
82+
8983
compile project(":spring-security-ui")
9084
}
9185

examples/extended/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
grailsVersion=4.0.0.M2
2-
gormVersion=7.0.0.BUILD-SNAPSHOT
2+
gormVersion=7.0.0.RC2
33
gradleWrapperVersion=4.9
4-
mailVesion=2.0.0.RC6
4+
mailVesion=2.0.0
55
hibernateCoreVresion=
66
springSecurityAclVersion=5.1.2.RELEASE
77
hibernateCoreVersion=5.3.7.Final

examples/simple/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
grailsVersion=4.0.0.M2
2-
gormVersion=7.0.0.BUILD-SNAPSHOT
2+
gormVersion=7.0.0.RC2
33
gradleWrapperVersion=4.9
44
mailVesion=2.0.0.RC6
55
springSecurityAclVersion=5.1.2.RELEASE

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
projectVersion=4.0.0.BUILD-SNAPSHOT
1+
projectVersion=4.0.0.TEST
22
title=Spring Security UI Plugin
33
authors=Burt Beckwith
44
projectDesc=Provides CRUD screens and other user management workflows.
@@ -10,13 +10,13 @@ vcsUrl=https://github.com/grails-plugins/grails-spring-security-ui
1010
websiteUrl=https://github.com/grails-plugins/grails-spring-security-ui
1111
issueTrackerUrl=https://github.com/grails-plugins/grails-spring-security-ui/issues
1212
grailsVersion=4.0.0.M2
13-
gormVersion=7.0.0.BUILD-SNAPSHOT
13+
gormVersion=7.0.0.RC2
1414
gradleWrapperVersion=4.9
1515
assetPipelineVersion=2.14.3
1616
dumbsterVersion=1.6
1717
mailVersion=2.0.0.RC6
1818
springSecurityAclVersion=5.1.2.RELEASE
1919
chromeDriverVersion=2.40
2020
geckoDriverVersion=0.21.0
21-
springSecurityCoreVersion=4.0.0.BUILD-SNAPSHOT
21+
springSecurityCoreVersion=4.0.0.M1
2222
springSecurityVersion=5.1.2.RELEASE

gradle/grailsPublish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ grailsPublish {
1717
}
1818
issueTrackerUrl = project.hasProperty('issueTrackerUrl') ? project.issueTrackerUrl : "https://github.com/grails-plugins/$project.name/issues"
1919
vcsUrl = project.hasProperty('vcsUrl') ? project.vcsUrl : "https://github.com/grails-plugins/$project.name"
20-
title = 'Grails spring-security-core plugin'
20+
title = 'Grails spring-security-ui plugin'
2121
desc = ''
2222
developers = [burtbeckwith:"Burt Beckwith"]
2323
}

0 commit comments

Comments
 (0)