Class JRadiusWiFiClient

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by java.applet.Applet
                  extended by JRadiusWiFiClient
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable, Accessible

public class JRadiusWiFiClient
extends Applet
implements Runnable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.applet.Applet
Applet.AccessibleApplet
 
Nested classes/interfaces inherited from class java.awt.Panel
Panel.AccessibleAWTPanel
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
static String badWISPrURL
           
static String baseURL
          The URL we redirect after successful login.
static int EAP_CISCO_MSCHAPV2
           
static int EAP_FAILURE
           
static int EAP_GTC
           
static int EAP_HEADERLEN
           
static int EAP_IDENTITY
           
static int EAP_LEAP
           
static int EAP_MD5
           
static int EAP_MSCHAPV2
           
static int EAP_NAK
           
static int EAP_NOTIFICATION
           
static int EAP_OTP
           
static int EAP_PEAP
           
static int EAP_REQUEST
           
static int EAP_RESPONSE
           
static int EAP_SIM
           
static int EAP_SUCCESS
           
static int EAP_TLS
           
static int EAP_TLV
           
static int EAP_TTLS
           
static String loginURL
           
static String noWISPrURL
           
static String onlineURL
           
static String publicURL
          The default url we want to get to.
static String titleMatch
           
static String welcomeURL
           
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JRadiusWiFiClient()
           
 
Method Summary
static void clearDebugString()
           
 void destroy()
           
static PageResult doGetPage(String urlString, String cookieString)
           
 void findWISPrLogin(String url)
           
 String getAppletInfo()
           
static String getBaseURL()
           
static String getDebugString()
           
 JRadiusWiFiClient getInstance()
           
static String getLoginURL()
           
static String getNoWISPrURL()
           
static String getOnlineURL()
           
static String getOtpCertChain()
           
static String getOtpProxyPort()
           
static String getOtpProxyServer()
           
static boolean getOtpTrustAnyCert()
           
static boolean getOtpUseSSL()
           
 String getPassword()
           
 String getPrefixRealm()
           
static String getPublicURL()
           
 String getRealm()
           
static boolean getSecureRoaming()
           
static String getTitleMatch()
           
 String getUsername()
           
static String getWelcomeURL()
           
 String getWISPrAbortLogin()
           
 String getWISPrLocationName()
           
 String getWISPrLogin()
           
 String getWISPrLogoff()
           
 String getWISPrXML0()
           
 String getWISPrXML1()
           
 void init()
           
 boolean isApplet()
           
 void isApplet(boolean isApplet)
           
 boolean isJavaReady()
           
 boolean isOnline()
           
 boolean isReady()
           
 void login(String username, String password)
           
 void logoff()
           
static void main(String[] args)
           
 void paint(Graphics g)
           
 void reset()
           
 void run()
           
static void setBaseURL(String url)
           
static void setLoginURL(String url)
           
static void setNoWISPrURL(String url)
           
static void setOnlineURL(String url)
           
static void setOtpCertChain(String url)
           
static void setOtpProxyPort(String port)
           
static void setOtpProxyServer(String server)
           
static void setOtpTrustAnyCert(boolean trustAnyCert)
           
static void setOtpUseSSL(boolean useSSL)
           
 void setPassword(String password)
           
 void setPrefixRealm(String prefixRealm)
           
static void setPublicURL(String url)
           
 void setRealm(String realm)
           
static void setSecureRoaming(boolean secure)
           
static void setTitleMatch(String titleMatch)
           
 void setUsername(String username)
           
static void setWelcomeURL(String url)
           
 void start()
           
 void stop()
           
 void update(Graphics g)
           
 
Methods inherited from class java.applet.Applet
getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

publicURL

public static String publicURL
The default url we want to get to.


titleMatch

public static String titleMatch

baseURL

public static String baseURL
The URL we redirect after successful login.


welcomeURL

public static String welcomeURL

onlineURL

public static String onlineURL

loginURL

public static String loginURL

noWISPrURL

public static String noWISPrURL

badWISPrURL

public static String badWISPrURL

EAP_HEADERLEN

public static final int EAP_HEADERLEN
See Also:
Constant Field Values

EAP_REQUEST

public static final int EAP_REQUEST
See Also:
Constant Field Values

EAP_RESPONSE

public static final int EAP_RESPONSE
See Also:
Constant Field Values

EAP_SUCCESS

public static final int EAP_SUCCESS
See Also:
Constant Field Values

EAP_FAILURE

public static final int EAP_FAILURE
See Also:
Constant Field Values

EAP_IDENTITY

public static final int EAP_IDENTITY
See Also:
Constant Field Values

EAP_NOTIFICATION

