Search:

Type: Posts; User: bozzo@celi.it; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    835

    Script 'bugged'

    project --topLevelPackage it.pippo
    persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
    entity --class ~.Astratto --testAutomatically
    field string --fieldName code --notNull ...
  2. Replies
    6
    Views
    835

    My app

    Thanks a lot for your help!
    I send you a log (backup is too big 150 kb) :rolleyes:
  3. Replies
    6
    Views
    835

    Field disappeared in GUI

    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...
  4. Replies
    2
    Views
    509

    Perfect. This is resolved. :rolleyes:

    Perfect. This is resolved. :rolleyes:
  5. Replies
    2
    Views
    509

    Tables re-created each times!

    :confused:

    this is my persistence layer: persistence setup --provider HIBERNATE --database POSTGRES --userName postgres --password postgres --databaseName roo

    all works fine... but when I...
  6. Replies
    1
    Views
    656

    Ultra-SIMPLE security question

    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="/**"...
  7. Replies
    13
    Views
    7,414

    Maybe 'id' and 'description' are reserved words?

    Maybe 'id' and 'description' are reserved words?
  8. Replies
    13
    Views
    7,414

    My script

    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...
  9. Replies
    13
    Views
    7,414

    @Stefan ... I'm trying ROO. Tutorial studying...

    @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...
  10. Replies
    0
    Views
    1,152

    RESTful nested data CRUD

    package it.celi.web;

    import flexjson.JSONDeserializer;
    import flexjson.JSONSerializer;
    import it.celi.AclService;
    import it.celi.security.BusinessFunction;

    import java.util.ArrayList;...
  11. Replies
    1
    Views
    527

    Also... what does my PUT method have to return?...

    Also... what does my PUT method have to return?
    HOW? Response code 201?
  12. Replies
    1
    Views
    527

    RESTful question

    @Controller
    public class BusinessFunctionsController {

    @Setter
    @Autowired
    AclService aclService;

    @RequestMapping(value="/businessFunctions", method=RequestMethod.GET)
    @ResponseBody...
  13. Replies
    0
    Views
    450

    "Themeable" Web applications

    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...
  14. Replies
    0
    Views
    719

    Dynamic ROLE mapping

    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"...
  15. Replies
    10
    Views
    4,445

    I fixed it in another way. Now I use two...

    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...
  16. Replies
    7
    Views
    1,440

    Ok, finally... it works! :) Thanks for your help!...

    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!
  17. Replies
    7
    Views
    1,440

    I read the reference guide at...

    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...
  18. Replies
    7
    Views
    1,440

    Better... ...

    Better...
    <filter>
    <filter-name>springSecurityFilterChain</filter-name>
    <filter-class>it.celi.security.DelegatingFilterProxy</filter-class>
    <init-param>...
  19. Replies
    7
    Views
    1,440

    Could you please tell me with more details how...

    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
  20. Replies
    7
    Views
    1,440

    @Resource from servlet filter

    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>
    ...
  21. Replies
    10
    Views
    4,445

    So.... if I put in the intercept-url access field...

    So.... if I put in the intercept-url access field "pippo", will I find 'pippo' in the ConfigAttributes on the voter?
  22. Replies
    10
    Views
    4,445

    http://pastebin.com/d42d43939 I understood your...

    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....
  23. Replies
    10
    Views
    4,445

    It is possible, it's a good solution for our...

    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...
  24. Replies
    10
    Views
    4,445

    Thanks for the light-speed reply :p You've...

    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...
  25. Replies
    10
    Views
    4,445

    IP address filtering

    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......
Results 1 to 25 of 25