try {
names = AccessController
.doPrivileged(new PrivilegedAction<String[]>() {
public String[] run() {
return System.getProperty("jsse", "").split(",");
}
});
} catch (Exception e) {
names = new String[0];
}
for (int i=0; i<names.length; i++) {
if (names[i].equals(name)) {
return new Stream(name);
}
}
return null;