Questions tagged [spring-security-acl]

83 questions
1
vote
1 answer

JCache ACL Cache for Spring Security

I'm using Spring Security ACL and it needs to have cache defined. So far I was using this: @Bean(name = { "defaultAclCache", "aclCache" }) protected AclCache defaultAclCache() { return new SpringCacheBasedAclCache(defaultAclJCacheFactory(),…
Petar Tahchiev
  • 4,336
  • 4
  • 35
  • 48
1
vote
1 answer

spring security acl administration permission

I try to enforce a new app with spring security ACL and after some reading I have a problem with permissions for every ACE. I was expecting that if a principal has the administration permission (16) over an domain object instance to be able to…
Videanu Adrian
  • 972
  • 3
  • 16
  • 41
1
vote
1 answer

JPA with Spring-security-ACL

is it possible use JPA in spring security ACL, I can see only jdbc implementation. here is my JPA setup in beans:
Daris
  • 331
  • 1
  • 10
1
vote
1 answer

Spring security acl and Postgres

Using "spring-security-acl:2.0-RC1" as a Grails plugin with an application linked to a Postgres 9.3 data source, the following bug happens at startup: .. finished configuring Spring Security ACL 2013-12-19 13:20:19,588 ERROR [GrailsContextLoader] -…
ludo_rj
  • 3,877
  • 1
  • 18
  • 37
1
vote
1 answer

Using Spring Security ACL - how to assign READ permission for an object to all users (registered and anonymous)?

What is the best way to give all users (registered and anonymous) READ permission for an object? I am working on a system where users can create items that are viewable by anyone, but only editable by the creator or admin users. One solution that…
SergeyB
  • 9,478
  • 4
  • 33
  • 47
0
votes
1 answer

Insert in Spring Security ACL

I understand, to use Spring security ACL, we create 4 mandatory tables (acl_*) in database. When a new object is created the entry is made in table 'acl_object_identity' and the security authorization rules are in table 'acl_entry' such as which…
uhlembik
  • 13
  • 2
0
votes
1 answer

@PostFilter does not work with Spring @Aspect

I am trying to do something like this: @Component @Aspect class CustomAspect { @Pointcut("within(@com.example.security.Check *)") public void classAnnotatedWithCheck() {} @Pointcut("execution(public * *(..))") public void…
0
votes
2 answers

Roles and Permission at method level Spring boot

I need to have authorization at the method level so that the users with proper permissions only can access it. The method will contain a token as a parameter. I need to make an API call passing the token and get the user email id. Once I have the…
0
votes
1 answer

Is it posible to use spirng security acl with spring webflux?

I want to start spring web flux project with spring security acl, But I couldn't find any tutorial. Is it possible to merge this two project together and use in single project?
Morteza Malvandi
  • 1,656
  • 7
  • 30
  • 73
0
votes
1 answer

ACL Grails plugin

Is Grails spring security acl plugin is used in the Grails services only so I can't use it in Grails Controllers
SShehab
  • 1,039
  • 3
  • 17
  • 31
0
votes
1 answer

understanding createacl in spring security acl?

I am following this tutorial in order to understand how spring acl works. https://grails-plugins.github.io/grails-spring-security-acl/v3/index.html#tutorial The sample data service is as follows. @Transactional class SampleDataService { def…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
1 answer

Protecting method calls in Spring multiactionController using methodNameResolver

I am using Spring 3 and implemented MVC using simpleUrlMapping. I am having CustomerController class. In CustomerController I am having three methods: View customer Add customer Delete customer The above actions are getting called using method…
Rahul Tokase
  • 1,048
  • 9
  • 25
0
votes
1 answer

Spring Mutableacl always yield no permission after version upgrade

We have recently performed a spring security version upgrade on our existing app. The spring security has been upgrade from version 2.0.4 to the latest version 5. So I believe its quite a big leap of version. We have tuned all those spring xml…
John Wong
  • 125
  • 1
  • 1
  • 13
0
votes
0 answers

How to create permission to depth object in spring security acl?

As we know, one of the methods of accessing objects is using the spring security acl method. In this method, after performing a set of settings and storing the data needed, using the following method, we will check the user's access to do something…
0
votes
2 answers

How to remove AccessControlEntry (acl_entry) for certain Sid in Spring security acl?

how can i delete user access in spring security acl using mutableAclService . is this code is ok private void deleteEntry(Long id){ ObjectIdentity objectIdentity = new ObjectIdentityImpl(OrganizationStructure.class, id); Sid user…
ali akbar azizkhani
  • 2,213
  • 5
  • 31
  • 48