Results 1 to 8 of 8

Thread: Removing a secure url from PathBasedFilterInvocationDefinitionMap

  1. #1
    Join Date
    Jan 2007
    Posts
    9

    Default Removing a secure url from PathBasedFilterInvocationDefinitionMap

    Is there any way I can reset or remove the existing secure urls in PathBasedFilterInvocationDefinitionMap? There's only the addSecureURL() method.
    Does this mean I have to reset the server everytime I add or remove secure urls?

    Thanks in advance.

    Regards,

  2. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    So are you saying you basically want to change them at runtime?

  3. #3
    Join Date
    Jan 2007
    Posts
    9

    Default

    Yes, i want to change them during runtime.
    But looking at the source of PathBasedFilterInvocationDefinitionMap, a List controls the secure urls:
    private List requestMap = new Vector();

    Basically, I extended PathBasedFilterInvocationDefinitionMap to provide more behavior to suit my own needs.

  4. #4
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    I would say that is your best bet!

  5. #5
    Join Date
    Jan 2007
    Posts
    9

    Default

    Thats the problem! When I extended from PathBasedFilterInvocationDefinitionMap , I cant overwrite requestMap coz its private. Anyway, If am to define my own requestMap, it would defeat the purpose of extending from PathBasedFilterInvocationDefinitionMap in the first place. Wish acegi could change the rights access from private to protected. It would make life much easier, maybe for me and others who choose to manipulate acegi the programmatic way.

  6. #6
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Instead, you'll have to simply patch the PathBasedFilterInvocationDefinitionMap code. It's either that or copy and paste, I'd prefer the first option. As well as this, you might want to add this to JIRA.

  7. #7
    Join Date
    Jan 2007
    Posts
    9

    Default

    Alright..thanks for your comments..

  8. #8
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    If you do JIRA this, can you post the link back here for reference.

Posting Permissions

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