Hi ikolokou. Well, I did, but is well over a year now, so I don't remember correctly.
I would suggest starting a brand new project and re-generating, that solved many of my problems (not sure if...
Type: Posts; User: jpsilvagallino; Keyword(s):
Hi ikolokou. Well, I did, but is well over a year now, so I don't remember correctly.
I would suggest starting a brand new project and re-generating, that solved many of my problems (not sure if...
Each a piece!.
As you noticed, the <context:annotation-config /> lines is not present in the posted appcontext and should be. I was so submerged in the security part I hadn't noticed. An extra...
Rwinch, you nailed it!
How could I overlook that!!, I'm so dumb!! :eek:
It's my fault, it was a copied conf. as it's legacy code, and I concentrated in adding the access control characteristics...
Hi Rwinch.
What puzzles me is that A) I'm programming to the interface, and B) no reference of the service implementation class (none that I could find, at least, I just searched through the...
I guess you mean <aop:aspectj-autoproxy proxy-target-class="true"/> (proxy-target-class element is not allowed into the global-method-security element, at least in the version I'm using). If so, yes....
RWinch, thanks for your interest.
I'm attaching the stack trace of JDK proxies.
I got no related stack trace for CGILIB proxies, because no exception if thrown (the init method is simply not...
Thanks Skram.
Well, I'm using X509 Tokens, so if the signer is in the keystore, is automatically authorized (a valid PreAuthenticatedToken is generated, then roles are assigned, etc.).
Using...
Skram, not really sure if you are still going to read this, but yes, method security gets the credentials (I have other problems with it that I'm already asking at the forum, but access is denied to...
Hi everybody.
I'm adding authorization (method security) to a pre-existent spring project, but I'm facing different problems when trying to use global-method-security's protect-pointcut.
The...
I'll do that and get back.
It may take me a little though, since I'll have to change things to use a facade for my jaxws endpoint (I'm using CXF and AOP and such endpoints don't get along well, I...
Ok, my bad, it is quite clearly explained in chapter 16 of the security reference.
I was able to feed my security context with a PreAuth.Token which is correctly validated against an InMemory...
Hi everybody.
I' have a project using Spring and CXF (it is sort of a legacy code and I need some RPC style web services) using X509Certificates.
It is all setup, and CXF's WSS4JInInterceptor takes...
Hi everybody. I'm facing a problem that is driving me completely nuts.
It seems to be a very stupid mistake I am making, but I just don't know where else to check.
I'm getting a...
I had to figure this out myself.
The correct way to go is to:
A) Configure the jaxws:endpoint's "implementator" property with a reference to the service bean declaration.
B) Inject the client in...
Hello everybody.
I'm a newbie in both spring and ws, and so far, I like what I see in spring quite a lot.
I've been following the reference documentation, some tutorials, books, etc., and I...
Well, I managed to make a rpc-style ws with spring and CXF by following this post:
http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/
I wasn't able, however, to set the style and use as asked...
Hi everybody.
I'm trying to expose a leacy rpc/literal ws via Spring+Xfire.
I started with just exposing the web service, and everything went fine.
I followed the configuration steps shown by...
Hi everyone, I'm having some problems on a fault class generated by Jaxb.
When trying to start the service, I get an "IllegalAnnotationExceptions".
The excerpt of the xsd is the following:
...
I answer myself: it takes a path relative to the client class.
I was able to solve it by copying the xml to the same package that the client class, but haven't yet managed to figure the path up to...
Hi everybody.
I'm taking my first steps on web services altogether, and spring-ws in particular, so please bare with me.
I'm trying a subtly modified version of...
Hi everybody. I'm quite new to spring, not so much to Java, though.
I dind't know whether to post this here or at the security forum, but being a SqlException I guess here is the right place.
I've...