@cronapp/templates 2.9.2-SP.3 → 2.9.2-SP.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@cronapp/templates",
3
- "version": "2.9.2-SP.3",
3
+ "version": "2.9.2-SP.30",
4
4
  "cronapp-ide-minimum-version": "2.5.0"
5
5
  }
@@ -11,10 +11,11 @@ mimetype.src.main.mobileapp.www=folder/web
11
11
  mimetype.src.main.webapp=folder/web
12
12
  mimetype.src.test.java=folder/regular
13
13
  mimetype.config=folder/servercontext
14
- billingPlan=developer,techne
14
+ planTypes=techne,cronapp
15
15
 
16
16
  template.id=cronapp-lyceum-project-mobile-cordova
17
17
  features=ionic|angularjs|eclipselink|jpa|maven|springboot|cordova
18
+ authenticationTypes=SSO
18
19
 
19
20
  parameter.page.1.string.0.appid=${generateAppId}
20
21
  parameter.page.1.boolean.1.frontend=true
@@ -96,7 +96,7 @@ maven.dependecies.new.dependency.14.artifactId=gson
96
96
  maven.dependecies.new.dependency.14.version=2.8.0
97
97
 
98
98
  features=ionic|angularjs|eclipselink|jpa|maven|springboot|cordova
99
-
99
+ authenticationTypes=Nenhuma|Normal|Token|activeDirectory|ldap|SSO|Saml
100
100
 
101
101
  parameter.page.1.string.0.appid=${generateAppId}
102
102
  parameter.page.1.boolean.1.frontend=true
@@ -104,8 +104,8 @@ parameter.page.1.boolean.2.backend=true
104
104
  parameter.page.1.list.3.authentication=Token|SSO|Saml|Nenhuma
105
105
  parameter.page.1.list.6.social=Não|Sim
106
106
  parameter.page.1.list.7.mutual=Não|Sim
107
-
108
107
  parameter.page.2.theme.6.theme=Material|Aquamarine|Fuse|DsGov|Cerulean|Cosmo|Cyborg|Darkly|Flatly|Journal|Lumen|Paper|Readable|Sandstone|Simplex|Slate|Spacelab|Superhero|United|Yeti
108
+
109
109
  themeDescription.Aquamarine=O tema Aquamarine utiliza o padrão de HTML e CSS do Bootstrap 🆕
110
110
  themeDescription.Fuse=O tema Fuse utiliza o padrão de HTML e CSS do Bootstrap 🆕
111
111
  themeDescription.DsGov=O tema DsGov utiliza o padrão de HTML e CSS do Gov.br 🆕
@@ -21,5 +21,7 @@ security.oauth2.saml.privateKey=privateKey
21
21
  security.oauth2.saml.privateKeyPass=privateKeyPass
22
22
  security.oauth2.saml.storeFile=storeFile
23
23
  security.oauth2.saml.storePass=storePass
24
+ security.oauth2.saml.maxAuthenticationAge=7200
25
+ security.oauth2.saml.forceAuthN=false
24
26
  security.oauth2.sso.login-path=/login
25
27
  spring.output.ansi.enabled=ALWAYS
@@ -70,7 +70,7 @@ maven.dependecies.new.dependency.10.version=1.3.5.RELEASE
70
70
  maven.dependecies.new.dependency.10.scope=provided
71
71
 
72
72
  features=angularjs|eclipselink|jpa|maven|springboot
73
-
73
+ authenticationTypes=Nenhuma|Normal|Token|activeDirectory|ldap|SSO|Saml
74
74
 
75
75
  parameter.page.1.string.0.appid=${generateAppId}
76
76
  parameter.page.1.boolean.1.frontend=true
@@ -80,6 +80,7 @@ parameter.page.1.list.4.menuPosition=Horizontal|Vertical
80
80
  parameter.page.1.list.6.social=Não|Sim
81
81
  parameter.page.1.list.7.mutual=Não|Sim
82
82
  parameter.page.2.theme.6.theme=Material|Aquamarine|Fuse|DsGov|Cosmo|Cyborg|Darkly|Flatly|Journal|Lumen|Paper|Readable|Sandstone|Simplex|Slate|Spacelab|Superhero|United|Yeti
83
+
83
84
  themeDescription.Aquamarine=O tema Aquamarine utiliza o padrão de HTML e CSS do Bootstrap 🆕
84
85
  themeDescription.Fuse=O tema Fuse utiliza o padrão de HTML e CSS do Bootstrap 🆕
85
86
  themeDescription.DsGov=O tema DsGov utiliza o padrão de HTML e CSS do Gov.br 🆕
@@ -16,28 +16,38 @@ public class SecurityPermission implements Permission {
16
16
  public void loadSecurityPermission(HttpSecurity http) throws Exception {
17
17
 
18
18
  // public
19
+ <#if listPermitAll??>
19
20
  <#list listPermitAll as role>
20
21
  ${role}
21
22
  </#list>
22
-
23
+ </#if>
24
+
23
25
  // role hasAuthority permission
26
+ <#if listHasAuthority??>
24
27
  <#list listHasAuthority as role>
25
28
  ${role}
26
29
  </#list>
27
-
30
+ </#if>
31
+
28
32
  // role hasAnyAuthority permission
33
+ <#if listHasAnyAuthority??>
29
34
  <#list listHasAnyAuthority as role>
30
35
  ${role}
31
36
  </#list>
37
+ </#if>
32
38
 
33
39
  // autenticated
40
+ <#if listAutenticated??>
34
41
  <#list listAutenticated as role>
35
42
  ${role}
36
43
  </#list>
44
+ </#if>
37
45
 
38
46
  // deny all
39
- <#list listDenyAll as role>
40
- ${role}
41
- </#list>
47
+ <#if listDenyAll??>
48
+ <#list listDenyAll as role>
49
+ ${role}
50
+ </#list>
51
+ </#if>
42
52
  }
43
- }
53
+ }