Uses of Interface
org.codelibs.jcifs.smb.CIFSContext
Packages that use CIFSContext
Package
Description
-
Uses of CIFSContext in org.codelibs.jcifs.smb
Methods in org.codelibs.jcifs.smb that return CIFSContextModifier and TypeMethodDescriptionSmbResource.getContext()The context this file was opened withSmbSession.getContext()Returns the CIFS context that this session is attached to.SmbTransport.getContext()Gets the CIFS context associated with this transport.CIFSContext.withAnonymousCredentials()Create a child context with anonymous credentialsCIFSContext.withCredentials(Credentials creds) Create a child context with specified credentialsCIFSContext.withDefaultCredentials()Create a child context with default credentialsCIFSContext.withGuestCredentials()Create a child context with guest credentialsMethods in org.codelibs.jcifs.smb with parameters of type CIFSContextModifier and TypeMethodDescriptionvoidDfsResolver.cache(CIFSContext tc, String path, DfsReferralData dr) Add a referral to the cachebyte[]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 insteadDfsResolver.getDc(CIFSContext tf, String domain) Get a connection to the domain controller for a given domainSID[]SidResolver.getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags) Gets the SIDs of members of a group.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.intNetbiosAddress.getNodeType(CIFSContext tc) Checks the node type of this address.SidResolver.getServerSid(CIFSContext tc, String authorityServerName) Gets the domain SID for the specified server.SmbTransportPool.getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning) Gets an SMB transport connection to the specified server.SmbTransportPool.getSmbTransport(CIFSContext tc, Address address, int port, boolean exclusive) Get transport connectionSmbTransportPool.getSmbTransport(CIFSContext tc, Address address, int port, boolean exclusive, boolean forceSigning) Get transport connectionSmbTransportPool.getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean exclusive) Get transport connection, with local bindingSmbTransportPool.getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean exclusive, boolean forceSigning) Gets or creates an SMB transport for the given context.booleanNetbiosAddress.isActive(CIFSContext tc) Determines if this address is active.booleanNetbiosAddress.isBeingDeleted(CIFSContext tc) Determines if this address in the process of being deleted.booleanNetbiosAddress.isGroupAddress(CIFSContext tc) Determines if the address is a group address.booleanNetbiosAddress.isInConflict(CIFSContext tc) Determines if this address in conflict with another address.booleanNetbiosAddress.isPermanent(CIFSContext tc) Determines if this address is set to be permanent.booleanDfsResolver.isTrustedDomain(CIFSContext tf, String domain) Checks if a domain is trusted for DFS operationsvoidSmbTransportPool.logon(CIFSContext tc, Address dc) Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadvoidSmbTransportPool.logon(CIFSContext tc, Address dc, int port) Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadAddress.nextCalledName(CIFSContext tc) Guess next called name to try for session establishment.DfsResolver.resolve(CIFSContext tf, String domain, String root, String path) Resolve the location of a DFS pathvoidSidResolver.resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) Resolve an array of SIDs using a cache and at most one MSRPC request.voidSidResolver.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. -
Uses of CIFSContext in org.codelibs.jcifs.smb.context
Classes in org.codelibs.jcifs.smb.context that implement CIFSContextModifier and TypeClassDescriptionclassAbstract base implementation of CIFSContext providing common functionality.classBase implementation of CIFS context providing core functionality for SMB operations.final classContext wrapper supplying alternate credentialsclassA wrapper implementation of CIFSContext that delegates to another context.classGlobal singleton contextMethods in org.codelibs.jcifs.smb.context that return CIFSContextModifier and TypeMethodDescriptionAbstractCIFSContext.withAnonymousCredentials()Create a child context with anonymous credentialsCIFSContextWrapper.withAnonymousCredentials()AbstractCIFSContext.withCredentials(Credentials creds) CIFSContextWrapper.withCredentials(Credentials creds) AbstractCIFSContext.withDefaultCredentials()Create a child context with default credentialsCIFSContextWrapper.withDefaultCredentials()AbstractCIFSContext.withGuestCredentials()Create a child context with guest credentialsCIFSContextWrapper.withGuestCredentials()protected CIFSContextCIFSContextWrapper.wrap(CIFSContext newContext) Wraps a new context, allowing subclasses to provide custom wrapping behavior.Methods in org.codelibs.jcifs.smb.context with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected CIFSContextCIFSContextWrapper.wrap(CIFSContext newContext) Wraps a new context, allowing subclasses to provide custom wrapping behavior.Constructors in org.codelibs.jcifs.smb.context with parameters of type CIFSContextModifierConstructorDescriptionCIFSContextWrapper(CIFSContext delegate) Constructs a wrapper around the specified CIFS context. -
Uses of CIFSContext in org.codelibs.jcifs.smb.dcerpc
Methods in org.codelibs.jcifs.smb.dcerpc that return CIFSContextModifier and TypeMethodDescriptionabstract CIFSContextDcerpcHandle.getTransportContext()Gets the CIFS context used for transport operationsDcerpcPipeHandle.getTransportContext()Methods in org.codelibs.jcifs.smb.dcerpc with parameters of type CIFSContextModifier and TypeMethodDescriptionstatic DcerpcHandleDcerpcHandle.getHandle(String url, CIFSContext tc) Get a handle to a servicestatic DcerpcHandleDcerpcHandle.getHandle(String url, CIFSContext tc, boolean unshared) Get a handle to a serviceConstructors in org.codelibs.jcifs.smb.dcerpc with parameters of type CIFSContextModifierConstructorDescriptionConstructs a DcerpcHandle with the specified CIFS contextDcerpcHandle(CIFSContext tc, DcerpcBinding binding) Constructs a DcerpcHandle with the specified CIFS context and bindingDcerpcPipeHandle(String url, CIFSContext tc, boolean unshared) Creates a DCERPC pipe handle for named pipe communication -
Uses of CIFSContext in org.codelibs.jcifs.smb.http
Methods in org.codelibs.jcifs.smb.http with parameters of type CIFSContextModifier and TypeMethodDescriptionstatic NtlmPasswordAuthenticationNtlmSsp.authenticate(CIFSContext tc, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, byte[] challenge) Deprecated.Performs NTLM authentication for the servlet request.NtlmSsp.doAuthentication(CIFSContext tc, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, byte[] challenge) Deprecated.Calls the staticNtlmSsp.authenticate(CIFSContext, HttpServletRequest, HttpServletResponse, byte[])method to perform NTLM authentication for the specified servlet request.Constructors in org.codelibs.jcifs.smb.http with parameters of type CIFSContextModifierConstructorDescriptionHandler(CIFSContext tc) Deprecated.Constructs a handler with the specified CIFS context.NtlmHttpURLConnection(HttpURLConnection connection, CIFSContext tc) Deprecated.Creates a new NTLM HTTP URL connection that wraps an existing HTTP connection. -
Uses of CIFSContext in org.codelibs.jcifs.smb.https
Constructors in org.codelibs.jcifs.smb.https with parameters of type CIFSContextModifierConstructorDescriptionHandler(CIFSContext tc) Deprecated.Constructs an HTTPS handler with the specified CIFS context. -
Uses of CIFSContext in org.codelibs.jcifs.smb.impl
Methods in org.codelibs.jcifs.smb.impl that return CIFSContextModifier and TypeMethodDescriptionprotected CIFSContextNtlmPasswordAuthentication.getContext()Deprecated.Get the CIFS context associated with this authentication.SmbFile.getContext()SmbFile.getTransportContext()Deprecated.Methods in org.codelibs.jcifs.smb.impl with parameters of type CIFSContextModifier and TypeMethodDescriptionvoidDfsImpl.cache(CIFSContext tc, String path, DfsReferralData dr) voidSmbTreeInternal.connectLogon(CIFSContext tf) Deprecated.CredentialsInternal.createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) Create an SSP context for authentication.Kerb5Authenticator.createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) Create an SSP context for authentication.NtlmPasswordAuthenticator.createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) Create an SSP context for authentication.byte[]NtlmPasswordAuthentication.getAnsiHash(CIFSContext tc, byte[] chlng) Deprecated.Computes the 24 byte ANSI password hash given the 8 byte server challenge.byte[]NtlmPasswordAuthenticator.getAnsiHash(CIFSContext tc, byte[] chlng) 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) DfsImpl.getDc(CIFSContext tf, String domain) Get a connection to the domain controller for a given domainSmbTransportInternal.getDfsReferrals(CIFSContext ctx, String name, String targetHost, String targetDomain, int rn) Gets DFS referrals for the specified path.SID[]SID.getGroupMemberSids(String authorityServerName, CIFSContext tc, int flags) Get members of the group represented by this SID, if it is one.SID[]SIDCacheImpl.getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags) 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.protected DfsReferralDataInternalDfsImpl.getReferral(CIFSContext tf, SmbTransportInternal trans, String target, String targetDomain, String targetHost, String root, String path) Get a DFS referral for the specified targetSIDCacheImpl.getServerSid(CIFSContext tc, String server) byte[]NtlmPasswordAuthenticator.getSigningKey(CIFSContext tc, byte[] chlng) Get the signing key for this authenticationSmbTransportInternal.getSmbSession(CIFSContext ctx) Gets or creates an SMB session for the given context.SmbTransportInternal.getSmbSession(CIFSContext tf, String targetHost, String targetDomain) Gets or creates an SMB session for the specified target.org.codelibs.jcifs.smb.impl.SmbTransportImplSmbTransportPoolImpl.getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning) org.codelibs.jcifs.smb.impl.SmbTransportImplSmbTransportPoolImpl.getSmbTransport(CIFSContext tc, Address address, int port, boolean nonPooled) org.codelibs.jcifs.smb.impl.SmbTransportImplSmbTransportPoolImpl.getSmbTransport(CIFSContext tc, Address address, int port, boolean nonPooled, boolean forceSigning) org.codelibs.jcifs.smb.impl.SmbTransportImplSmbTransportPoolImpl.getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean nonPooled) org.codelibs.jcifs.smb.impl.SmbTransportImplSmbTransportPoolImpl.getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean nonPooled, boolean forceSigning) byte[]NtlmPasswordAuthentication.getUnicodeHash(CIFSContext tc, byte[] chlng) Deprecated.Computes the 24 byte Unicode password hash given the 8 byte server challenge.byte[]NtlmPasswordAuthenticator.getUnicodeHash(CIFSContext tc, byte[] chlng) Computes the 24 byte Unicode password hash given the 8 byte server challenge.byte[]NtlmPasswordAuthentication.getUserSessionKey(CIFSContext tc, byte[] chlng) Deprecated.Returns the effective user session key.voidNtlmPasswordAuthentication.getUserSessionKey(CIFSContext tc, byte[] chlng, byte[] dest, int offset) Deprecated.Calculates the effective user session key.byte[]NtlmPasswordAuthenticator.getUserSessionKey(CIFSContext tc, byte[] chlng) Returns the effective user session key.voidNtlmPasswordAuthenticator.getUserSessionKey(CIFSContext tc, byte[] chlng, byte[] dest, int offset) Calculates the effective user session key.voidSID.initContext(String server, CIFSContext context) Initializes the context and server for this SID for deferred resolution.booleanDfsImpl.isTrustedDomain(CIFSContext tf, String domain) Checks if a domain is trusted for DFS operationsvoidSmbTransportPoolImpl.logon(CIFSContext tf, Address dc) voidSmbTransportPoolImpl.logon(CIFSContext tf, Address dc, int port) Deprecated.DfsImpl.resolve(CIFSContext tf, String domain, String root, String path) Resolve the location of a DFS pathvoidSID.resolve(String authorityServerName, CIFSContext tc) Manually resolve this SID.voidSIDCacheImpl.resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) Resolve an array of SIDs using a cache and at most one MSRPC request.voidSIDCacheImpl.resolveSids(CIFSContext tc, String authorityServerName, SID[] sids, int offset, int length) Constructors in org.codelibs.jcifs.smb.impl with parameters of type CIFSContextModifierConstructorDescriptionDfsImpl(CIFSContext tc) Constructs a DFS resolver implementationHandler(CIFSContext tc) Constructs an SMB URL handler with the specified CIFS context.NtlmContext(CIFSContext tc, NtlmPasswordAuthenticator auth, boolean doSigning) Creates a new NTLM security context with the specified parameters.Deprecated.Construct anonymous credentialsNtlmPasswordAuthentication(CIFSContext tc, String userInfo) Deprecated.Create anNtlmPasswordAuthenticationobject from the userinfo component of an SMB URL like "domain;user:pass".NtlmPasswordAuthentication(CIFSContext tc, String domain, String username, String password) Deprecated.Create anNtlmPasswordAuthenticationobject from a domain, username, and password.SIDCacheImpl(CIFSContext baseContext) Constructs a SID cache implementation.SmbFile(String url, CIFSContext tc) Construct from string URLSmbFile(URL url, CIFSContext tc) Construct from URLSmbFileInputStream(String url, CIFSContext tc) Creates an input stream for reading from the specified SMB URLSmbNamedPipe(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 -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal
Methods in org.codelibs.jcifs.smb.internal with parameters of type CIFSContextModifier and TypeMethodDescriptionbooleanSmbNegotiationResponse.canReuse(CIFSContext tc, boolean forceSigning) Checks whether a connection can be reused for the given configuration.Request.initResponse(CIFSContext tc) Initializes and returns a response object for this request.booleanSmbNegotiationResponse.isValid(CIFSContext cifsContext, SmbNegotiationRequest request) Check if the negotiation response is valid -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb1.com
Methods in org.codelibs.jcifs.smb.internal.smb1.com with parameters of type CIFSContextModifier and TypeMethodDescriptionbooleanSmbComNegotiateResponse.canReuse(CIFSContext tc, boolean forceSigning) Checks whether a connection can be reused for the given configuration.SmbComClose.initResponse(CIFSContext tc) Initializes and returns a response object for this request.SmbComNTCreateAndX.initResponse(CIFSContext tc) Initializes and returns a response object for this request.booleanSmbComNegotiateResponse.isValid(CIFSContext ctx, SmbNegotiationRequest req) Constructors in org.codelibs.jcifs.smb.internal.smb1.com with parameters of type CIFSContextModifierConstructorDescriptionCreates a new SMB1 negotiate response.SmbComSessionSetupAndX(CIFSContext tc, SmbComNegotiateResponse negotiated, ServerMessageBlock andx, Object cred) Constructs a session setup AndX request.SmbComTreeConnectAndX(CIFSContext ctx, ServerData server, String path, String service, ServerMessageBlock andx) Constructs a tree connect AndX request to establish a connection to a shared resource. -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2
Methods in org.codelibs.jcifs.smb.internal.smb2 with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected abstract TServerMessageBlock2Request.createResponse(CIFSContext tc, ServerMessageBlock2Request<T> req) Create the response object for this requestprotected Smb2EchoResponseSmb2EchoRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2EchoResponse> req) ServerMessageBlock2Request.initResponse(CIFSContext tc) -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.create
Methods in org.codelibs.jcifs.smb.internal.smb2.create with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected Smb2CloseResponseSmb2CloseRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2CloseResponse> req) Create the response object for this requestprotected Smb2CreateResponseSmb2CreateRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2CreateResponse> req) -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.info
Methods in org.codelibs.jcifs.smb.internal.smb2.info with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected Smb2QueryDirectoryResponseSmb2QueryDirectoryRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2QueryDirectoryResponse> req) Create the response object for this requestprotected Smb2QueryInfoResponseSmb2QueryInfoRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2QueryInfoResponse> req) Create the response object for this requestprotected Smb2SetInfoResponseSmb2SetInfoRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2SetInfoResponse> req) Create the response object for this request -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.io
Methods in org.codelibs.jcifs.smb.internal.smb2.io with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected Smb2FlushResponseSmb2FlushRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2FlushResponse> req) protected Smb2ReadResponseSmb2ReadRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2ReadResponse> req) protected Smb2WriteResponseSmb2WriteRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2WriteResponse> req) -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.ioctl
Methods in org.codelibs.jcifs.smb.internal.smb2.ioctl with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected Smb2IoctlResponseSmb2IoctlRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2IoctlResponse> req) -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.lock
Methods in org.codelibs.jcifs.smb.internal.smb2.lock with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected Smb2LockResponseSmb2LockRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2LockResponse> req) Create the response object for this request -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.nego
Methods in org.codelibs.jcifs.smb.internal.smb2.nego with parameters of type CIFSContextModifier and TypeMethodDescriptionbooleanSmb2NegotiateResponse.canReuse(CIFSContext tc, boolean forceSigning) Checks whether a connection can be reused for the given configuration.protected Smb2NegotiateResponseSmb2NegotiateRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2NegotiateResponse> req) Create the response object for this requestbooleanSmb2NegotiateResponse.isValid(CIFSContext tc, SmbNegotiationRequest req) -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.notify
Methods in org.codelibs.jcifs.smb.internal.smb2.notify with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected Smb2ChangeNotifyResponseSmb2ChangeNotifyRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2ChangeNotifyResponse> req) Create the response object for this request -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.session
Methods in org.codelibs.jcifs.smb.internal.smb2.session with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected Smb2LogoffResponseSmb2LogoffRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2LogoffResponse> req) protected Smb2SessionSetupResponseSmb2SessionSetupRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2SessionSetupResponse> req) Constructors in org.codelibs.jcifs.smb.internal.smb2.session with parameters of type CIFSContextModifierConstructorDescriptionSmb2SessionSetupRequest(CIFSContext context, int securityMode, int capabilities, long previousSessionid, byte[] token) Constructs a SMB2 session setup request with the specified parameters -
Uses of CIFSContext in org.codelibs.jcifs.smb.internal.smb2.tree
Methods in org.codelibs.jcifs.smb.internal.smb2.tree with parameters of type CIFSContextModifier and TypeMethodDescriptionprotected Smb2TreeConnectResponseSmb2TreeConnectRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2TreeConnectResponse> req) protected Smb2TreeDisconnectResponseSmb2TreeDisconnectRequest.createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2TreeDisconnectResponse> req) -
Uses of CIFSContext in org.codelibs.jcifs.smb.netbios
Methods in org.codelibs.jcifs.smb.netbios with parameters of type CIFSContextModifier and TypeMethodDescriptionLmhosts.getByName(String host, CIFSContext tc) This is really just forUniAddress.byte[]NbtAddress.getMacAddress(CIFSContext tc) intNbtAddress.getNodeType(CIFSContext tc) booleanNbtAddress.isActive(CIFSContext tc) booleanNbtAddress.isBeingDeleted(CIFSContext tc) booleanNbtAddress.isGroupAddress(CIFSContext tc) booleanNbtAddress.isInConflict(CIFSContext tc) booleanNbtAddress.isPermanent(CIFSContext tc) NbtAddress.nextCalledName(CIFSContext tc) UniAddress.nextCalledName(CIFSContext tc) Guess next called name to try for session establishment.Constructors in org.codelibs.jcifs.smb.netbios with parameters of type CIFSContextModifierConstructorDescriptionConstructs a name service client with the given context. -
Uses of CIFSContext in org.codelibs.jcifs.smb.ntlmssp
Methods in org.codelibs.jcifs.smb.ntlmssp with parameters of type CIFSContextModifier and TypeMethodDescriptionstatic intType1Message.getDefaultFlags(CIFSContext tc) Returns the default flags for a generic Type-1 message in the current environment.static intType2Message.getDefaultFlags(CIFSContext tc) Returns the default flags for a generic Type-2 message in the current environment.static intType2Message.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 intType3Message.getDefaultFlags(CIFSContext tc) Returns the default flags for a generic Type-3 message in the current environment.static intType3Message.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) Calculates the LMv2 response using a pre-computed NT password hash.static byte[]Type3Message.getLMv2Response(CIFSContext tc, Type2Message type2, String domain, String user, String password, byte[] clientChallenge) Calculates the LMv2 response for NTLM authentication.static byte[]Type3Message.getNTLMv2Response(CIFSContext tc, Type2Message type2, byte[] responseKeyNT, byte[] clientChallenge, byte[] clientChallengeInfo, long ts) Calculates the NTLMv2 response for authentication.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.Constructors in org.codelibs.jcifs.smb.ntlmssp with parameters of type CIFSContextModifierConstructorDescriptionCreates 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.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.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.