Feb 20th, 2007, 03:09 AM
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.
Feb 20th, 2007, 03:20 AM
So are you saying you basically want to change them at runtime?
Feb 20th, 2007, 03:27 AM
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
I would say that is your best bet!
Feb 20th, 2007, 03:42 AM
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
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
Alright..thanks for your comments..
Feb 20th, 2007, 06:56 AM
If you do JIRA this, can you post the link back here for reference.