Questions tagged [spring-security-acl]

83 questions
1
vote
1 answer

Spring Security ACL error Unable to find ACL information for object identity

In my project i configure Spring Security ACL with postgresql database. I referred to https://www.baeldung.com/spring-security-acl postgresql schema : create table acl_sid( id bigserial not null primary key, principal boolean not null, …
1
vote
0 answers

Spring security acl with spring boot 2 integration

I googled a lot for a spring security acl with spring boot 2 demo, But there is nothing. Anyone have an example to share with me?
Morteza Malvandi
  • 1,656
  • 7
  • 30
  • 73
1
vote
2 answers

Spring Security ACL: I cannot update ACL (SQLIntegrityConstraintViolationException)

I am trying to learn and apply to my Spring Boot project some Spring Security ACL controls. Thus I have tried to reuse the code snippet from Spring Security reference, which I have adapted a little bit to my project needs. I have the following…
sogeking
  • 1,216
  • 2
  • 14
  • 45
1
vote
1 answer

Thymeleaf Security Dialect - hasPermission()

We are using Spring Security with roles and privileges together with Spring ACL. Frontend is rendered by Thymeleaf (version 3). Application user can have either role with different privileges OR direct access to some domain object set by…
jay
  • 153
  • 1
  • 12
1
vote
0 answers

Use spring security acl in spring boot

I use spring boot 1.5.1 config the spring security acl without xml,but have some problem. My config java is: The web security config class: @Configuration public class ACLConfig extends GlobalMethodSecurityConfiguration { @Autowired …
qing.ye
  • 11
  • 3
1
vote
1 answer

ACL Principal vs GrantedAuthority Concepts

I'm reading about Spring Security ACL lib and I am a bit confused about some concepts. Regarding SIDs, it states to my confusion: ACL_SID allows us to uniquely identify any principal or authority in the system ("SID" stands for "security…
Whimusical
  • 6,401
  • 11
  • 62
  • 105
1
vote
0 answers

Spring security @PostAuthorize anotation don't work fine sometimes

I'm using Spring Security 4.1.0 for security of my java web application. I use @PostAuthorize annotation for get method as follow: Interface: @PreAuthorize("hasAuthority('get')") @PostAuthorize("hasPermission(returnObject, 'read')") MyEntity…
Morteza Malvandi
  • 1,656
  • 7
  • 30
  • 73
1
vote
1 answer

How do implement tree nodes using Spring Security ACL?

I'm developing an application using spring 4.0.6 and Hibernate 4.2.21. I have an entity as follow: public class A { @OneToMany(mappedBy="parent", fetch = FetchType.LAZY) private Set children = new HashSet(0); @ManyToOne(fetch =…
Morteza Malvandi
  • 1,656
  • 7
  • 30
  • 73
1
vote
1 answer

@Post Filter is not filtering the method returned collection using acl and oauth spring security

I m trying to integrate both Oauth security and acl spring security. Instead of below oauth expression handler
anu
  • 31
  • 6
1
vote
1 answer

Spring Security 4 ACL assigning permissions to users and roles

I am not a newbie to Spring 4, but I am new to Spring Security 4 ACL. I just implemented Spring Security 4 on my MVC web-app which are all back-end web-services. A link to what I did is posted…
tjholmes66
  • 1,850
  • 4
  • 37
  • 73
1
vote
0 answers

Can Spring Security ACL support Multi-Tenant?

can I know is Spring Security ACL support Multi-Tenant? I am planning to implement web application with multi-tenant architecture (1 tenant 1 DB). If I would like to use Spring Security ACL with multi-tenant architecture, how spring security ACL…
stanicmail
  • 743
  • 7
  • 19
1
vote
1 answer

Could not Run Grails ACL Plugin: Error creating bean with name 'afterAclCollectionRead'

I want to use the Spring Security ACL plugin. I followed the tutorial from the official docs here: http://grails-plugins.github.io/grails-spring-security-acl/docs/manual/guide/tutorial.html When running the sample I got the following error:…
Sven Bauer
  • 1,619
  • 2
  • 13
  • 22
1
vote
0 answers

Spring Security - Custom JSON Message instead showing Login page

I would like to get your valuable feedback on the below. I am stuck in processing Spring-Security. I know that when i login to through form-login, the login-processing-url will be triggered and the page is redirected to spring security login. But is…
Vigneshwaran
  • 387
  • 1
  • 2
  • 14
1
vote
1 answer

Grails 2.4.3 Upgrade - Spring Security ACl - SpelExpressionParser

Getting the below error while running the app, no issues during compile. Kindly help, how to fix this issue. ERROR [localhost-startStop-1] 2014-09-26 19:19:19,050 org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.error(213) : Error…
1
vote
0 answers

How to conditionally add field to JSON using Spring Security persmissions

I am writing a REST web service and I am using Spring 4 with annotation-based configuration. I am also using Spring security for HTTP Basic authentication and authorization. I have an ItemRestPresentation class purely used for the presentation layer…
gmigdos
  • 66
  • 1
  • 4