| Package | Description |
|---|---|
| jcifs | |
| jcifs.context | |
| jcifs.dcerpc | |
| jcifs.http | |
| jcifs.https | |
| jcifs.internal | |
| jcifs.internal.smb1.com | |
| jcifs.internal.smb2 | |
| jcifs.internal.smb2.nego | |
| jcifs.internal.smb2.session | |
| jcifs.netbios | |
| jcifs.ntlmssp | |
| jcifs.smb |
| Modifier and Type | Method and Description |
|---|---|
CIFSContext |
SmbTransport.getContext() |
CIFSContext |
SmbResource.getContext()
The context this file was opened with
|
CIFSContext |
SmbSession.getContext() |
CIFSContext |
CIFSContext.withAnonymousCredentials() |
CIFSContext |
CIFSContext.withCredentials(Credentials creds) |
CIFSContext |
CIFSContext.withDefaultCredentials() |
CIFSContext |
CIFSContext.withGuestCrendentials() |
| Modifier and Type | Method and Description |
|---|---|
void |
DfsResolver.cache(CIFSContext tc,
String path,
DfsReferralData dr)
Add a referral to the cache
|
byte[] |
SmbTransportPool.getChallenge(CIFSContext tc,
Address dc)
Deprecated.
functionality is broken and will be removed at some point,
use actual Active Directory authentication instead
|
byte[] |
SmbTransportPool.getChallenge(CIFSContext tc,
Address dc,
int port)
Deprecated.
functionality is broken and will be removed at some point,
use actual Active Directory authentication instead
|
SmbTransport |
DfsResolver.getDc(CIFSContext tf,
String domain)
Get a connection to the domain controller for a given domain
|
SID[] |
SidResolver.getGroupMemberSids(CIFSContext tc,
String authorityServerName,
SID domsid,
int rid,
int flags) |
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.
|
byte[] |
NetbiosAddress.getMacAddress(CIFSContext tc)
Retrieves the MAC address of the remote network interface.
|
int |
NetbiosAddress.getNodeType(CIFSContext tc)
Checks the node type of this address.
|
SID |
SidResolver.getServerSid(CIFSContext tc,
String authorityServerName) |
SmbTransport |
SmbTransportPool.getSmbTransport(CIFSContext tc,
Address address,
int port,
boolean exclusive)
Get transport connection
|
SmbTransport |
SmbTransportPool.getSmbTransport(CIFSContext tc,
Address address,
int port,
boolean exclusive,
boolean forceSigning)
Get transport connection
|
SmbTransport |
SmbTransportPool.getSmbTransport(CIFSContext tc,
Address address,
int port,
InetAddress localAddr,
int localPort,
String hostName,
boolean exclusive)
Get transport connection, with local binding
|
SmbTransport |
SmbTransportPool.getSmbTransport(CIFSContext tc,
Address address,
int port,
InetAddress localAddr,
int localPort,
String hostName,
boolean exclusive,
boolean forceSigning) |
SmbTransport |
SmbTransportPool.getSmbTransport(CIFSContext tf,
String name,
int port,
boolean exclusive,
boolean forceSigning) |
boolean |
NetbiosAddress.isActive(CIFSContext tc)
Determines if this address is active.
|
boolean |
NetbiosAddress.isBeingDeleted(CIFSContext tc)
Determines if this address in the process of being deleted.
|
boolean |
NetbiosAddress.isGroupAddress(CIFSContext tc)
Determines if the address is a group address.
|
boolean |
NetbiosAddress.isInConflict(CIFSContext tc)
Determines if this address in conflict with another address.
|
boolean |
NetbiosAddress.isPermanent(CIFSContext tc)
Determines if this address is set to be permanent.
|
boolean |
DfsResolver.isTrustedDomain(CIFSContext tf,
String domain) |
void |
SmbTransportPool.logon(CIFSContext tc,
Address dc)
Deprecated.
functionality is broken and will be removed at some point,
use actual Active Directory authentication instead
|
void |
SmbTransportPool.logon(CIFSContext tc,
Address dc,
int port)
Deprecated.
functionality is broken and will be removed at some point,
use actual Active Directory authentication instead
|
String |
Address.nextCalledName(CIFSContext tc)
Guess next called name to try for session establishment.
|
DfsReferralData |
DfsResolver.resolve(CIFSContext tf,
String domain,
String root,
String path)
Resolve the location of a DFS path
|
void |
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCIFSContext |
class |
BaseContext |
class |
CIFSContextCredentialWrapper
Context wrapper supplying alternate credentials
|
class |
CIFSContextWrapper |
class |
SingletonContext
Global singleton context
|
| Modifier and Type | Method and Description |
|---|---|
CIFSContext |
AbstractCIFSContext.withAnonymousCredentials() |
CIFSContext |
CIFSContextWrapper.withAnonymousCredentials() |
CIFSContext |
AbstractCIFSContext.withCredentials(Credentials creds) |
CIFSContext |
CIFSContextWrapper.withCredentials(Credentials creds) |
CIFSContext |
AbstractCIFSContext.withDefaultCredentials() |
CIFSContext |
CIFSContextWrapper.withDefaultCredentials() |
CIFSContext |
AbstractCIFSContext.withGuestCrendentials() |
CIFSContext |
CIFSContextWrapper.withGuestCrendentials() |
| Constructor and Description |
|---|
CIFSContextWrapper(CIFSContext delegate) |
| Modifier and Type | Method and Description |
|---|---|
CIFSContext |
DcerpcPipeHandle.getTransportContext() |
abstract CIFSContext |
DcerpcHandle.getTransportContext() |
| Modifier and Type | Method and Description |
|---|---|
static DcerpcHandle |
DcerpcHandle.getHandle(String url,
CIFSContext tc)
Get a handle to a service
|
static DcerpcHandle |
DcerpcHandle.getHandle(String url,
CIFSContext tc,
boolean unshared)
Get a handle to a service
|
| Constructor and Description |
|---|
DcerpcHandle(CIFSContext tc) |
DcerpcHandle(CIFSContext tc,
DcerpcBinding binding) |
DcerpcPipeHandle(String url,
CIFSContext tc,
boolean unshared) |
| Modifier and Type | Method and Description |
|---|---|
static NtlmPasswordAuthentication |
NtlmSsp.authenticate(CIFSContext tc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
byte[] challenge)
Deprecated.
Performs NTLM authentication for the servlet request.
|
NtlmPasswordAuthentication |
NtlmSsp.doAuthentication(CIFSContext tc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
byte[] challenge)
Deprecated.
Calls the static
NtlmSsp.authenticate(CIFSContext, HttpServletRequest,
HttpServletResponse, byte[]) method to perform NTLM authentication
for the specified servlet request. |
| Constructor and Description |
|---|
Handler(CIFSContext tc)
Deprecated.
|
NtlmHttpURLConnection(HttpURLConnection connection,
CIFSContext tc)
Deprecated.
|
| Constructor and Description |
|---|
Handler(CIFSContext tc)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SmbNegotiationResponse.canReuse(CIFSContext tc,
boolean forceSigning) |
T |
Request.initResponse(CIFSContext tc) |
boolean |
SmbNegotiationResponse.isValid(CIFSContext cifsContext,
SmbNegotiationRequest request) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SmbComNegotiateResponse.canReuse(CIFSContext tc,
boolean forceSigning) |
SmbComBlankResponse |
SmbComClose.initResponse(CIFSContext tc) |
SmbComNTCreateAndXResponse |
SmbComNTCreateAndX.initResponse(CIFSContext tc) |
boolean |
SmbComNegotiateResponse.isValid(CIFSContext ctx,
SmbNegotiationRequest req) |
| Constructor and Description |
|---|
SmbComNegotiateResponse(CIFSContext ctx) |
SmbComSessionSetupAndX(CIFSContext tc,
SmbComNegotiateResponse negotiated,
ServerMessageBlock andx,
Object cred) |
SmbComTreeConnectAndX(CIFSContext ctx,
ServerData server,
String path,
String service,
ServerMessageBlock andx) |
| Modifier and Type | Method and Description |
|---|---|
T |
ServerMessageBlock2Request.initResponse(CIFSContext tc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Smb2NegotiateResponse.canReuse(CIFSContext tc,
boolean forceSigning) |
boolean |
Smb2NegotiateResponse.isValid(CIFSContext tc,
SmbNegotiationRequest req) |
| Constructor and Description |
|---|
Smb2SessionSetupRequest(CIFSContext context,
int securityMode,
int capabilities,
long previousSessionid,
byte[] token) |
| Modifier and Type | Method and Description |
|---|---|
NbtAddress |
Lmhosts.getByName(String host,
CIFSContext tc)
This is really just for
UniAddress. |
byte[] |
NbtAddress.getMacAddress(CIFSContext tc) |
int |
NbtAddress.getNodeType(CIFSContext tc) |
boolean |
NbtAddress.isActive(CIFSContext tc) |
boolean |
NbtAddress.isBeingDeleted(CIFSContext tc) |
boolean |
NbtAddress.isGroupAddress(CIFSContext tc) |
boolean |
NbtAddress.isInConflict(CIFSContext tc) |
boolean |
NbtAddress.isPermanent(CIFSContext tc) |
String |
UniAddress.nextCalledName(CIFSContext tc)
Guess next called name to try for session establishment.
|
String |
NbtAddress.nextCalledName(CIFSContext tc) |
| Constructor and Description |
|---|
NameServiceClientImpl(CIFSContext tc) |
| Modifier and Type | Method and Description |
|---|---|
static int |
Type2Message.getDefaultFlags(CIFSContext tc)
Returns the default flags for a generic Type-2 message in the
current environment.
|
static int |
Type3Message.getDefaultFlags(CIFSContext tc)
Returns the default flags for a generic Type-3 message in the
current environment.
|
static int |
Type1Message.getDefaultFlags(CIFSContext tc)
Returns the default flags for a generic Type-1 message in the
current environment.
|
static int |
Type2Message.getDefaultFlags(CIFSContext tc,
Type1Message type1)
Returns the default flags for a Type-2 message created in response
to the given Type-1 message in the current environment.
|
static int |
Type3Message.getDefaultFlags(CIFSContext tc,
Type2Message type2)
Returns the default flags for a Type-3 message created in response
to the given Type-2 message in the current environment.
|
static byte[] |
Type3Message.getLMResponse(CIFSContext tc,
Type2Message type2,
String password)
Constructs the LanManager response to the given Type-2 message using
the supplied password.
|
static byte[] |
Type3Message.getLMv2Response(CIFSContext tc,
Type2Message type2,
String domain,
String user,
byte[] passwordHash,
byte[] clientChallenge) |
static byte[] |
Type3Message.getLMv2Response(CIFSContext tc,
Type2Message type2,
String domain,
String user,
String password,
byte[] clientChallenge) |
static byte[] |
Type3Message.getNTLMv2Response(CIFSContext tc,
Type2Message type2,
byte[] responseKeyNT,
byte[] clientChallenge,
byte[] clientChallengeInfo,
long ts) |
static byte[] |
Type3Message.getNTResponse(CIFSContext tc,
Type2Message type2,
byte[] passwordHash)
Constructs the NT response to the given Type-2 message using
the supplied password.
|
static byte[] |
Type3Message.getNTResponse(CIFSContext tc,
Type2Message type2,
String password)
Constructs the NT response to the given Type-2 message using
the supplied password.
|
| Constructor and Description |
|---|
Type1Message(CIFSContext tc)
Creates a Type-1 message using default values from the current
environment.
|
Type1Message(CIFSContext tc,
int flags,
String suppliedDomain,
String suppliedWorkstation)
Creates a Type-1 message with the specified parameters.
|
Type2Message(CIFSContext tc)
Creates a Type-2 message using default values from the current
environment.
|
Type2Message(CIFSContext tc,
int flags,
byte[] challenge,
String target)
Creates a Type-2 message with the specified parameters.
|
Type2Message(CIFSContext tc,
Type1Message type1)
Creates a Type-2 message in response to the given Type-1 message
using default values from the current environment.
|
Type2Message(CIFSContext tc,
Type1Message type1,
byte[] challenge,
String target)
Creates a Type-2 message in response to the given Type-1 message.
|
Type3Message(CIFSContext tc)
Creates a Type-3 message using default values from the current
environment.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
CIFSContext |
SmbFile.getContext() |
CIFSContext |
SmbFile.getTransportContext()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DfsImpl.cache(CIFSContext tc,
String path,
DfsReferralData dr) |
void |
SmbTreeInternal.connectLogon(CIFSContext tf)
Deprecated.
|
SSPContext |
NtlmPasswordAuthenticator.createContext(CIFSContext tc,
String targetDomain,
String host,
byte[] initialToken,
boolean doSigning) |
SSPContext |
Kerb5Authenticator.createContext(CIFSContext tc,
String targetDomain,
String host,
byte[] initialToken,
boolean doSigning) |
SSPContext |
CredentialsInternal.createContext(CIFSContext tc,
String targetDomain,
String host,
byte[] initialToken,
boolean doSigning) |
byte[] |
NtlmPasswordAuthenticator.getAnsiHash(CIFSContext tc,
byte[] chlng)
Computes the 24 byte ANSI password hash given the 8 byte server challenge.
|
byte[] |
NtlmPasswordAuthentication.getAnsiHash(CIFSContext tc,
byte[] chlng)
Deprecated.
Computes the 24 byte ANSI password hash given the 8 byte server challenge.
|
byte[] |
SmbTransportPoolImpl.getChallenge(CIFSContext tf,
Address dc) |
byte[] |
SmbTransportPoolImpl.getChallenge(CIFSContext tf,
Address dc,
int port) |
SmbTransport |
DfsImpl.getDc(CIFSContext tf,
String domain)
Get a connection to the domain controller for a given domain
|
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) |
SID[] |
SID.getGroupMemberSids(String authorityServerName,
CIFSContext tc,
int flags)
Get members of the group represented by this SID, if it is one.
|
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.
|
static byte[] |
NtlmUtil.getPreNTLMResponse(CIFSContext tc,
String password,
byte[] challenge)
Generate the ANSI DES hash for the password associated with these credentials.
|
SID |
SIDCacheImpl.getServerSid(CIFSContext tc,
String server) |
byte[] |
NtlmPasswordAuthenticator.getSigningKey(CIFSContext tc,
byte[] chlng) |
SmbSession |
SmbTransportInternal.getSmbSession(CIFSContext ctx) |
SmbSession |
SmbTransportInternal.getSmbSession(CIFSContext tf,
String targetHost,
String targetDomain) |
jcifs.smb.SmbTransportImpl |
SmbTransportPoolImpl.getSmbTransport(CIFSContext tc,
Address address,
int port,
boolean nonPooled) |
jcifs.smb.SmbTransportImpl |
SmbTransportPoolImpl.getSmbTransport(CIFSContext tc,
Address address,
int port,
boolean nonPooled,
boolean forceSigning) |
jcifs.smb.SmbTransportImpl |
SmbTransportPoolImpl.getSmbTransport(CIFSContext tc,
Address address,
int port,
InetAddress localAddr,
int localPort,
String hostName,
boolean nonPooled) |
jcifs.smb.SmbTransportImpl |
SmbTransportPoolImpl.getSmbTransport(CIFSContext tc,
Address address,
int port,
InetAddress localAddr,
int localPort,
String hostName,
boolean nonPooled,
boolean forceSigning) |
jcifs.smb.SmbTransportImpl |
SmbTransportPoolImpl.getSmbTransport(CIFSContext tf,
String name,
int port,
boolean exclusive,
boolean forceSigning) |
byte[] |
NtlmPasswordAuthenticator.getUnicodeHash(CIFSContext tc,
byte[] chlng)
Computes the 24 byte Unicode password hash given the 8 byte server challenge.
|
byte[] |
NtlmPasswordAuthentication.getUnicodeHash(CIFSContext tc,
byte[] chlng)
Deprecated.
Computes the 24 byte Unicode password hash given the 8 byte server challenge.
|
byte[] |
NtlmPasswordAuthenticator.getUserSessionKey(CIFSContext tc,
byte[] chlng)
Returns the effective user session key.
|
byte[] |
NtlmPasswordAuthentication.getUserSessionKey(CIFSContext tc,
byte[] chlng)
Deprecated.
Returns the effective user session key.
|
void |
NtlmPasswordAuthenticator.getUserSessionKey(CIFSContext tc,
byte[] chlng,
byte[] dest,
int offset)
Calculates the effective user session key.
|
void |
NtlmPasswordAuthentication.getUserSessionKey(CIFSContext tc,
byte[] chlng,
byte[] dest,
int offset)
Deprecated.
Calculates the effective user session key.
|
void |
SID.initContext(String server,
CIFSContext context) |
boolean |
DfsImpl.isTrustedDomain(CIFSContext tf,
String domain) |
void |
SmbTransportPoolImpl.logon(CIFSContext tf,
Address dc) |
void |
SmbTransportPoolImpl.logon(CIFSContext tf,
Address dc,
int port)
Deprecated.
|
DfsReferralData |
DfsImpl.resolve(CIFSContext tf,
String domain,
String root,
String path)
Resolve the location of a DFS path
|
void |
SID.resolve(String authorityServerName,
CIFSContext tc)
Manually resolve this SID.
|
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) |
| Constructor and Description |
|---|
DfsImpl(CIFSContext tc) |
Handler(CIFSContext tc) |
NtlmContext(CIFSContext tc,
NtlmPasswordAuthenticator auth,
boolean doSigning) |
NtlmPasswordAuthentication(CIFSContext tc)
Deprecated.
Construct anonymous credentials
|
NtlmPasswordAuthentication(CIFSContext tc,
String userInfo)
Deprecated.
Create an NtlmPasswordAuthentication object from the userinfo
component of an SMB URL like "domain;user:pass".
|
NtlmPasswordAuthentication(CIFSContext tc,
String domain,
String username,
String password)
Deprecated.
Create an NtlmPasswordAuthentication object from a
domain, username, and password.
|
SIDCacheImpl(CIFSContext baseContext) |
SmbFile(String url,
CIFSContext tc)
Construct from string URL
|
SmbFile(URL url,
CIFSContext tc)
Construct from URL
|
SmbFileInputStream(String url,
CIFSContext tc) |
SmbNamedPipe(String url,
int pipeType,
boolean unshared,
CIFSContext tc)
Open the Named Pipe resource specified by the url
parameter.
|
SmbNamedPipe(String url,
int pipeType,
CIFSContext tc)
Open the Named Pipe resource specified by the url
parameter.
|
SmbRandomAccessFile(String url,
String mode,
int sharing,
CIFSContext tc)
Instantiate a random access file from URL
|
Copyright © 2021. All rights reserved.