I got answer from stackoverflow, here are the details,
Yes, we can do that. ACL_SID table can take SIDs that are either roles or users.
Here is a sample insert when it is role:
insert into...
Type: Posts; User: satish.bellapu; Keyword(s):
I got answer from stackoverflow, here are the details,
Yes, we can do that. ACL_SID table can take SIDs that are either roles or users.
Here is a sample insert when it is role:
insert into...
Can we do both Principle as-well-as GratedAuthority in acl_sid and give permissions for a object in spring acl security ?
At-last after several tries i could achieve to get the solution, following is the code
acl-conf.xml
...
<bean class="org.springframework.security.acls.AclPermissionEvaluator"...
Hi Guys,
Is there a way to check my class object permissions directly from my code instead of having the annotation model,
@PostAuthorize("hasPermission(returnObject, 'WRITE')")
public...
Got the solution,....... this might help someone who are facing the similar issues....
In spring_security.xml add the mvc annotation before global annotation,
<mvc:annotation-driven />
...
Attaching the Logs
Debug Logs
2012-05-26 03:10:29,668 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#getFilters(195) - Converted URL to lowercase, from:...
Please bare with me i am new to spring... following is the issue along with the code snippet.
I am using customAuthenticationManager and setting my controller object with...