I set self the authentication in the SecurityContextHolder : SecurityContextHolder.getContext().setAuthentication(((AuthenticationManager) context.getBean("authenticationManager")).authenticate(new...
Type: Posts; User: descat; Keyword(s):
I set self the authentication in the SecurityContextHolder : SecurityContextHolder.getContext().setAuthentication(((AuthenticationManager) context.getBean("authenticationManager")).authenticate(new...
Can anybody help me, please?
Thx
Cathy
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...
See the tutorial examples of jdbcDaoImpl, here is mine :
<bean id="daoAuthenticationProvider"
class="org.acegisecurity.providers.dao.DaoAuthenticationProvider"
singleton="true"...
Did you found a solution? I have the same problem...
Thanks
Cathy
show me the web.xml and your spring configuration file please, I'll give you then an example.
set it with injection in your spring configuration files...
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
How did you solve it?
see
http://forum.springframework.org/showthread.php?t=21700
where you see how you can "unsign" a signed jar...
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...
out of the reference manual : "Acegi Security provides a MethodDefinitionSourceAdvisor which may be used with Spring's DefaultAdvisorAutoProxyCreator to automatically chain the security interceptor...
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...
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....
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...
:) 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,...
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...
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...
:( 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...
Thanks a lot, it's working!
The only question I now have : to what degree does it slow down the application?
thx, Cathy
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
Hi,
Did you found it? I have the same question. I tried to catch the Exception "UnexpectedRollbackException", but it does't work...
Thanks
Cathy