Class Socks5.UsernamePasswordAuthenticationFactory
java.lang.Object
org.eclipse.jetty.client.Socks5.UsernamePasswordAuthenticationFactory
- All Implemented Interfaces:
 Socks5.Authentication.Factory
- Enclosing class:
 Socks5
public static class Socks5.UsernamePasswordAuthenticationFactory
extends Object
implements Socks5.Authentication.Factory
The implementation of the USERNAME/PASSWORD authentication method defined in
RFC 1929.
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionUsernamePasswordAuthenticationFactory(String userName, String password) UsernamePasswordAuthenticationFactory(String userName, String password, Charset charset)  - 
Method Summary
 
- 
Field Details
- 
METHOD
public static final byte METHOD- See Also:
 
 - 
VERSION
public static final byte VERSION- See Also:
 
 
 - 
 - 
Constructor Details
- 
UsernamePasswordAuthenticationFactory
 - 
UsernamePasswordAuthenticationFactory
 
 - 
 - 
Method Details
- 
getMethod
public byte getMethod()- Specified by:
 getMethodin interfaceSocks5.Authentication.Factory- Returns:
 - the authentication method defined by RFC 1928
 
 - 
newAuthentication
- Specified by:
 newAuthenticationin interfaceSocks5.Authentication.Factory- Returns:
 - a new 
Socks5.Authentication 
 
 -