com.infoengine.au
Class SocketAccess.SocketThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.infoengine.util.IEThread
          extended bycom.infoengine.au.SocketAccess.SocketThread
All Implemented Interfaces:
Runnable
Enclosing class:
SocketAccess

class SocketAccess.SocketThread
extends IEThread


Field Summary
(package private)  Socket connection
           
(package private)  String serviceName
           
 
Fields inherited from class com.infoengine.util.IEThread
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SocketAccess.SocketThread(String serviceName, Socket connection)
           
 
Method Summary
private  void logThrowable(Throwable e)
           
 void run()
           
private  void terminateVM()
           
private  void validateSignatures(Request request, IeProcessor processor)
          Validate a request.
 
Methods inherited from class com.infoengine.util.IEThread
getParentThread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serviceName

String serviceName

connection

Socket connection
Constructor Detail

SocketAccess.SocketThread

public SocketAccess.SocketThread(String serviceName,
                                 Socket connection)
Method Detail

run

public void run()

terminateVM

private void terminateVM()

validateSignatures

private void validateSignatures(Request request,
                                IeProcessor processor)
                         throws IEException
Validate a request. If the request includes an encrypted hash that validates successfully, then trust the auth-user attribute contained in its SERVER context group. Otherwise, check to see if the authentication information has been digitally signed. If its signature is valid, then trust the auth-user attribute. otherwise, discard it.

Throws:
IEException

logThrowable

private void logThrowable(Throwable e)