Méthode main de la classe DriverSelector
public static void main(String[] args) {
int a;
String system, user, password;
DriverSelector dSelector;
system=null;
user=null;
password=null;
a=0;
if (a<args.length) system=args[a++];
if (a<args.length) user=args[a++];
if (a<args.length) password=args[a++];
// create a driver selector (this will setup the database drivers)
dSelector=new DriverSelector();
// Query the
DriverSelector to see if the user passed enough
information
// from the command line or calling program
if (dSelector.isLogonRequired() && args.length<3) {
System.out.println(« You must supply logon information: System, User,
and Password »);
} else {
demo(dSelector, system, user, password);
}
Téléchargez cette ressource
Microsoft 365 Tenant Resilience
Face aux failles de résilience des tenants M365 (configurations, privilèges, sauvegarde). Découvrez 5 piliers pour durcir, segmenter et surveiller vos environnements afin de limiter l’impact des attaques. Prioriser vos chantiers cyber et améliorer la résilience de vos tenants Microsoft 365.