Skip to content

Commit

Permalink
NIFI-11735 Refactored Identity Provider Groups Handling (#7419)
Browse files Browse the repository at this point in the history
- Removed H2 database approach in favor of passing groups in Application Bearer Token
  • Loading branch information
exceptionfactory authored Jun 22, 2023
1 parent 9709bd6 commit 0f736e0
Show file tree
Hide file tree
Showing 32 changed files with 114 additions and 1,217 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-properties</artifactId>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-security-utils</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
Expand All @@ -78,10 +74,6 @@
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,4 @@
public interface DAOFactory {

ActionDAO getActionDAO();

IdpUserGroupDAO getIdpUserGroupDAO();

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,4 @@ public DataAccessException(String message, Throwable cause) {
public DataAccessException(String message) {
super(message);
}

public DataAccessException() {
}

}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.apache.nifi.admin.dao.ActionDAO;
import org.apache.nifi.admin.dao.DAOFactory;
import org.apache.nifi.admin.dao.IdpUserGroupDAO;

import java.sql.Connection;

Expand All @@ -37,9 +36,4 @@ public DAOFactoryImpl(Connection connection) {
public ActionDAO getActionDAO() {
return new StandardActionDAO(connection);
}

@Override
public IdpUserGroupDAO getIdpUserGroupDAO() {
return new StandardIdpUserGroupDAO(connection);
}
}
Loading

0 comments on commit 0f736e0

Please sign in to comment.