Have an interesting situation that I personally haven't encountered with Spring before. On our team it is a debate as to whether this is Spring Security's job or not.
We are using Basic...
Type: Posts; User: bh5k; Keyword(s):
Have an interesting situation that I personally haven't encountered with Spring before. On our team it is a debate as to whether this is Spring Security's job or not.
We are using Basic...
I am using Spring 3.0.5, Hibernate 3.2.6.GA and deploying to Weblogic 10.3.3. My JPA configuration looks like this:
<bean...
Don't know for sure, but I would guess it has to with your use of the headers parameter/attribute in the @RequestMethod annotation. I have always done this with the content negotiation and not at the...
Got it! Sorry, I was a little slow on the uptake, I needed these lines:
HttpClientParams params = client.getParams( );
params.setAuthenticationPreemptive( true );
Luke, thanks for your responses. I see what you are saying, but I thought I was doing that. I threw together a simple login.jsp and the basic authentication works through that. I then went back and...
Hmm, not looking like it:
09:07:59,542 DEBUG header: >> "GET /RESTAuthenticate/rest/employee/1.json HTTP/1.1[\r][\n]"
09:07:59,577 DEBUG header: >> "Accept: application/xml[\r][\n]"...
HttpClient httpClient = new HttpClient();
Credentials defaultcreds = new UsernamePasswordCredentials(username,
password);
...
What did you Spring configuration look like that you used to do basic authentication? Is it different than the one had above? I don't the think the performance of what you have will be bad for two...
Hi ppl,
I am trying to do a Basic Auth with my REST request using Spring 3.0.5. I have seen a bunch of posts, but they are all slightly off or using older versions of the jars and things have...
Were you using REST services? I am doing a REST based service and trying to use Basic Authentication, but something is not quite right in my configuration and it keeps trying to redirect me to the...
I made the switch to RC1 at the same time as adding the RemoteDestination annotation. Turns out my component-scanner was in a different context (loaded with the ContextLoaderListener rather than the...
I just tried using the @RemotingDestination annotation and I must be missing something with the configuration.
I commented out the xml configuration:
<!--
<flex:remoting-destination...
It was in another module:
http://s3browse.com/explore/repository.springsource.com/maven/bundles
Upgrading to RC1 and the RC1 has a transitive dependency to:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.beans</artifactId>
...
Are Flex annotations going to make it into the final release? I do like the new condensed xml config, but half of my app is using the annotation based method that is so prevalent with Spring 2.5+.
...
That was exactly it. Thank you Marten. I ended up moving it to my jpaContext file and am going to configure it through annotations there.
Thanks again.
I am getting this exception thrown when I try to delete an item called through BlazeDS:
javax.persistence.TransactionRequiredException : no transaction is in progress
I have configured it to...
Just a guess, but it sounds like you aren't joining the projects in Flex Builder.
Something similar to this: http://corlan.org/2008/06/07/adding-a-flex-nature-to-an-existent-java-wtp-project/
Why aren't you guys doing it like the examples that show you doing the configuration in xml? http://forum.springframework.org/showthread.php?t=66542
BTW, the Spring Factory is NOT the same thing,...
That approach is actually an old way of doing it. Look at this thread: http://forum.springframework.org/showthread.php?t=66542
As far as best practices with Maven, I posted up a Maven best...
Have you tried following this example using the tomcat that they ship? http://forum.springframework.org/showthread.php?t=66542
Jettro,
Your example is exactly what I am looking for. Are you still able to work within the IDE and debug your Flex app as a WTP project?
Thanks!
How are people building their apps with the SpringFlex integration code? I want to use maven and so far every example I have seen for Flex and Maven is horrible. I have an example or two working, but...
How were you resolving your views? The Spring 3.0 examples I have seen show examples like this:
@RequestMapping(value="/owners/{ownerId}", method=RequestMethod.GET)
public Owner...
There are plans when it is finalized to incorporate it into Spring. From the way I understood it, they would use the Validations in multiple places and not necessarily just at the Database tier.