Here's another simpler scenario to clear things up:
Given the following role configuration:
<property name="objectDefinitionSource">
<value>
/**=ROLE_ADMIN
/index.jsp=ROLE_TEST
</value>...
Type: Posts; User: j_idris; Keyword(s):
Here's another simpler scenario to clear things up:
Given the following role configuration:
<property name="objectDefinitionSource">
<value>
/**=ROLE_ADMIN
/index.jsp=ROLE_TEST
</value>...
It simply means that if u map /** to a role and a user of that role tries to access a page say /index.jsp, there's bound to be some problems when PathBasedFilterInvocationDefinitionMap decides the...
Hi there,
It seems to me that the method lookupAttributes is logically flawed.
Given the following source code of lookUpAttributes() from PathBasedFilterInvocationDefinitionMap:
public...
Alright..thanks for your comments..
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...
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();
...
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 removed the duplicate securityInterceptor. Still can't work. Anyway, I'll look at the tutorial as suggested. Thanks for the response karldmoore.
Hi there,
I have the following set up in my applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"...