Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    842

    I set self the authentication in the...

    I set self the authentication in the SecurityContextHolder : SecurityContextHolder.getContext().setAuthentication(((AuthenticationManager) context.getBean("authenticationManager")).authenticate(new...
  2. principal/userdetails : help really needed

    Can anybody help me, please?
    Thx
    Cathy
  3. UserDetails user = (UserDetails)...

    UserDetails user = (UserDetails) SecurityContextHolder.getContext().getAuthenticati on().getPrincipal()

    It's not very intuitive, but it works. And that is all that matters

    I used the property...
  4. Replies
    2
    Views
    1,264

    See the tutorial examples of jdbcDaoImpl, here is...

    See the tutorial examples of jdbcDaoImpl, here is mine :


    <bean id="daoAuthenticationProvider"
    class="org.acegisecurity.providers.dao.DaoAuthenticationProvider"
    singleton="true"...
  5. Did you found a solution? I have the same...

    Did you found a solution? I have the same problem...
    Thanks
    Cathy
  6. show me the web.xml and your spring configuration...

    show me the web.xml and your spring configuration file please, I'll give you then an example.
  7. set it with injection in your spring...

    set it with injection in your spring configuration files...
  8. Replies
    3
    Views
    1,393

    I find it strange that...

    I find it strange that HttpInvokerProxyFactoryBean doesn't extends ProxyFactoryBean... it would be to easy ;-)

    Did you get it working? I would appreciate any help with this. Thanks!
    Cathy
  9. How did you solve it?

    How did you solve it?
  10. Replies
    7
    Views
    1,738

    see...

    see
    http://forum.springframework.org/showthread.php?t=21700
    where you see how you can "unsign" a signed jar...
  11. Replies
    1
    Views
    1,011

    Swing Client+HttpInvoker : which EntryPoint?

    Hello,

    I'm trying to configure Acegi for my 3-tiers-application, with only a Swing Client, no .jsp.
    How do I have to configure an EntryPoint? All the examples I found are using jsp ...

    Thanks...
  12. out of the reference manual : "Acegi Security...

    out of the reference manual : "Acegi Security provides a MethodDefinitionSourceAdvisor which may be used with Spring's DefaultAdvisorAutoProxyCreator to automatically chain the security interceptor...
  13. In your web.xml you have to define the filters :...

    In your web.xml you have to define the filters :


    <!-- Obtains Authentication from HttpSession attribute, puts it into -->
    <!-- ContextHolder for request duration, proceeds with request, then...
  14. Thread: signed jar

    by descat
    Replies
    3
    Views
    1,566

    Problem solved

    I solved this way (found on http://www.mobilefish.com/developer/javawebstart/javawebstart.html)


    Create a temp directory and copy the signed jar file (for example jogl.jar) into this directory....
  15. Thread: signed jar

    by descat
    Replies
    3
    Views
    1,566

    signed jar

    Hello,

    For my application I use Java Web Start, and I have to sign the jars I use. The problem is that the jar I downloaded from...
  16. :) THANK YOU!!!:) That was the reason :...

    :) THANK YOU!!!:)
    That was the reason : hibernate didn't flush into the transaction but after...
    Now I force the flush into my transaction and all goes the way I want : I can detect the roll back,...
  17. Thanks for all your answers, I appreciate it very...

    Thanks for all your answers, I appreciate it very much, but I didn't yet found what I need :

    What I'm trying to do is the following : I try to put 2 different data in the database (using...
  18. for Rod Johnson : Thanks for your answer, I will...

    for Rod Johnson : Thanks for your answer, I will surely use it!

    for Denis Ling : thanks, it was a mistake (I wanted to test it and then forgot to change it). Now I wrote

    <prop...
  19. :( I was thinking it was working but ... I'm sure...

    :( I was thinking it was working but ... I'm sure I have a rollback and I receive always a commit message... So what's wrong ?:confused:


    <!-- Transaction manager for a single Hibernate...
  20. Thanks a lot, it's working! The only question I...

    Thanks a lot, it's working!
    The only question I now have : to what degree does it slow down the application?
    thx, Cathy
  21. I tried to catch all Exceptions but nothing is...

    I tried to catch all Exceptions but nothing is thrown...
    So I'm always looking for a solution... But I'm afraid I will use the programmatic transaction management... :(
    Cathy
  22. Hi, Did you found it? I have the same...

    Hi,

    Did you found it? I have the same question. I tried to catch the Exception "UnexpectedRollbackException", but it does't work...

    Thanks
    Cathy
Results 1 to 22 of 23