grails-3.0

Grails 3 and Spring Security Plugin

ⅰ亾dé卋堺 提交于 2019-11-28 06:23:05
I've just recently started working with Grails, and I'd like to test out the Spring Security Plugin. I'm using Grails v3.0.0RC2, and I'm finding it difficult to come across accurate documentation for it with a lot of things. I'm looking at the Grails page for the Spring Security Plugin, located at http://grails.org/plugin/spring-security-core , and it tells me to add the following to grails-app/conf/BuildConfig plugins { … compile ':spring-security-core:2.0-RC4' … } Now, Grails 3 has done away with the BuildConfig, and moved over to using Gradle. So I figured I could just that compile line to

grails 3 war in JBoss EAP 6.2.0 does not work

你。 提交于 2019-11-28 01:57:26
问题 When I try to run a very simple grails 3 (3.0.7) application as war (with embedded tomcat removed) in JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) all requests end up in a HTTP 404. The same war works in Tomcat. Searching the web I found the following related to Spring Boot: springBoot application on Jboss EAP, servlet context not lodaed Unfortunately configuring the property server.servlet-path in application.yml (in yml format) did not work. 回答1: Looking into the grails 3 source: https:/

Grails3 file upload maxFileSize limit

社会主义新天地 提交于 2019-11-27 15:30:48
I am trying to update the file upload maxFileSize limit in Grails 3 and tried the configuration in src/main/resources/application.properties , application.groovy and application.yml , but it's still throwing the exception Class org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException Message the request was rejected because its size (154738) exceeds the configured maximum (128000) Any help on where and what to configure in a Grails 3 application? The solution is to set maxFileSize and maxRequestSize limits inside your application.yml file. Be sure to have something like

Grails 3 and Spring Security Plugin

╄→гoц情女王★ 提交于 2019-11-27 01:19:24
问题 I've just recently started working with Grails, and I'd like to test out the Spring Security Plugin. I'm using Grails v3.0.0RC2, and I'm finding it difficult to come across accurate documentation for it with a lot of things. I'm looking at the Grails page for the Spring Security Plugin, located at http://grails.org/plugin/spring-security-core, and it tells me to add the following to grails-app/conf/BuildConfig plugins { … compile ':spring-security-core:2.0-RC4' … } Now, Grails 3 has done away

Grails3 file upload maxFileSize limit

半腔热情 提交于 2019-11-26 14:44:41
问题 I am trying to update the file upload maxFileSize limit in Grails 3 and tried the configuration in src/main/resources/application.properties , application.groovy and application.yml , but it's still throwing the exception Class org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException Message the request was rejected because its size (154738) exceeds the configured maximum (128000) Any help on where and what to configure in a Grails 3 application? 回答1: The solution is