Package com.hierynomus.smbj.auth
Class SpnegoAuthenticator
- java.lang.Object
-
- com.hierynomus.smbj.auth.SpnegoAuthenticator
-
- All Implemented Interfaces:
Authenticator
public class SpnegoAuthenticator extends java.lang.Object implements Authenticator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpnegoAuthenticator.Factory
-
Constructor Summary
Constructors Constructor Description SpnegoAuthenticator()
-
Method Summary
Modifier and Type Method Description AuthenticateResponseauthenticate(AuthenticationContext context, byte[] gssToken, ConnectionContext connectionContext)voidinit(SmbConfig config)booleansupports(AuthenticationContext context)
-
-
-
Method Detail
-
authenticate
public AuthenticateResponse authenticate(AuthenticationContext context, byte[] gssToken, ConnectionContext connectionContext) throws java.io.IOException
- Specified by:
authenticatein interfaceAuthenticator- Throws:
java.io.IOException
-
init
public void init(SmbConfig config)
- Specified by:
initin interfaceAuthenticator
-
supports
public boolean supports(AuthenticationContext context)
- Specified by:
supportsin interfaceAuthenticator
-
-