Class WindowsRemoteFileSystem
- java.lang.Object
-
- com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem
-
public class WindowsRemoteFileSystem extends Object
Wrap the implementation details for the way we get access to remote Windows files. Note: null args == NPE- Author:
- Byron Nevins
-
-
Constructor Summary
Constructors Constructor Description WindowsRemoteFileSystem(WindowsCredentials cr)
WindowsRemoteFileSystem(String hostname, String username, String password)
WindowsRemoteFileSystem(String hostname, jcifs.smb.NtlmPasswordAuthentication auth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jcifs.smb.NtlmPasswordAuthentication
getAuthorization()
String
getHost()
-
-
-
Constructor Detail
-
WindowsRemoteFileSystem
public WindowsRemoteFileSystem(WindowsCredentials cr) throws WindowsException
- Throws:
WindowsException
-
WindowsRemoteFileSystem
public WindowsRemoteFileSystem(String hostname, jcifs.smb.NtlmPasswordAuthentication auth) throws WindowsException
- Throws:
WindowsException
-
WindowsRemoteFileSystem
public WindowsRemoteFileSystem(String hostname, String username, String password) throws WindowsException
- Throws:
WindowsException
-
-
Method Detail
-
getHost
public String getHost()
- Returns:
- the host
-
getAuthorization
public jcifs.smb.NtlmPasswordAuthentication getAuthorization()
- Returns:
- the authorization
-
-