refactored

This commit is contained in:
2021-08-09 15:08:46 -04:00
parent 3d5bd117d5
commit bbef37a222
8 changed files with 10 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
@Configuration @Configuration
@ComponentScan(basePackages = {"com.inteligr8.activiti.oidc"}) @ComponentScan(basePackages = {"com.inteligr8.activiti.ais"})
public class OidcExtSpringComponentScanner { public class KeycloakExtSpringComponentScanner {
} }

View File

@@ -1,4 +1,4 @@
package com.inteligr8.activiti.ais; package com.inteligr8.activiti;
import org.springframework.security.core.Authentication; import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException; import org.springframework.security.core.AuthenticationException;

View File

@@ -15,6 +15,7 @@ import org.springframework.security.core.Authentication;
import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.GrantedAuthority;
import com.activiti.security.identity.service.authentication.provider.IdentityServiceAuthenticationToken; import com.activiti.security.identity.service.authentication.provider.IdentityServiceAuthenticationToken;
import com.inteligr8.activiti.Authenticator;
public abstract class AbstractIdentityServiceActivitiAuthenticator implements Authenticator { public abstract class AbstractIdentityServiceActivitiAuthenticator implements Authenticator {

View File

@@ -24,6 +24,7 @@ import com.activiti.service.api.GroupService;
import com.activiti.service.api.UserService; import com.activiti.service.api.UserService;
import com.activiti.service.idm.TenantService; import com.activiti.service.idm.TenantService;
import com.activiti.service.license.LicenseService; import com.activiti.service.license.LicenseService;
import com.inteligr8.activiti.Authenticator;
/** /**
* This class/bean implements an Open ID Connect authenticator for Alfresco * This class/bean implements an Open ID Connect authenticator for Alfresco

View File

@@ -15,6 +15,8 @@ import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException; import org.springframework.security.core.AuthenticationException;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import com.inteligr8.activiti.Authenticator;
/** /**
* This is an unused implementation for non-APS installation. It is not tested * This is an unused implementation for non-APS installation. It is not tested
* and probably pointless. * and probably pointless.

View File

@@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.AuthenticationProvider;
import com.activiti.api.security.AlfrescoAuthenticationProviderOverride; import com.activiti.api.security.AlfrescoAuthenticationProviderOverride;
import com.inteligr8.activiti.Authenticator;
/** /**
* FIXME This would be nice, but with AIS enabled, it is never called. The use * FIXME This would be nice, but with AIS enabled, it is never called. The use

View File

@@ -13,6 +13,7 @@ import org.springframework.stereotype.Component;
import com.activiti.api.msmt.MsmtTenantResolver; import com.activiti.api.msmt.MsmtTenantResolver;
import com.activiti.api.security.AlfrescoSecurityConfigOverride; import com.activiti.api.security.AlfrescoSecurityConfigOverride;
import com.activiti.conf.MsmtProperties; import com.activiti.conf.MsmtProperties;
import com.inteligr8.activiti.Authenticator;
/** /**
* This class/bean overrides the AIS authentication provider, enabling a more * This class/bean overrides the AIS authentication provider, enabling a more

View File

@@ -6,6 +6,7 @@ import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException; import org.springframework.security.core.AuthenticationException;
import com.activiti.security.identity.service.authentication.provider.IdentityServiceAuthenticationProvider; import com.activiti.security.identity.service.authentication.provider.IdentityServiceAuthenticationProvider;
import com.inteligr8.activiti.Authenticator;
/** /**
* This class/bean extends the APS AIS OOTB authentication provider. It uses * This class/bean extends the APS AIS OOTB authentication provider. It uses