You do have to leave taking those drugs :P
Type: Posts; User: nickar; Keyword(s):
You do have to leave taking those drugs :P
It seems that i won't get tired of saying that you are complicating it too much!
But, if you are happy with it, go on!! :D
Regards,
I'm quite lost here :D
Is there any reason why we can't stick with the old and simpler implementation?
I thought that it was the right way to go, and also tried to understand why we are still...
It seems to be ok,
Have you run any tests?
Regards,
where is this.methodInvocationPrivilegeEvaluator defined??
Your implementation is quite similar to mine, isn't it?
Regards!
where is this.methodInvocationPrivilegeEvaluator defined??
Your implementation is quite similar to mine, isn't it?
Regards!
I think that if you use the List<String> from GrantedAuthorities you are narrowing the posibilities of Spring Security, because you can extend GrantedAuthority to add expresiveness to the...
I think that this implementation reinvents the wheel!!!
Why do you want to do that?
I know that you where having problems with the other implmenentation, but it seems that it is a much more...
We can separate each thing in different interfaces, and implement each of them if we want.
I'm not sure which would be the best way.
Regards,
Hi Ole,
If you reread what i've written, it starts with "I think" :D, because i'm not a master in Spring.
I don't really understand well enougth all this, so i can't really explain to you if your...
So why don't you put a breakpoint in the Spring Security code, to check that out?
It seems really strange to me !!!
regards,
It is working properly here,
Pay attention that when you are not logged in, if you have anonymousProcessingFilter enabled in spring, then you will be authenticated as Anonymous, and you have rights...
This is what i've done, and it seems to work:
public java.util.Map getMethodAuthorizations() {
Authentication authentication =...
We must make some interfaces to isolate this functionality from DWR, so we can make it portable to other remoting platforms.
what we have to ask to the remoting platforms is what beans are being...
I think that the it is because what you are securing is not method invocation plainly, but from an specific object.
You usually specify which instance of the class you are referring (with the bean...
why is it unnecesary?
If you think you don't need it on startup, use a proxy for it.
It will be initialized when is needed (i think that it works in that way).
In the weekend i was thinking that...
Hi!,
i had a problem: when i call to login with badcredentials, one of the services inyected by aop associates a domain object to the exception, and then when DWR serializer tries to access it, it...
Yes, i connected it to my securityInterceptor... i've sent all the configurations before :S :P
This is what i've done:
<bean id="methodInvocationPrivilegeEvaluator"...
Why don't you download dwr sourcecode, add it to your project in eclipse, and debug dwr code as you would do with your project?
It works for me, i have the code of all the libraries i use, so i can...
Constructors don't have return types, neither can return null!!!! (they are not common methods).
You can do a static method that returns an element of that classes type, and you can choose to return...
Yes, that's me :D
Let's stay connected.
I had no problems with methodInvocation.
Send me a usecase so i can help you.
Regards,
Why don't you debug this in eclipse?
i've already tested it with all my services, and it seems to work great!
Regards,
I didn't knew that dwr didn't supported or avoided supporting overloaded methods.
I thought that it do supported it by sending the parameters and checking serverside if there was a method with those...
And how would be doing that?
Some example please :D
Regards,
ok, lets propose that one,
And which would be the interface, and the implementation classes for DWR in this case?
Because if we change String jsBeanName for Object object, we can't remote...