-
Feb 20th, 2007, 03:09 AM
#1
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,
-
Feb 20th, 2007, 03:20 AM
#2
So are you saying you basically want to change them at runtime?
-
Feb 20th, 2007, 03:27 AM
#3
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.
-
Feb 20th, 2007, 03:36 AM
#4
I would say that is your best bet!
-
Feb 20th, 2007, 03:42 AM
#5
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.
-
Feb 20th, 2007, 03:48 AM
#6
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.
-
Feb 20th, 2007, 03:51 AM
#7
Alright..thanks for your comments..
-
Feb 20th, 2007, 06:56 AM
#8
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
-
Forum Rules