com.microfocus.cobol.connector.transport.miniServer
Class ASEEMiniServer

java.lang.Object
  extended bycom.microfocus.cobol.connector.transport.miniServer.ASEEMiniServer

public class ASEEMiniServer
extends Object

Title: Connector Transport Layer Description: Generic Connector transport layer. Copyright: Copyright (c) 2001 Company: Micro Focus International Ltd

Version:
1.0

Constructor Summary
ASEEMiniServer(int port)
          Create a new server on a specific port
 
Method Summary
 void addUserAuthentication(String username, String password)
          Add username/password to database
 void deleteUser(String username)
          Delete user from local database.
 Hashtable getUserPasswordHashtable()
          get username password hashtable
 boolean isUserPasswordValid(String username, String password)
          Is user password valid.
 boolean isValidUser(String username)
          Is username valid
static void main(String[] args)
          Method declaration
 void startServer()
          start server
 void stopServer()
          stopServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASEEMiniServer

public ASEEMiniServer(int port)
               throws BindException
Create a new server on a specific port

Parameters:
port -
Throws:
BindException
Method Detail

main

public static void main(String[] args)
Method declaration

Parameters:
args -

stopServer

public void stopServer()
                throws IOException
stopServer

Throws:
IOException

startServer

public void startServer()
                 throws IOException
start server

Throws:
IOException

addUserAuthentication

public void addUserAuthentication(String username,
                                  String password)
Add username/password to database

Parameters:
username -
password -

getUserPasswordHashtable

public Hashtable getUserPasswordHashtable()
get username password hashtable

Returns:
hashtable

isValidUser

public boolean isValidUser(String username)
Is username valid

Parameters:
username -
Returns:
true

deleteUser

public void deleteUser(String username)
Delete user from local database.

Parameters:
username -

isUserPasswordValid

public boolean isUserPasswordValid(String username,
                                   String password)
Is user password valid.

Parameters:
username -
password -
Returns:
true or false



Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.