SRBFileSystemConfigBuilder.getInstance().setMcatZone(opts, this.srbEncryptMcatZone);
SRBFileSystemConfigBuilder.getInstance().setDefaultStorageResource(opts, this.srbEncryptDefaultResource);
//SRBFileSystemConfigBuilder.getInstance().setQueryTimeout(opts, this.srbQueryTimeout);
//SrbFileSystemConfigBuilder.getInstance().setUseLocalMdasFiles(opts, false); // true by default.
//SrbFileSystemConfigBuilder.getInstance().setMdasUserInfoDirectory(opts, "infodir");
StaticUserAuthenticator auth = new StaticUserAuthenticator(null, this.srbEncryptUsername, this.srbEncryptPassword);
//DefaultFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts, auth);
SRBFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts, auth);
FileObject fo1 = fsManager.resolveFile(uri, opts);
String homeDir = (String) fo1.getFileSystem().getAttribute(SRBVfsFileSystem.HOME_DIRECTORY);
System.out.println("HOME_DIRECTORY: " + homeDir);