Can someone tell me how to write a custom WebExpressionVoter. I wrote a "RolePageDecisionVoter" that implements AccessDecisionVoter . My RolePageDecisionVoter overrides the vote method and does some...
Type: Posts; User: cmdotmani@gmail.com; Keyword(s):
Can someone tell me how to write a custom WebExpressionVoter. I wrote a "RolePageDecisionVoter" that implements AccessDecisionVoter . My RolePageDecisionVoter overrides the vote method and does some...
Is there a way to authenticate a logged in user as another user. I want to achieve this before doing some acl operations.
Below is the example usecase:
When a user "A" tries to add another user...
I got it fixed. Thanks Luke.
Added custom WIPEvaluator that implements WebInvocationPrivilegeEvaluator
<bean id="webInvocationFilter" class="com.mypackage.WIPEvaluator" >
...
<bean id="WebInvocationFilter" class="org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator" >
<constructor-arg ref="filterInvocationInterceptor"/>
</bean>
<bean...
Thanks Luke.
my understanding:
since I am not using security:http namespace, I have to register an instance of WebInvocationPrivilegeEvaluator.
Is there a way to associate the custom bean...
I am using expression true to enable Expression-Based Access Control
<security:filter-security-metadata-source lowercase-comparisons="true" use-expressions="true">
In my JSP page
...
No direct way :(
Map<ObjectIdentity, Acl> m = readAclsById(List<ObjectIdentity> oid, List<Sid> sids)
then iterate the list and pick oids for my list.
Is there a way to read ACL Sid.
I have a requirement, where I need to get ACL for my logged in user.
I don't know Oid for these users. is there a straight way to
readAclBySid(List<Sid> sids)...