Uses of Class
jcifs.CIFSException
-
-
Uses of CIFSException in jcifs
Methods in jcifs that throw CIFSException Modifier and Type Method Description boolean
ResourceFilter. accept(SmbResource resource)
boolean
ResourceNameFilter. accept(SmbResource parent, String name)
List<FileNotifyInformation>
SmbWatchHandle. call()
boolean
SmbResource. canRead()
Tests to see if the file thisSmbResource
represents can be read.boolean
SmbResource. canWrite()
Tests to see if the file thisSmbResource
represents exists and is not marked read-only.CloseableIterator<SmbResource>
SmbResource. children()
Fetch all childrenCloseableIterator<SmbResource>
SmbResource. children(String wildcard)
Fetch children matching pattern, server-side filteringCloseableIterator<SmbResource>
SmbResource. children(ResourceFilter filter)
CloseableIterator<SmbResource>
SmbResource. children(ResourceNameFilter filter)
boolean
CIFSContext. close()
void
CloseableIterator. close()
void
EmptyIterator. close()
void
SmbFileHandle. close()
void
SmbFileHandle. close(long lastWriteTime)
void
SmbPipeHandle. close()
boolean
SmbTransportPool. close()
Closes the pool and all connections in itvoid
SmbTreeHandle. close()
void
SmbWatchHandle. close()
void
SmbResource. copyTo(SmbResource dest)
This method will copy the file or directory represented by this SmbResource and it's sub-contents to the location specified by the dest parameter.void
SmbResource. createNewFile()
Create a new file but fail if it already exists.long
SmbResource. createTime()
Retrieve the time thisSmbResource
was created.void
SmbResource. delete()
This method will delete the file or directory specified by thisSmbResource
.boolean
SmbResource. exists()
Tests to see if the SMB resource exists.long
SmbResource. fileIndex()
Get the file indexSmbResource
CIFSContext. get(String url)
Get a resourceAddress
SmbResourceLocator. getAddress()
int
SmbResource. getAttributes()
Return the attributes of this file.byte[]
SmbTransportPool. getChallenge(CIFSContext tc, Address dc)
Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadbyte[]
SmbTransportPool. getChallenge(CIFSContext tc, Address dc, int port)
Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadSmbTransport
DfsResolver. getDc(CIFSContext tf, String domain)
Get a connection to the domain controller for a given domainlong
SmbResource. getDiskFreeSpace()
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.SID[]
SidResolver. getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags)
InputStream
SmbPipeHandle. getInput()
Map<SID,List<SID>>
SidResolver. getLocalGroupsMap(CIFSContext tc, String authorityServerName, int flags)
This specialized method returns a Map of users and local groups for the target server where keys are SIDs representing an account and each value is an ArrayList of SIDs represents the local groups that the account is a member of.String
SmbTreeHandle. getOEMDomainName()
OutputStream
SmbPipeHandle. getOutput()
SmbPipeResource
CIFSContext. getPipe(String url, int pipeType)
Get a pipe resourceSID
SidResolver. getServerSid(CIFSContext tc, String authorityServerName)
long
SmbTreeHandle. getServerTimeZoneOffset()
int
SmbResource. getType()
Returns type of of object this SmbResource represents.int
SmbResourceLocator. getType()
Returns type of of object this SmbFile represents.boolean
SmbResource. isDirectory()
Tests to see if the file thisSmbResource
represents is a directory.boolean
SmbResource. isFile()
Tests to see if the file thisSmbResource
represents is not a directory.boolean
SmbResource. isHidden()
Tests to see if the file this SmbResource represents is marked as hidden.boolean
DfsResolver. isTrustedDomain(CIFSContext tf, String domain)
boolean
SmbResourceLocator. isWorkgroup()
long
SmbResource. lastAccess()
Retrieve the last acces time of the file represented by thisSmbResource
long
SmbResource. lastModified()
Retrieve the last time the file represented by thisSmbResource
was modified.long
SmbResource. length()
Returns the length of this SmbResource in bytes.void
SmbTransportPool. logon(CIFSContext tc, Address dc)
Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadvoid
SmbTransportPool. logon(CIFSContext tc, Address dc, int port)
Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadvoid
SmbResource. mkdir()
Creates a directory with the path specified by thisSmbResource
.void
SmbResource. mkdirs()
Creates a directory with the path specified by this SmbResource and any parent directories that do not exist.InputStream
SmbResource. openInputStream()
Opens an input stream reading the file (read only, sharable)InputStream
SmbResource. openInputStream(int sharing)
Opens an input stream reading the file (read only)InputStream
SmbResource. openInputStream(int flags, int access, int sharing)
Opens an input stream reading the file (read only)OutputStream
SmbResource. openOutputStream()
Opens an output stream writing to the file (truncating, write only, sharable)OutputStream
SmbResource. openOutputStream(boolean append)
Opens an output stream writing to the file (write only, read sharable)OutputStream
SmbResource. openOutputStream(boolean append, int sharing)
Opens an output stream writing to the file (write only, exclusive write access)OutputStream
SmbResource. openOutputStream(boolean append, int openFlags, int access, int sharing)
Opens an output stream writing to the file (write only, exclusive write access)SmbRandomAccess
SmbResource. openRandomAccess(String mode)
Opens the file for random accessSmbRandomAccess
SmbResource. openRandomAccess(String mode, int sharing)
Opens the file for random accessvoid
SmbFileHandle. release()
void
SmbResource. renameTo(SmbResource dest)
Changes the name of the file thisSmbResource
represents to the name designated by theSmbResource
argument.void
SmbResource. renameTo(SmbResource dest, boolean replace)
Changes the name of the file thisSmbResource
represents to the name designated by theSmbResource
argument.DfsReferralData
DfsResolver. resolve(CIFSContext tf, String domain, String root, String path)
Resolve the location of a DFS pathSmbResource
SmbResource. resolve(String name)
Fetch a child resourcevoid
SidResolver. resolveSids(CIFSContext tc, String authorityServerName, SID[] sids)
Resolve an array of SIDs using a cache and at most one MSRPC request.void
SidResolver. resolveSids(CIFSContext tc, String authorityServerName, SID[] sids, int off, int len)
Resolve part of an array of SIDs using a cache and at most one MSRPC request.void
SmbResource. setAttributes(int attrs)
Set the attributes of this file.void
SmbResource. setCreateTime(long time)
Set the create time of the file.void
SmbResource. setFileTimes(long createTime, long lastModified, long lastAccess)
Set the create, last modified and last access time of the file.void
SmbResource. setLastAccess(long time)
Set the last access time of the file.void
SmbResource. setLastModified(long time)
Set the last modified time of the file.void
SmbResource. setReadOnly()
Make this file read-only.void
SmbResource. setReadWrite()
Turn off the read-only attribute of this file.SmbWatchHandle
SmbResource. watch(int filter, boolean recursive)
Creates a directory watch The server will notify the client when there are changes to the directories contentsList<FileNotifyInformation>
SmbWatchHandle. watch()
Get the next set of changes Will block until the server returns a set of changes that match the given filter. -
Uses of CIFSException in jcifs.config
Methods in jcifs.config that throw CIFSException Modifier and Type Method Description protected void
BaseConfiguration. initDefaults()
Constructors in jcifs.config that throw CIFSException Constructor Description BaseConfiguration()
BaseConfiguration(boolean initDefaults)
PropertyConfiguration(Properties p)
-
Uses of CIFSException in jcifs.context
Methods in jcifs.context that throw CIFSException Modifier and Type Method Description boolean
AbstractCIFSContext. close()
boolean
BaseContext. close()
boolean
CIFSContextWrapper. close()
SmbResource
BaseContext. get(String url)
Get a resourceSmbResource
CIFSContextWrapper. get(String url)
Get a resourceSmbPipeResource
BaseContext. getPipe(String url, int pipeType)
Get a pipe resourceSmbPipeResource
CIFSContextWrapper. getPipe(String url, int pipeType)
Get a pipe resourcestatic void
SingletonContext. init(Properties props)
Initialize singleton context using custom properties This method can only be called once. -
Uses of CIFSException in jcifs.dcerpc
Subclasses of CIFSException in jcifs.dcerpc Modifier and Type Class Description class
DcerpcException
Methods in jcifs.dcerpc that throw CIFSException Modifier and Type Method Description abstract byte[]
DcerpcHandle. getSessionKey()
byte[]
DcerpcPipeHandle. getSessionKey()
-
Uses of CIFSException in jcifs.dcerpc.ndr
Subclasses of CIFSException in jcifs.dcerpc.ndr Modifier and Type Class Description class
NdrException
-
Uses of CIFSException in jcifs.internal
Subclasses of CIFSException in jcifs.internal Modifier and Type Class Description class
SMBProtocolDecodingException
-
Uses of CIFSException in jcifs.internal.smb1.trans2
Methods in jcifs.internal.smb1.trans2 that throw CIFSException Modifier and Type Method Description <T extends FileSystemInformation>
TTrans2QueryFSInformationResponse. getInfo(Class<T> clazz)
<T extends FileInformation>
TTrans2QueryPathInformationResponse. getInfo(Class<T> type)
-
Uses of CIFSException in jcifs.internal.smb2.info
Methods in jcifs.internal.smb2.info that throw CIFSException Modifier and Type Method Description <T extends Decodable>
TSmb2QueryInfoResponse. getInfo(Class<T> clazz)
-
Uses of CIFSException in jcifs.netbios
Subclasses of CIFSException in jcifs.netbios Modifier and Type Class Description class
NbtException
-
Uses of CIFSException in jcifs.ntlmssp
Constructors in jcifs.ntlmssp that throw CIFSException Constructor Description Type3Message(CIFSContext tc, Type2Message type2, String targetName, byte[] passwordHash, String domain, String user, String workstation, int flags)
Creates a Type-3 message in response to the given Type-2 message.Type3Message(CIFSContext tc, Type2Message type2, String targetName, byte[] passwordHash, String password, String domain, String user, String workstation, int flags, boolean nonAnonymous)
Creates a Type-3 message in response to the given Type-2 message.Type3Message(CIFSContext tc, Type2Message type2, String targetName, String password, String domain, String user, String workstation, int flags)
Creates a Type-3 message in response to the given Type-2 message.Type3Message(CIFSContext tc, Type2Message type2, String targetName, String password, String domain, String user, String workstation, int flags, boolean nonAnonymous)
Creates a Type-3 message in response to the given Type-2 message. -
Uses of CIFSException in jcifs.ntlmssp.av
Methods in jcifs.ntlmssp.av that throw CIFSException Modifier and Type Method Description static List<AvPair>
AvPairs. decode(byte[] data)
Decode a list of AvPairs -
Uses of CIFSException in jcifs.pac
Subclasses of CIFSException in jcifs.pac Modifier and Type Class Description class
PACDecodingException
-
Uses of CIFSException in jcifs.smb
Subclasses of CIFSException in jcifs.smb Modifier and Type Class Description class
DfsReferral
class
SmbAuthException
TheSmbAuthException
encapsulates the variety of authentication related error codes returned by an SMB server.class
SmbEndOfFileException
class
SmbException
There are hundreds of error codes that may be returned by a CIFS server.class
SMBProtocolDowngradeException
class
SMBSignatureValidationException
class
SmbUnsupportedOperationException
Methods in jcifs.smb that throw CIFSException Modifier and Type Method Description protected FileEntry
DirFileEntryEnumIteratorBase. advance(boolean last)
boolean
SmbTreeHandleInternal. areSignaturesActive()
byte[]
NtlmContext. calculateMIC(byte[] data)
byte[]
SSPContext. calculateMIC(byte[] data)
CloseableIterator<SmbResource>
SmbFile. children()
CloseableIterator<SmbResource>
SmbFile. children(String wildcard)
CloseableIterator<SmbResource>
SmbFile. children(ResourceFilter filter)
CloseableIterator<SmbResource>
SmbFile. children(ResourceNameFilter filter)
void
DirFileEntryEnumIteratorBase. close()
void
NetServerEnumIterator. close()
boolean
SmbTransportPoolImpl. close()
Closes the pool and all connections in itprotected Type3Message
NtlmContext. createType3Message(Type2Message msg2)
void
SSPContext. dispose()
protected void
DirFileEntryEnumIteratorBase. doClose()
protected void
DirFileEntryEnumIterator2. doCloseInternal()
protected abstract void
DirFileEntryEnumIteratorBase. doCloseInternal()
void
SmbTreeHandleInternal. ensureDFSResolved()
protected jcifs.smb.SmbFileHandleImpl
SmbFileOutputStream. ensureOpen()
SmbFileHandle
SmbPipeHandleInternal. ensureOpen()
protected jcifs.smb.SmbFileHandleImpl
SmbPipeInputStream. ensureOpen()
protected jcifs.smb.SmbFileHandleImpl
SmbPipeOutputStream. ensureOpen()
protected jcifs.smb.SmbTreeHandleImpl
SmbFileOutputStream. ensureTreeConnected()
SmbTreeHandleInternal
SmbPipeHandleInternal. ensureTreeConnected()
protected jcifs.smb.SmbTreeHandleImpl
SmbPipeInputStream. ensureTreeConnected()
protected jcifs.smb.SmbTreeHandleImpl
SmbPipeOutputStream. ensureTreeConnected()
protected boolean
DirFileEntryEnumIterator2. fetchMore()
protected abstract boolean
DirFileEntryEnumIteratorBase. fetchMore()
DfsReferralData
SmbTransportInternal. getDfsReferrals(CIFSContext ctx, String name, String targetHost, String targetDomain, int rn)
SID[]
SIDCacheImpl. getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags)
SmbPipeInputStream
SmbPipeHandleInternal. getInput()
Map<SID,List<SID>>
SIDCacheImpl. getLocalGroupsMap(CIFSContext tc, String authorityServerName, int flags)
This specialized method returns a Map of users and local groups for the target server where keys are SIDs representing an account and each value is an ArrayList of SIDs represents the local groups that the account is a member of.int
SmbTreeHandleInternal. getMaximumBufferSize()
SmbPipeOutputStream
SmbPipeHandleInternal. getOutput()
int
SmbTreeHandleInternal. getReceiveBufferSize()
int
SmbTreeHandleInternal. getSendBufferSize()
SID
SIDCacheImpl. getServerSid(CIFSContext tc, String server)
byte[]
SmbPipeHandleInternal. getSessionKey()
byte[]
SmbSessionInternal. getSessionKey()
byte[]
SSPContext. getSigningKey()
SmbTreeHandle
SmbFile. getTreeHandle()
boolean
SmbTreeHandleInternal. hasCapability(int cap)
protected void
SmbFileOutputStream. init(jcifs.smb.SmbTreeHandleImpl th)
byte[]
SSPContext. initSecContext(byte[] token, int off, int len)
protected FileEntry
DirFileEntryEnumIterator2. open()
protected abstract FileEntry
DirFileEntryEnumIteratorBase. open()
void
SmbFileInputStream. open()
Ensures that the file descriptor is openendvoid
SmbFileOutputStream. open()
Ensures that the file descriptor is openendvoid
SmbRandomAccessFile. open()
Ensures that the file descriptor is openendboolean
SmbResourceLocatorInternal. overlaps(SmbResourceLocator other)
void
SmbSessionInternal. reauthenticate()
Initiate reauthenticationvoid
CredentialsInternal. refresh()
void
JAASAuthenticator. refresh()
void
Kerb5Authenticator. refresh()
void
NtlmPasswordAuthenticator. refresh()
SmbResource
SmbFile. resolve(String name)
void
SIDCacheImpl. resolveSids(CIFSContext tc, String authorityServerName, SID[] sids)
Resolve an array of SIDs using a cache and at most one MSRPC request.void
SIDCacheImpl. resolveSids(CIFSContext tc, String authorityServerName, SID[] sids, int offset, int length)
<T extends CommonServerMessageBlockResponse>
TSmbTreeInternal. send(Request<T> request, RequestParam... params)
void
NtlmContext. verifyMIC(byte[] data, byte[] mic)
void
SSPContext. verifyMIC(byte[] data, byte[] mic)
SmbWatchHandle
SmbFile. watch(int filter, boolean recursive)
protected <T extends ServerMessageBlock2Response>
TSmbFile. withOpen(jcifs.smb.SmbTreeHandleImpl th, int createDisposition, int createOptions, int fileAttributes, int desiredAccess, int shareAccess, ServerMessageBlock2Request<T> first, ServerMessageBlock2Request<?>... others)
protected <T extends ServerMessageBlock2Response>
TSmbFile. withOpen(jcifs.smb.SmbTreeHandleImpl th, int createDisposition, int desiredAccess, int shareAccess, ServerMessageBlock2Request<T> first, ServerMessageBlock2Request<?>... others)
protected <T extends ServerMessageBlock2Response>
TSmbFile. withOpen(jcifs.smb.SmbTreeHandleImpl th, ServerMessageBlock2Request<T> first, ServerMessageBlock2Request<?>... others)
Constructors in jcifs.smb that throw CIFSException Constructor Description DirFileEntryEnumIterator2(jcifs.smb.SmbTreeHandleImpl th, SmbResource parent, String wildcard, ResourceNameFilter filter, int searchAttributes)
DirFileEntryEnumIteratorBase(jcifs.smb.SmbTreeHandleImpl th, SmbResource parent, String wildcard, ResourceNameFilter filter, int searchAttributes)
NetServerEnumIterator(SmbFile parent, jcifs.smb.SmbTreeHandleImpl th, String wildcard, int searchAttributes, ResourceNameFilter filter)
-
Uses of CIFSException in jcifs.spnego
Subclasses of CIFSException in jcifs.spnego Modifier and Type Class Description class
SpnegoException
-
Uses of CIFSException in jcifs.util.transport
Subclasses of CIFSException in jcifs.util.transport Modifier and Type Class Description class
ConnectionTimeoutException
class
RequestTimeoutException
class
TransportException
-