public static final int EAP_NOTIFICATION
See Also:
Constant Field Values

EAP_NAK

public static final int EAP_NAK
See Also:
Constant Field Values

EAP_MD5

public static final int EAP_MD5
See Also:
Constant Field Values

EAP_OTP

public static final int EAP_OTP
See Also:
Constant Field Values

EAP_GTC

public static final int EAP_GTC
See Also:
Constant Field Values

EAP_TLS

public static final int EAP_TLS
See Also:
Constant Field Values

EAP_LEAP

public static final int EAP_LEAP
See Also:
Constant Field Values

EAP_SIM

public static final int EAP_SIM
See Also:
Constant Field Values

EAP_TTLS

public static final int EAP_TTLS
See Also:
Constant Field Values

EAP_PEAP

public static final int EAP_PEAP
See Also:
Constant Field Values

EAP_MSCHAPV2

public static final int EAP_MSCHAPV2
See Also:
Constant Field Values

EAP_CISCO_MSCHAPV2

public static final int EAP_CISCO_MSCHAPV2
See Also:
Constant Field Values

EAP_TLV

public static final int EAP_TLV
See Also:
Constant Field Values
Constructor Detail

JRadiusWiFiClient

public JRadiusWiFiClient()
Method Detail

getInstance

public JRadiusWiFiClient getInstance()

getAppletInfo

public String getAppletInfo()
Overrides:
getAppletInfo in class Applet

main

public static void main(String[] args)

run

public void run()
Specified by:
run in interface Runnable

login

public void login(String username,
                  String password)

logoff

public void logoff()

reset

public void reset()

init

public void init()
Overrides:
init in class Applet

start

public void start()
Overrides:
start in class Applet

stop

public void stop()
Overrides:
stop in class Applet

destroy

public void destroy()
Overrides:
destroy in class Applet

update

public void update(Graphics g)
Overrides:
update in class Container

paint

public void paint(Graphics g)
Overrides:
paint in class Container

findWISPrLogin

public void findWISPrLogin(String url)

doGetPage

public static PageResult doGetPage(String urlString,
                                   String cookieString)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getRealm

public String getRealm()

setRealm

public void setRealm(String realm)

getWISPrXML0

public String getWISPrXML0()

getWISPrXML1

public String getWISPrXML1()

getWISPrLocationName

public String getWISPrLocationName()

getWISPrLogin

public String getWISPrLogin()

getWISPrAbortLogin

public String getWISPrAbortLogin()

getWISPrLogoff

public String getWISPrLogoff()

getOtpCertChain

public static String getOtpCertChain()

setOtpCertChain

public static void setOtpCertChain(String url)

getOtpTrustAnyCert

public static boolean getOtpTrustAnyCert()

setOtpTrustAnyCert

public static void setOtpTrustAnyCert(boolean trustAnyCert)

getOtpProxyServer

public static String getOtpProxyServer()

setOtpProxyServer

public static void setOtpProxyServer(String server)

getOtpProxyPort

public static String getOtpProxyPort()

setOtpProxyPort

public static void setOtpProxyPort(String port)

getOtpUseSSL

public static boolean getOtpUseSSL()

setOtpUseSSL

public static void setOtpUseSSL(boolean useSSL)

getSecureRoaming

public static boolean getSecureRoaming()

setSecureRoaming

public static void setSecureRoaming(boolean secure)

getPrefixRealm

public String getPrefixRealm()

setPrefixRealm

public void setPrefixRealm(String prefixRealm)

getBaseURL

public static String getBaseURL()

setBaseURL

public static void setBaseURL(String url)

getLoginURL

public static String getLoginURL()

setLoginURL

public static void setLoginURL(String url)

getNoWISPrURL

public static String getNoWISPrURL()

setNoWISPrURL

public static void setNoWISPrURL(String url)

getOnlineURL

public static String getOnlineURL()

setOnlineURL

public static void setOnlineURL(String url)

getPublicURL

public static String getPublicURL()

setPublicURL

public static void setPublicURL(String url)

getWelcomeURL

public static String getWelcomeURL()

setWelcomeURL

public static void setWelcomeURL(String url)

getDebugString

public static String getDebugString()

clearDebugString

public static void clearDebugString()

isOnline

public boolean isOnline()

isReady

public boolean isReady()

isJavaReady

public boolean isJavaReady()

isApplet

public boolean isApplet()
Returns:
Returns the isApplet.

isApplet

public void isApplet(boolean isApplet)
Parameters:
isApplet - The isApplet to set.

getTitleMatch

public static String getTitleMatch()

setTitleMatch

public static void setTitleMatch(String titleMatch)


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.