Class ProvisionLoginStatusHelper
- java.lang.Object
-
- org.openiam.idm.provisioning.util.ProvisionLoginStatusHelper
-
@Component public class ProvisionLoginStatusHelper extends Object
- Author:
- Lev Bornovalov
The purpose of this class is to provide a testable!
component, that will do a few things:
1) Set the Status and ProvisionLoginEnum flag on the Login record
2) Set the Operation of the Login record according to weather or not the record exists
3) Modify the list of resources to provision and list of resource to de-provision the user from
This logic is from 3.5 DeprovisionSelectedResourceHelper and ProvisionSelectedResourceHelper classes
-
-
Constructor Summary
Constructors Constructor Description ProvisionLoginStatusHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessLogin(AbstractLogin principal, boolean skipProvisioning, boolean loginExistsInOpenIAM, Set<AuthorizationResource> resourcesToDeprovision, Set<AuthorizationResource> resourcesToProvision, Set<AuthorizationResource> resourcesCurrentlyEntitledTo)* The purpose of this method is to provide a testable!
-
-
-
Method Detail
-
processLogin
public void processLogin(AbstractLogin principal, boolean skipProvisioning, boolean loginExistsInOpenIAM, Set<AuthorizationResource> resourcesToDeprovision, Set<AuthorizationResource> resourcesToProvision, Set<AuthorizationResource> resourcesCurrentlyEntitledTo)
* The purpose of this method is to provide a testable! component, that will do a few things: 1) Set the Status and ProvisionLoginEnum flag on the Login record 2) Set the Operation of the Login record according to weather or not the record exists 3) Modify the list of resources to provision and list of resource to de-provision the user from- Parameters:
principal- - the principalskipProvisioning- - should we skip provisioning for this login?loginExistsInOpenIAM- - does the login already exist in OpenIAM ?resourcesToDeprovision- - the set of resources to deprovisionresourcesToProvision- - the set of resources to provisionresourcesCurrentlyEntitledTo- - the set of resources that the user is currently entitled to
-
-