Last updated
Last updated
No seu projeto Maven, você deverá criar as classes de provisionamento que serão responsáveis por conceder e revogar os acessos necessários.
Você pode implementar apenas as operações necessárias, não sendo obrigatório a implementação de todos os eventos.
Cada um dos eventos recebe um objeto Map, que contém os atributos mapeados no mapeamento de provisionamento. Aqui você pode obter acesso ao atributo configurado no seu mapeamento.
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.account.operations.CreateAccountOperation;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class CreateAccount extends CreateAccountOperation {
@Override
public ProvisioningResult createAccount(Map<String, Object> arg0, Tracking arg1) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.account.operations.UpdateAccountOperation;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class UpdateAccount extends UpdateAccountOperation {
@Override
public ProvisioningResult updateAccount(Map<String, Object> arg0, Tracking arg1) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.account.operations.InactivateAccountOperation;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class InactivateAccount extends InactivateAccountOperation {
@Override
public ProvisioningResult inactivateAccount(Map<String, Object> arg0, Tracking arg1) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.account.operations.ActivateAccountOperation;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class ActivateAccount extends ActivateAccountOperation {
@Override
public ProvisioningResult activateAccount(Map<String, Object> arg0, Tracking arg1) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.account.operations.RevokeAccountOperation;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class RevokeAccount extends RevokeAccountOperation {
@Override
public ProvisioningResult revokeAccount(Map<String, Object> arg0, Tracking arg1) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.entitlement.operations.GrantEntitlementOperation;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class GrantEntitlement extends GrantEntitlementOperation {
@Override
public ProvisioningResult grantEntitlement(Map<String, Object> arg0, Map<String, Object> arg1, Tracking arg2) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.entitlement.operations.RevokeEntitlementOperation;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class RevokeEntitlement extends RevokeEntitlementOperation {
@Override
public ProvisioningResult revokeEntitlement(Map<String, Object> arg0, Map<String, Object> arg1, Tracking arg2) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.entitlement.operations.CreateEntitlementOperation;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class CreateEntitlement extends CreateEntitlementOperation {
@Override
public ProvisioningResult createEntitlement(Map<String, Object> arg0, Tracking arg1) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.entitlement.operations.UpdateEntitlementOperation;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class UpdateEntitlement extends UpdateEntitlementOperation {
@Override
public ProvisioningResult updateEntitlement(Map<String, Object> arg0, Tracking arg1) {
// TODO Auto-generated method stub
return null;
}
}
import java.util.Map;
import com.blazon.resourceadapter.api.provisioning.dto.ProvisioningResult;
import com.blazon.resourceadapter.api.provisioning.entitlement.operations.RemoveEntitlementOperation;
import com.blazon.resourceadapter.api.provisioning.tracking.util.Tracking;
public class RemoveEntitlement extends RemoveEntitlementOperation {
@Override
public ProvisioningResult removeEntitlement(Map<String, Object> arg0, Tracking arg1) {
// TODO Auto-generated method stub
return null;
}
}