com.sun.enterprise.util.cluster.windows.io
Class WindowsRemoteFileSystem

java.lang.Object
  extended by com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem

public class WindowsRemoteFileSystem
extends java.lang.Object

Wrap the implementation details for the way we get access to remote Windows files. Note: null args == NPE

Author:
Byron Nevins

Constructor Summary
WindowsRemoteFileSystem(java.lang.String hostname, jcifs.smb.NtlmPasswordAuthentication auth)
           
WindowsRemoteFileSystem(java.lang.String hostname, java.lang.String username, java.lang.String password)
           
WindowsRemoteFileSystem(WindowsCredentials cr)
           
 
Method Summary
 jcifs.smb.NtlmPasswordAuthentication getAuthorization()
           
 java.lang.String getHost()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsRemoteFileSystem

public WindowsRemoteFileSystem(WindowsCredentials cr)
                        throws WindowsException
Throws:
WindowsException

WindowsRemoteFileSystem

public WindowsRemoteFileSystem(java.lang.String hostname,
                               jcifs.smb.NtlmPasswordAuthentication auth)
                        throws WindowsException
Throws:
WindowsException

WindowsRemoteFileSystem

public WindowsRemoteFileSystem(java.lang.String hostname,
                               java.lang.String username,
                               java.lang.String password)
                        throws WindowsException
Throws:
WindowsException
Method Detail

getHost

public java.lang.String getHost()
Returns:
the host

getAuthorization

public jcifs.smb.NtlmPasswordAuthentication getAuthorization()
Returns:
the authorization


Copyright © 2012 GlassFish Community. All Rights Reserved.