com.esf.net.ppp.service
Class PppAuthentication

java.lang.Object
  extended by com.esf.net.ppp.service.PppAuthentication

public class PppAuthentication
extends java.lang.Object

Defines PPP authentication types

Author:
ilya.binshtok

Field Summary
static int CHAP
          CHAP authentication
static int NONE
          no authentication
static int PAP
          PAP authentication
 
Constructor Summary
PppAuthentication()
           
 
Method Summary
static int getType(java.lang.String authtype)
          Reports authentication type string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
no authentication

See Also:
Constant Field Values

PAP

public static final int PAP
PAP authentication

See Also:
Constant Field Values

CHAP

public static final int CHAP
CHAP authentication

See Also:
Constant Field Values
Constructor Detail

PppAuthentication

public PppAuthentication()
Method Detail

getType

public static int getType(java.lang.String authtype)
Reports authentication type string

Parameters:
authtype - - authentication type (e.g. none, pap, chap)
Returns:
- authentication type string