Retrieve a property as an Object
.
Returns the access mask accociated with this ACE.
Return the sAMAccountName of this SID unless it could not
be resolved in which case the numeric RID is returned.
Returns the raw IP address of this NbtAddress.
Return the underlying NbtAddress or InetAddress.
Retrieve all addresses of a host by it's address.
Retrieve all addresses of a host by it's address.
Retrieve all addresses of a host by it's address.
Computes the 24 byte ANSI password hash given the 8 byte server challenge.
Returns the 'Apply To' text for inheritance of ACEs on
directories such as 'This folder, subfolder and files'.
Return the attributes of this file.
Retrieve a boolean value.
Determines the address of a host given it's host name.
Determines the address of a host given it's host name.
Lookup hostname and return it's UniAddress.
Determines the address of a host given it's host name.
Returns the full URL of this SMB resource with '.' and '..' components
factored out.
Returns the challenge for this message.
This URLConnection method just returns the result of length().
Returns the local security context.
This URLConnection method just returns the result of lastModified.
Returns the default domain from the current environment.
Returns the default domain from the current environment.
Returns the default domain from the current environment.
Returns the default flags for a generic Type-1 message in the
current environment.
Returns the default flags for a generic Type-2 message in the
current environment.
Returns the default flags for a generic Type-3 message in the
current environment.
Returns the default flags for a Type-2 message created in response
to the given Type-1 message in the current environment.
Returns the default flags for a Type-3 message created in response
to the given Type-2 message in the current environment.
Returns the default password from the current environment.
Returns the default HTTP port.
Returns the default HTTPS port.
Returns the default user from the current environment.
Returns the default workstation from the current environment.
Returns the default workstation from the current environment.
If the path of this SmbFile
falls within a DFS volume,
this method will return the referral path to which it maps.
This method returns the free disk space in bytes of the drive this share
represents or the drive on which the directory or file resides.
Returns the domain in which the user has an account.
Return the domain name of this SID unless it could not be
resolved in which case the numeric representation is returned.
Returns the status of the specified flag.
Returns the flags for this ACE.
Returns the flags currently in use for this message.
Returns this IP adress as a java.lang.String
in the form "%d.%d.%d.%d".
Return the IP address as text such as "192.168.1.15".
The hostname of this address.
Return the hostname of this address such as "MYCOMPUTER".
To convert this address to an InetAddress
.
Retrieve an array of InetAddress created from a property
value containting a delim separated list of hostnames and/or
ipaddresses.
This URLConnection method just returns a new SmbFileInputStream created with this file.
This URLConnection method just returns the result of lastModified.
Returns the LanManager/LMv2 response.
Constructs the LanManager response to the given Type-2 message using
the supplied password.
Creates the LMv2 response for the supplied information.
Retrieves the local host address.
Retrieves the MAC address of the remote network interface.
Return the domain and username in the format:
domain\\username.
Returns the last component of the target URL.
Return the InputStream
used to read information
from this pipe instance.
Return the OutputStream
used to write
information to this pipe instance.
Returned the hex code associated with this name(e.g.
Checks the node type of this address.
An application extending this class must provide an implementation for this method that returns new user credentials try try when accessing SMB resources described by the getRequestingURL and getRequestingException methods.
Generate the Unicode MD4 hash for the password associated with these credentials.
Returns the NT/NTLMv2 response.
Constructs the NT response to the given Type-2 message using
the supplied password.
This URLConnection method just returns a new SmbFileOutputStream created with this file.
Everything but the last component of the URL representing this SMB
resource is effectivly it's parent.
Returns the password in plain text or null if the raw password
hashes were used to construct this NtlmPasswordAuthentication
object which will be the case when NTLM HTTP Authentication is
used.
Returns the full uncanonicalized URL of this SMB resource.
Generate the ANSI DES hash for the password associated with these credentials.
Returns the NtlmPasswordAuthentication object used as
credentials with this file or pipe.
Return an array of Access Control Entry (ACE) objects representing
the security descriptor associated with this file or directory.
Return an array of Access Control Entry (ACE) objects representing
the security descriptor associated with this file or directory.
Retrieve the hostname of the server for this SMB resource.
Retrieves the share associated with this SMB resource.
Return an array of Access Control Entry (ACE) objects representing
the share permissions on the share exporting this file or directory.
Return the SID associated with this ACE.
Returns the supplied authentication domain.
Returns the supplied workstation name.
Returns the authentication target.
Returns the target information block.
Returns the type of this SID indicating the state or type of account.
Returns type of of object this SmbFile represents.
Return text represeting the SID type suitable for display to
users.
Retuns the Windows UNC style path with backslashs intead of forward slashes.
Computes the 24 byte Unicode password hash given the 8 byte server challenge.
Returns the username for the authenticating user.
Returns the effective user session key.
Returns the workstation from which authentication is being performed.
name - field in class jcifs.netbios.
Name This class represents a NetBIOS over TCP/IP address.
Negotiate password hashes with MSIE clients using NTLM SSP
This servlet may be used to "browse" the entire hierarchy of resources
on an SMB network like one might with Network Neighborhood or Windows
Explorer.
Guess next called name to try for session establishment.
This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials.
Flags used during negotiation of NTLMSSP authentication.
This servlet Filter can be used to negotiate password hashes with
MSIE clients using NTLM SSP.
Wraps an HttpURLConnection
to provide NTLM authentication
services.
Abstract superclass for all NTLMSSP messages.
This class stores and encrypts NTLM user credentials.
Create an NtlmPasswordAuthentication object from the userinfo
component of an SMB URL like "domain;user:pass".
Create an NtlmPasswordAuthentication object with raw password
hashes.
Create an NtlmPasswordAuthentication object from a
domain, username, and password.
This servlet may be used with pre-2.3 servlet containers
to protect content with NTLM HTTP Authentication.
This class is used internally by NtlmHttpFilter,
NtlmServlet, and NetworkExplorer to negiotiate password
hashes via NTLM SSP with MSIE.
Indicates that 128-bit encryption is supported.
Indicates that 56-bit encryption is supported.
Indicates that authenticated communication between the client
and server should carry a "dummy" digital signature.
Indicates datagram authentication.
Indicates that the LAN Manager session key should be used for
signing and sealing authenticated communication.
Sent by the server to indicate that the server and client are
on the same machine.
Indicates support for NTLM authentication.
Indicates that the NTLM2 signing and sealing scheme should be used
for protecting authenticated communications.
Indicates whether OEM strings are supported or used.
Indicates whether the OEM-formatted domain name in which the
client workstation has membership is supplied in the Type-1 message.
Indicates whether the OEM-formatted workstation name is supplied
in the Type-1 message.
Specifies that communication across the authenticated channel
should be encrypted (message confidentiality).
Specifies that communication across the authenticated channel
should carry a digital signature (message integrity).
Sent by the server in the Type 2 message to indicate that it is
including a Target Information block in the message.
Indicates whether Unicode strings are supported or used.
Indicates whether the authentication target is requested from
the server.
Sent by the server in the Type 2 message to indicate that the
target authentication realm is a domain.
Sent by the server in the Type 2 message to indicate that the
target authentication realm is a server.
Sent by the server in the Type 2 message to indicate that the
target authentication realm is a share (presumably for share-level
authentication).
Set the attributes of this file.
Sets the challenge for this message.
Sets the local security context.
Set the create time of the file.
Set the default NtlmAuthenticator.
Sets the domain for this message.
Sets or clears the specified flag.
Sets the flags for this message.
This must be called before getInstance is called or
it will have no effect.
Set the last modified time of the file.
Sets the LanManager/LMv2 response for this message.
Sets the NT/NTLMv2 response for this message.
Set the default properties of the static Properties used by Config.
Make this file read-only.
Turn off the read-only attribute of this file.
Sets the supplied authentication domain for this message.
Sets the supplied workstation name for this message.
Sets the authentication target.
Sets the target information block.
Sets the URL stream handler factory for the environment.
Sets the user for this message.
Sets the workstation for this message.
A Windows SID is a numeric identifier used to represent Windows
accounts.
Construct a SID from a domain SID and an RID
(relative identifier).
Construct a SID from it's textual representation such as
S-1-5-21-1496946806-2192648263-3843101252-1029.
To filter 0 len updates and for debugging
Skip n bytes of data on this stream.
The SmbAuthException
encapsulates the variety of
authentication related error codes returned by an SMB server.
There are hundreds of error codes that may be returned by a CIFS
server.
This class represents a resource on an SMB network.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such as
a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a file on an SMB network.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory from a URL object.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory from a URL object and an
NtlmPasswordAuthentication object.
This InputStream can read bytes from a file on an SMB file server.
Creates an
java.io.InputStream
for reading bytes from a file on
an SMB server represented by the
SmbFile
parameter.
Creates an java.io.InputStream
for reading bytes from a file on
an SMB server addressed by the url
parameter.
This OutputStream
can write bytes to a file on an SMB file server.
Creates an
java.io.OutputStream
for writing bytes to a file on
an SMB server represented by the
SmbFile
parameter.
Creates an java.io.OutputStream
for writing bytes to a file
on an SMB server addressed by the SmbFile
parameter.
Creates an java.io.OutputStream
for writing to a file
on an SMB server addressed by the URL parameter.
Creates an java.io.OutputStream
for writing bytes to a file on an
SMB server addressed by the URL parameter.
Creates an java.io.OutputStream
for writing bytes to a file
on an SMB server addressed by the SmbFile
parameter.
This class will allow a Java program to read and write data to Named
Pipes and Transact NamedPipes.
Open the Named Pipe resource specified by the url
parameter.
A special generic name specified when connecting to a host for which
a name is not known.
The class represents a user's session established with an SMB/CIFS
server.
Returns the raw byte representation of this message.
Returns the raw byte representation of this message.
Returns the raw byte representation of this message.
Return a String representing this SID ideal for display to
users.
This is the same as jcifs.util.Hexdump.toHexString(int val, int
size)
but provides a more practical form when trying to avoid java.lang.String
concatenation and java.lang.StringBuffer
.
This is an alternative to the java.lang.Integer.toHexString
method.
Return a string represeting this ACE.
Returns the java.lang.String
representaion of this address.
Return the domain and username in the format:
domain\\username.
Return the numeric representation of this sid such as
S-1-5-21-1496946806-2192648263-3843101252-1029.
Returns the string representation of this SmbFile object.
Return the a text representation of this address such as
MYCOMPUTER/192.168.1.15.
Returns a java.net.URL
for this SmbFile
.
This class simplifies communication for protocols that support
multiplexing requests.
Represents an NTLMSSP Type-1 message.
Creates a Type-1 message using default values from the current
environment.
Creates a Type-1 message using the given raw Type-1 material.
Creates a Type-1 message with the specified parameters.
Represents an NTLMSSP Type-2 message.
Creates a Type-2 message using default values from the current
environment.
Creates a Type-2 message using the given raw Type-2 material.
Creates a Type-2 message with the specified parameters.
Creates a Type-2 message in response to the given Type-1 message
using default values from the current environment.
Creates a Type-2 message in response to the given Type-1 message.
Represents an NTLMSSP Type-3 message.
Creates a Type-3 message using default values from the current
environment.
Creates a Type-3 message using the given raw Type-3 material.
Creates a Type-3 message with the specified parameters.
Creates a Type-3 message in response to the given Type-2 message
using default values from the current environment.
Creates a Type-3 message in response to the given Type-2 message.
Returned by
getType()
if the resource this
SmbFile
represents is a communications device.
Returned by
getType()
if the resource this
SmbFile
represents is a regular file or directory.
Returned by
getType()
if the resource this
SmbFile
represents is a named pipe.
Returned by
getType()
if the resource this
SmbFile
represents is a printer.
Returned by
getType()
if the resource this
SmbFile
represents is a server.
Returned by
getType()
if the resource this
SmbFile
represents is a share.
Returned by
getType()
if the resource this
SmbFile
represents is a workgroup.