Search:

Type: Posts; User: bh5k; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Jersey/REST Authentication/Authorization and ... business logic?

    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...
  2. Replies
    0
    Views
    1,170

    Hibernate Weblogic override OpenJPA

    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...
  3. Replies
    2
    Views
    1,224

    Don't know for sure, but I would guess it has to...

    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...
  4. Solved

    Got it! Sorry, I was a little slow on the uptake, I needed these lines:

    HttpClientParams params = client.getParams( );
    params.setAuthenticationPreemptive( true );
  5. Luke, thanks for your responses. I see what you...

    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...
  6. Debug

    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]"...
  7. HttpClient httpClient = new HttpClient(); ...

    HttpClient httpClient = new HttpClient();

    Credentials defaultcreds = new UsernamePasswordCredentials(username,
    password);
    ...
  8. What did you Spring configuration look like that...

    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...
  9. REST call with Basic Auth, new configuration Spring 3.0.5

    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...
  10. Replies
    3
    Views
    1,071

    Were you using REST services? I am doing a REST...

    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...
  11. Replies
    12
    Views
    4,774

    Found my problem...

    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...
  12. Replies
    12
    Views
    4,774

    @RemotingDestination annotation

    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...
  13. Replies
    1
    Views
    818

    Nevermind, found it...

    It was in another module:

    http://s3browse.com/explore/repository.springsource.com/maven/bundles
  14. Replies
    1
    Views
    818

    RC1 and Spring 2.5.6.A with Maven?

    Upgrading to RC1 and the RC1 has a transitive dependency to:



    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.beans</artifactId>
    ...
  15. Replies
    54
    Views
    27,677

    Sticky: Annotations

    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+.
    ...
  16. Replies
    2
    Views
    1,758

    That was exactly it. Thank you Marten. I ended up...

    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.
  17. Replies
    2
    Views
    1,758

    spring-flex integration no transaction

    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...
  18. Replies
    10
    Views
    3,140

    Just a guess, but it sounds like you aren't...

    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/
  19. Replies
    21
    Views
    7,142

    am I missing something?

    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,...
  20. Replies
    4
    Views
    4,935

    best practices

    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...
  21. Replies
    10
    Views
    3,140

    Tried this?

    Have you tried following this example using the tomcat that they ship? http://forum.springframework.org/showthread.php?t=66542
  22. Replies
    5
    Views
    3,468

    Still able to debug in the IDE

    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!
  23. Replies
    5
    Views
    3,468

    Maven and SpringFlex Integration

    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...
  24. Replies
    7
    Views
    4,413

    Endpoints in Spring 3.0

    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...
  25. Replies
    2
    Views
    1,023

    Jsr 303

    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.
Results 1 to 25 of 61
Page 1 of 3 1 2 3