project --topLevelPackage it.pippo
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
entity --class ~.Astratto --testAutomatically
field string --fieldName code --notNull ...
Type: Posts; User: bozzo@celi.it; Keyword(s):
project --topLevelPackage it.pippo
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
entity --class ~.Astratto --testAutomatically
field string --fieldName code --notNull ...
Thanks a lot for your help!
I send you a log (backup is too big 150 kb) :rolleyes:
It's about inheritance! :mad:
I have an abstractClassificator entity with various fields id, description...
Then a booleanQueryClassificator --extends from it. This adds a simple 'query' string...
Perfect. This is resolved. :rolleyes:
:confused:
this is my persistence layer: persistence setup --provider HIBERNATE --database POSTGRES --userName postgres --password postgres --databaseName roo
all works fine... but when I...
I made setup of sample 'wedding' app.
security setup -> all configured right! Wonderful!
:rolleyes: Now I'd like to protect ALL my urls with login page.
I thought <intercept-url pattern="/**"...
Maybe 'id' and 'description' are reserved words?
Thanks for your reply Stefan!
// Spring Roo 1.0.0.RELEASE [rev 564] log opened at 2010-01-12 22:15:57
project --topLevelPackage it.celi
persistence setup --provider HIBERNATE --database...
@Stefan
...
I'm trying ROO. Tutorial studying and so on.
Your example is exactly what I need now, but... it doesn't work for me!
I mean:
- i create three person: A, B and C;
- i create two...
package it.celi.web;
import flexjson.JSONDeserializer;
import flexjson.JSONSerializer;
import it.celi.AclService;
import it.celi.security.BusinessFunction;
import java.util.ArrayList;...
Also... what does my PUT method have to return?
HOW? Response code 201?
@Controller
public class BusinessFunctionsController {
@Setter
@Autowired
AclService aclService;
@RequestMapping(value="/businessFunctions", method=RequestMethod.GET)
@ResponseBody...
http://static.springsource.org/spring/docs/2.5.6/reference/mvc.html#mvc-themeresolver
This is a great introduction and kick start for an experienced user but... do you know where I can find a few...
I submit a new question about ROLE based access control.
Here's a snippet of my security configuration:
<sec:http access-denied-page="/denied.html">
<sec:form-login login-page="/login.do"...
I fixed it in another way.
Now I use two SimpleUrlHandlerMapping: one with interceptors and one without them. I wrote an HandlerInterceptor with a white list of IPs inside of it.
If I want to...
Ok, finally... it works! :) Thanks for your help!
Now I'm using two SimpleUrlHandlerMapping with 'order' property 1 for the interceptor-based and 2 for other mappings.
Thank you again!
I read the reference guide at http://static.springsource.org/spring/docs/2.5.x/reference/mvc.html#mvc-handlermapping but I don't understand one thing, it isn't explained how to put the interceptor...
Better...
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>it.celi.security.DelegatingFilterProxy</filter-class>
<init-param>...
Could you please tell me with more details how can I add a handlerInterceptor to my configuration? Can I leave the filter as it is? :o
I've got a servlet filter that allow accessing a spring controller only for a couple ip. I defined it in my web.xml:
<filter>
<filter-name>IpAddressFilter</filter-name>
...
So.... if I put in the intercept-url access field "pippo", will I find 'pippo' in the ConfigAttributes on the voter?
http://pastebin.com/d42d43939
I understood your suggestion, I tried but really cannot get that.
I modified my voter but now:
1. it ask me for authentication, I don't want so
2....
It is possible, it's a good solution for our environment (we directly control Apache, Tomcat with jk and so on... :) But.... actually it can be a portability problem for some webapps in production...
Thanks for the light-speed reply :p
You've got reason, I discussed our requirements 5 minutes ago with my team.
The point is that /** urls have to be redirected to the login form: they need...
Good morning to all, here's my question:
I've got a web application already using Spring Security 2.5.6, a simple login system, using a custom userDetailService, different controllers and so on......