Class SMBSessionBuilder
java.lang.Object
com.hierynomus.smbj.connection.SMBSessionBuilder
[MS-SMB2] 3.2.5.3.1 Handling a New Authentication
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionSMBSessionBuilder(Connection connection, SmbConfig config, SMBSessionBuilder.SessionFactory sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionestablish(AuthenticationContext authContext) Establish a new session on the connection using the passed credentials.
-
Constructor Details
-
SMBSessionBuilder
public SMBSessionBuilder(Connection connection, SmbConfig config, SMBSessionBuilder.SessionFactory sessionFactory)
-
-
Method Details
-
establish
Establish a new session on the connection using the passed credentials.- Returns:
- a (new) Session that is authenticated for the user.
-