Results 1 to 2 of 2

Thread: Adding customVoter to a jsp.

  1. #1
    Join Date
    Oct 2004
    Location
    Holland
    Posts
    15

    Default Adding customVoter to a jsp.

    Is it possible to ad a Voter to a JSP? This is the only placa besides in Hibernate, where my object methode is invoked. So is there a way to do this.

    I know its possible for the objects in my service layer because I already fixed this. But Now I want it in my presentation layer and/or persistance layer.

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Sorry I don't understand your question.

    I don't think this is answering your question, but just in case: web request protection uses SecurityEnforcementFilter, which delegates to FilterSecurityInterceptor, which ultimately passes to an AccessDecisionManager. The AccessDecisionManager then polls some AccessDecisionVoter instances. But this only relates to deciding whether or not a particular request URI should be allowed or not. It doesn't do anything more than that.

    I am tipping you are wondering how to protect a business method on a domain object without resorting to a services layer. Is that correct? If so, I thought I answered that in our last postings at http://forum.springframework.org/showthread.php?t=10994.
    Last edited by robyn; May 14th, 2006 at 11:00 AM.

Similar Threads

  1. MethodSecurityInterceptor not working?
    By asarco in forum Security
    Replies: 14
    Last Post: Mar 31st, 2008, 09:59 AM
  2. Adding extra authentication criteria
    By yukster in forum Security
    Replies: 1
    Last Post: Sep 23rd, 2005, 07:32 PM
  3. stale Oracle processes
    By compostellas in forum Data
    Replies: 7
    Last Post: Jun 27th, 2005, 12:14 PM
  4. Replies: 8
    Last Post: Dec 7th, 2004, 06:13 PM
  5. Replies: 2
    Last Post: Sep 5th, 2004, 10:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •