Package com.hierynomus.smbj.connection
Class SMBSessionBuilder
- java.lang.Object
-
- com.hierynomus.smbj.connection.SMBSessionBuilder
-
public class SMBSessionBuilder extends java.lang.Object
[MS-SMB2] 3.2.5.3.1 Handling a New Authentication
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SMBSessionBuilder.BuilderContext
static interface
SMBSessionBuilder.SessionFactory
-
Constructor Summary
Constructors Constructor Description SMBSessionBuilder(Connection connection, SmbConfig config, SMBSessionBuilder.SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
establish(AuthenticationContext authContext)
Establish a new session on the connection using the passed credentials.
-
-
-
Constructor Detail
-
SMBSessionBuilder
public SMBSessionBuilder(Connection connection, SmbConfig config, SMBSessionBuilder.SessionFactory sessionFactory)
-
-
Method Detail
-
establish
public Session establish(AuthenticationContext authContext)
Establish a new session on the connection using the passed credentials.- Returns:
- a (new) Session that is authenticated for the user.
-
-