Search:

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

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. The exception disappeared. :-) If you want to...

    The exception disappeared. :-)

    If you want to revert the fix and retain the guard so I can help you identify the cause, I'm game. Let me know.
  2. Yeah, absolutely, let me give it a shot right...

    Yeah, absolutely, let me give it a shot right now. I'll post back shortly.
  3. STS 2.5.x/AspectJ StringIndexOutOfBoundsException

    Having just recently upgraded to STS 2.5, I'm suddenly getting the following every time I make any change to any Java file:



    java.lang.StringIndexOutOfBoundsException
    at...
  4. Try changing the "ref" attribute in your...

    Try changing the "ref" attribute in your <authenticatoin-provider> configuration to "user-service-ref".
  5. Replies
    3
    Views
    4,324

    This thread's pretty old, but I ran into this...

    This thread's pretty old, but I ran into this issue as well and wanted to offer another possible explanation. It could be an IPv6 issue: your hasIpAddress pattern is IPv4 (Inet4Address) but the...
  6. Thread: Road Map?

    by wwheeler
    Replies
    10
    Views
    6,112

    Se-jcr

    I've been using SE-JCR mostly successfully though admittedly I'm not exercising the full range of functionality that more demanding scenarios might require. Actually I was using the JCR module from...
  7. Replies
    8
    Views
    2,126

    Usually you would move JSPs under WEB-INF in...

    Usually you would move JSPs under WEB-INF in cases where you're using a controller to mediate access to the JSP, and hence don't want the user requesting the JSP directly. With CSS, images and JS...
  8. @bamboozle.who: Try this for your @Controller...

    @bamboozle.who: Try this for your @Controller method:



    @RequestMapping(method = RequestMethod.POST)
    public String form(
    @ModelAttribute(MA_USER) @Valid User user,
    BindingResult result) {...
  9. Replies
    3
    Views
    2,995

    http://jira.springframework.org/browse/SEC-1164

    http://jira.springframework.org/browse/SEC-1164
  10. Replies
    10
    Views
    3,318

    Just to clarify, Spring in Practice will actually...

    Just to clarify, Spring in Practice will actually cover Spring 3.0. We're following along with the 3.0 milestones. :-)
  11. Replies
    3
    Views
    2,995

    Support for Spring Security

    I know I'm raising an old thread from the dead... :-)

    I'm using Eclipse 3.4 and Spring IDE 2.2.2. I have Spring IDE's Spring Security extension installed as well.

    I have a very simple Spring...
  12. Just check out the schema documentation in the...

    Just check out the schema documentation in the appendix, or else the XSD itself:

    http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
  13. Replies
    14
    Views
    8,644

    I didn't read the whole post, but I did notice...

    I didn't read the whole post, but I did notice that you have "java.util.Hash" in your definition above...
  14. Hi pranko. The AOP config you define in the root...

    Hi pranko. The AOP config you define in the root app context (applicationContext.xml, for example) does not "see" the beans you define in the DispatcherServlet's app context (here, servlet.xml),...
  15. Are you defining your AOP configuration in one...

    Are you defining your AOP configuration in one app context and the controller beans in a separate child context (say associated with the DispatcherServlet)?
  16. Replies
    6
    Views
    1,964

    I like the general idea of externalizing the code...

    I like the general idea of externalizing the code that makes the display decision. In that respect you're emulating what happens on the web side with taglibs, which strikes me as a good direction.
    ...
  17. Replies
    6
    Views
    1,964

    Hi Pradeep. Yes, you can still use Spring...

    Hi Pradeep. Yes, you can still use Spring Security though a Swing-like UI throws taglibs out the window. Take a look at the SecurityContextHolder class (and in particular at the MODE_GLOBAL mode) so...
  18. Replies
    6
    Views
    1,029

    It depends what extra "label" (I assume you mean...

    It depends what extra "label" (I assume you mean a form field as well, not just extra text) you want to add. If you're wanting to add "Remember me", then you're in luck. What specifically do you...
  19. Replies
    2
    Views
    3,940

    Hi Donal. I don't think you're going to get much...

    Hi Donal. I don't think you're going to get much traction injecting a PropertyPlaceholderConfigurer into your DAO. That is something the container itself uses to accomplish the desired substitutions....
  20. Autowiring is a feature of the core container; it...

    Autowiring is a feature of the core container; it isn't directly related to Spring Web MVC. So to answer your question, "yes."
  21. Replies
    8
    Views
    1,956

    No, I'm afraid I can't really speak to that. I'd...

    No, I'm afraid I can't really speak to that. I'd imagine that the most important area of risk here would be in the ACL module, owing to the fact that the ACLs are DB-backed, that there can be a large...
  22. Replies
    3
    Views
    955

    Hi Moshe. Sure, you can do that. You can use the...

    Hi Moshe. Sure, you can do that. You can use the AFTER_ACL_COLLECTION_READ configuration attribute to filter out users for which the current user doesn't have read access. You don't need two methods....
  23. Replies
    8
    Views
    1,956

    Yes, Spring Security provides for business tier...

    Yes, Spring Security provides for business tier authorization. Specifically it allows you to authorize method invocations, supporting both role-based authorization and ACL-based authorization. There...
  24. Replies
    6
    Views
    1,964

    Yeah, it's definitely possible to do this. You...

    Yeah, it's definitely possible to do this. You will need to use the Spring Security tag library.

    If you are wanting to make the show/hide decision based purely upon the user role, check out the...
  25. Replies
    1
    Views
    1,627

    Well, after the successful form submission, you...

    Well, after the successful form submission, you do still have a populated form bean that you can use to drive view output. Though that's not in my opinion a great idea because normally you want to do...
Results 1 to 25 of 137
Page 1 of 6 1 2 3 4