authProp.put("java.security.policy", policyGroup);
authProp.put("chat.impl.codebase", implCodebase);
authProp.put("java.class.path", "no_classpath");
authProp.put("java.rmi.dgc.leaseValue", "10000");
ActivationGroupDesc dsServerGroup = new ActivationGroupDesc(serverProp, null);
ActivationGroupDesc dsAuthGroup = new ActivationGroupDesc(authProp, null);
try {
ActivationGroupID SERVER_ACTIVATION_GROUP_ID = ActivationGroup.getSystem().registerGroup(dsServerGroup);
System.out.println("Il gruppo del Server Centrale e' stato creato, registrato col sistema d'attivazione, ed ha identificativo = " + SERVER_ACTIVATION_GROUP_ID.hashCode());
ActivationGroupID AUTH_ACTIVATION_GROUP_ID = ActivationGroup.getSystem().registerGroup(dsAuthGroup);