}
public static void main(String[] args) throws FileSystemException, GlobusCredentialException, GSSException {
GlobusCredential gCert = GlobusCredential.getDefaultCredential();
GlobusGSSCredentialImpl cert = new GlobusGSSCredentialImpl(gCert, GSSCredential.INITIATE_AND_ACCEPT);
SRBAccount srbAccount = new SRBAccount("srb.ivec.org",
5544,
cert);
srbAccount.setDefaultStorageResource("srb.ivec.org");
FileSystemOptions opts = new FileSystemOptions();
SRBFileSystemConfigBuilder configurations = SRBFileSystemConfigBuilder.getInstance();
configurations.setAccount(srbAccount, opts);
//SRBFileSystem srbFs = (SRBFileSystem) VFS.getManager().resolveFile(getURIString(srbAccount), opts).getFileSystem().getAttribute(SRBVfsFileSystem.SRB_FILESYSTEM);