Skip to content

Commit

Permalink
update spring-security-acl-mongodb references to com.github.fairdatateam
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisvang committed Oct 15, 2024
1 parent a4c2c48 commit 1210377
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<groupId>com.github.fairdatateam</groupId>
<artifactId>spring-security-acl-mongodb</artifactId>
<version>${spring.security.acl.mongo.version}</version>
</dependency>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/nl/dtls/fairdatapoint/config/AclConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
import org.springframework.security.access.expression.method.MethodSecurityExpressionHandler;
import org.springframework.security.acls.AclPermissionCacheOptimizer;
import org.springframework.security.acls.AclPermissionEvaluator;
import org.springframework.security.acls.dao.AclRepository;
import com.github.fairdatateam.security.acls.dao.AclRepository;
import org.springframework.security.acls.domain.*;
import org.springframework.security.acls.jdbc.LookupStrategy;
import org.springframework.security.acls.model.AclCache;
import org.springframework.security.acls.model.AclService;
import org.springframework.security.acls.model.PermissionGrantingStrategy;
import org.springframework.security.acls.mongodb.BasicLookupStrategy;
import org.springframework.security.acls.mongodb.MongoDBMutableAclService;
import com.github.fairdatateam.security.acls.mongodb.BasicLookupStrategy;
import com.github.fairdatateam.security.acls.mongodb.MongoDBMutableAclService;
import org.springframework.security.core.authority.SimpleGrantedAuthority;

import static java.lang.String.format;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import nl.dtls.fairdatapoint.service.security.MongoAuthenticationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.security.acls.dao.AclRepository;
import com.github.fairdatateam.security.acls.dao.AclRepository;
import org.springframework.security.acls.model.AclCache;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
import nl.dtls.fairdatapoint.service.user.CurrentUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.security.acls.dao.AclRepository;
import com.github.fairdatateam.security.acls.dao.AclRepository;
import org.springframework.security.acls.domain.BasePermission;
import org.springframework.security.acls.domain.MongoAcl;
import com.github.fairdatateam.security.acls.domain.MongoAcl;
import org.springframework.security.acls.domain.ObjectIdentityImpl;
import org.springframework.security.acls.domain.PrincipalSid;
import org.springframework.security.acls.model.*;
import org.springframework.security.acls.mongodb.MongoDBMutableAclService;
import com.github.fairdatateam.security.acls.mongodb.MongoDBMutableAclService;
import org.springframework.stereotype.Service;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public static Document aclRepository(String persistentUrl) {
.append(FIELD_AUDIT_FAILURE, false)
.append(FIELD_AUDIT_SUCCESS, false));
acl.append("permissions", permissions);
acl.append("_class", "org.springframework.security.acls.domain.MongoAcl");
acl.append("_class", "com.github.fairdatateam.security.acls.domain.MongoAcl");
return acl;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.security.acls.dao.AclRepository;
import com.github.fairdatateam.security.acls.dao.AclRepository;
import org.springframework.security.acls.model.AclCache;
import org.springframework.stereotype.Service;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import org.springframework.http.HttpStatus;
import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.security.acls.dao.AclRepository;
import com.github.fairdatateam.security.acls.dao.AclRepository;
import org.springframework.security.acls.model.AclCache;

import java.net.URI;
Expand Down

0 comments on commit 1210377

Please sign in to comment.