Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.voytechs.html.util
Class Authentication  view Authentication download Authentication.java

java.lang.Object
  extended bycom.voytechs.html.util.Authentication
Direct Known Subclasses:
ServletAuthentication

public abstract class Authentication
extends java.lang.Object


Field Summary
private  java.lang.String authString
           
private  java.lang.String password
           
private  java.lang.String user
           
 
Constructor Summary
Authentication()
           
 
Method Summary
abstract  void askForPassword(java.lang.String message)
          Environment specific way of asking for password using the HTTP protocol.
 void decode()
           
 java.lang.String getPassword()
           
 java.lang.String getUser()
           
 boolean isLoggedIn()
           
static void main(java.lang.String[] args)
          Test function for Authentication
protected  void setAuthString(java.lang.String authString)
          Process current HTTP request for authentication information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authString

private java.lang.String authString

user

private java.lang.String user

password

private java.lang.String password
Constructor Detail

Authentication

public Authentication()
Method Detail

setAuthString

protected void setAuthString(java.lang.String authString)
Process current HTTP request for authentication information.


isLoggedIn

public boolean isLoggedIn()

askForPassword

public abstract void askForPassword(java.lang.String message)
Environment specific way of asking for password using the HTTP protocol.


decode

public void decode()

getUser

public java.lang.String getUser()

getPassword

public java.lang.String getPassword()

main

public static void main(java.lang.String[] args)
Test function for Authentication