Search:

Type: Posts; User: macar; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Replies
    6
    Views
    1,361

    Brilliant summary - thanks! Such helpful posts...

    Brilliant summary - thanks! Such helpful posts should be made sticky :D
  2. Thanks, finally I got it. I just didn't read it...

    Thanks, finally I got it. I just didn't read it carefull enough last time to notice that nontransactional behaviour is called "transactional with no propagation". I guess I need to catch up with the...
  3. Without @Transactional nothing is writen to database

    Hello everyone,

    I've been recently writing a small aplication, in which I use JPA-based persistence (with Hibernate under the hood) and annotation-driven transaction control. It works really...
  4. Could you explain what do you mean by...

    Could you explain what do you mean by rolling-token approach? Should I generate a random value? And then how do I map it? I'm a bit confused. Thanks in advance.
  5. I think I might have found the problem: ...

    I think I might have found the problem:


    public UserDetails loadUserByUsername(String username)
    {
    LdapUserDetails ldapUserDetails = ldapUserSearch.searchForUser(username);
    ...
  6. After clicking "login", Acegi sends the following...

    After clicking "login", Acegi sends the following cookie:

    name: ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE
    value: c3dpYXRvd2lkOjExOTE2NzQzNjIyNjU6NTJlZjQ3OTgxYmFjMjA5NTdmYzAyNWFjY2UwZTEwMGI=
    host:...
  7. Hello Luke, I'm attaching two log fragments....

    Hello Luke,

    I'm attaching two log fragments. The first one is what is logged after I click "Login" button on the login page (with magic checkbox on). The second one is what happens when entering...
  8. Remember me + LDAP - I did it all and still nothing

    Hello everyone,

    I've been recently writing an aplication, which uses LDAP for authentication and authorization, it works "like a charm", but unfortunately I haven't managed to make "remember me"...
  9. Replies
    5
    Views
    1,101

    I haven't worked on this topic since then, I just...

    I haven't worked on this topic since then, I just used the workaround I have mentioned, i.e.:


    object1=ROLE_OBJECT1
    object2=ROLE_OBJECT2

    etc...

    and I just controll the access to particular...
  10. I would say that the next step is to * simply...

    I would say that the next step is to
    * simply response.write(byteArray) (or whatever it is called) and
    * return null ModelAndView to express the fact that the request processing is over.
  11. Replies
    1
    Views
    1,027

    Anyone? I've experienced the same problem!

    Anyone? I've experienced the same problem!
  12. sounds like you need to overwrite the...

    sounds like you need to overwrite the referenceData() method
  13. Replies
    2
    Views
    733

    Please read about the...

    Please read about the AbstractWizardFormController: http://www.springframework.org/docs/api/org/springframework/web/servlet/mvc/AbstractWizardFormController.html It allows you to create multi-page...
  14. Replies
    10
    Views
    1,876

    I'd strongly advice you to drop your homegrown...

    I'd strongly advice you to drop your homegrown security system and use Acegi.
  15. Replies
    6
    Views
    1,203

    So far I've found two solutions of this problem:...

    So far I've found two solutions of this problem:

    1. use referenceData and if "some condition" is satisfied, put all the data you usually display on successView onto formView

    2.
    a) overwrite...
  16. As far as I know - yes, it is possible. You...

    As far as I know - yes, it is possible. You should simply use a custom authorities populator, different than the DefaultLdapAuthoritiesPopulator, which is usually used together with LDAP...
  17. Replies
    0
    Views
    632

    [Lucene] Mixed directory & db approach?

    Hi everyone,

    I've been thinking if there's a simple way to mix the mass directory indexing approach and the db-approach.

    Want I would ideally like to have is to store the files in DB (perhaps...
  18. Replies
    5
    Views
    1,101

    Well.. that's the weak point of their idea. I'm...

    Well.. that's the weak point of their idea. I'm affraid that db-roles and os-users might desynchronize.

    Now we've focused on convincing the client to leave all the user and group membership...
  19. Replies
    0
    Views
    861

    Lucene Spring module: call for handlers

    Hello everyone,

    first of all I'd like to thank you for the great job on Lucene integration.

    Next, I have a question regarding the file type handlers. You provide several handlers, but I need...
  20. Replies
    5
    Views
    1,101

    Request for design advice

    Hello everyone, I'd like ask you advice and guidelines for using Acegi to achieve a bit non-standard configuration.

    My project is a web application and I need to implement authentication and...
  21. Btw: why is the category-parentcategory...

    Btw: why is the category-parentcategory relationship 1-1? Shouldn't it be @ManyToOne from the point of view of Category?
  22. Check EnhancedSimpleFormController. I know it...

    Check EnhancedSimpleFormController. I know it supports XML-style configuration of editors, perhaps of allowed fields as well.
  23. In my opinion such annotations make no sense, as...

    In my opinion such annotations make no sense, as they should be rather defined on per-controller basis, not per-command (or per-entity). Different controllers may need different sets of allowed...
  24. Replies
    6
    Views
    1,249

    As far as I know most of the tags handle null...

    As far as I know most of the tags handle null values in a usually intuitive way, but the problem is that you are trying to dereference a null value.

    I my opinion you should always create the...
  25. Replies
    8
    Views
    1,411

    A good starting point is the XT Ajax...

    A good starting point is the XT Ajax documentation here
Results 1 to 25 of 42
Page 1 of 2 1 2