109110111112113114115116117118119
InputStream[] certs = readCerts(args[++arg]); X509[] x509 = new X509[certs.length]; for (int i = 0; i < certs.length; i++) { x509[i] = new X509(certs[i]); } env.setSecurityCredentials(new DefaultUserInfoImpl(user, x509)); } else { usage();