ok,thank you,
but imagine I do not have a CAS authentication but a stantard authentication (as UsernamePasswordAuthenticationToken), I want protect my web page and protect too my rmi methods.
So...
Type: Posts; User: jmturc; Keyword(s):
ok,thank you,
but imagine I do not have a CAS authentication but a stantard authentication (as UsernamePasswordAuthenticationToken), I want protect my web page and protect too my rmi methods.
So...
thanks for you reply,
on the client side, I have
-a org.acegisecurity.providers.ProviderManager
-a casAuthenticationProcessingFilter
-a CasAuthenticationProvider
-a...
some idea ? please
hi,
one year after your post......:)
have you find a solution about your problem ?
Thanks
In fact, I'm not sure my configuration is correct,
so I create a new thread : http://forum.springframework.org/showthread.php?p=124756#post124756
hi
I want secure the methods of the rmi services with a MethodSecurityInterceptor
Eg:
<bean id="saasManagerSecurity"...
hi,
when I test the rmi call to a rmi server from a simple java program with a UsernamePasswordAuthenticationToken authentication , all work fine.
The SecurityContext is propagated because I use...
more info
The security context propagated to the rmi server use the class "WebAuthenticationDetails" whitch import "javax.servlet.http.HttpServletRequest".
When I had in the classpath of the...
More info about the problem.
I use acegi, and the Securitycontext is propagated to the server .
In my client context I have this
<bean id="remoteInvocationFactory"...
i use -Djava.rmi.server.logCalls=true to see log in the rmi server :
FINER: RMI TCP Connection(6)-158.166.194.209: [158.166.194.209: org.springframework.remoting.rmi.RmiInvocationWrapper[2]:...
hi,
The rmi server work well,
my rmi test client run well ( a simple java program) ,
In a jsp file, I test the method getPhotoByLogin of the service ServiceUserInterface as:
ServletContext...
have you got a exemple of using threadlocal ?
Acegi user threadlocal I think, is it possible to use the same ?
If yes, how ?
thanks
thanks for your reply,
This parameter isn't use for login
My application is the user managment of few webApplication.
So this parameter is the name of a webapplication.
Thiis parameter is...
hi,
I have implemented the UserDetailsService interface.
So ,acegi run my loadUserByUsername method and it works fine.
But now , when this method is running, I want to obtain the value of a...
I found the problem:
I had a special class with a getter of my bean sectorService.
This getter return a wrong instance (I thing a non proxy class).
So I remove this getter, and I replace it by the...
no idea ? :confused:
<value>sectorService</value> ==
<bean id="sectorService" class="eu.sanco.saas.service.sector.ServiceSector" singleton="true">
<property name="dataSource">
<ref local="saasDataSource" />...
when the instance is created I display a message:
eu.sanco.saas.service.sector.ServiceSector is loaded
and I have also this message:...
hi,
i want to protect some methods of my service.
So I create a MethodSecurityInterceptor bean and a ProxyFactoryBean.
When I run my application, I have these well message:
Adding secure...
hi,
I want to obtain the usersdetails with a cas server (with acegi 1.0 RC2)
I try
SecurityContextHolder.getContext().getAuthentication().getDetails() but it's null.
I try ...
hi,
I have a web application working well with one cas server authentication.
Now, I want use two cas server authentication (one for external users (my cas s erver) and another one for internal...
Well, the same case for me: during authentication on the cas server, the URL is :
https://localhost:8443/cas/?service=https%3A%2F%2Flocalhost%3A8443%2Fcas%2Fj_acegi_cas_security_check
When...
ok,
I create the web application with the right lib and the xml config file of lumpynose.
I change the objectDefinitionSource property by:
<property name="objectDefinitionSource">
...
ok, thanks
and what is the version of spring do you use ?
hi,
is there anywhere a very simple exemple of cas/acegi/spring authentication ?
I try this, but it didn't work.
The different exemple with cas are complicated for a beginning. :(
Thanks