Continue development of Authentication Token Validation Service and
the use of it by AuthTokenValidate.
This commit is contained in:
		| @@ -26,7 +26,7 @@ DIST_SUBDIRS = linux | ||||
|  | ||||
| CFILES = | ||||
|  | ||||
| EXTRA_DIST = $(CFILES) *.h | ||||
| EXTRA_DIST = $(CFILES) | ||||
|  | ||||
| .PHONY: package package-clean package-install package-uninstall | ||||
| package package-clean package-install package-uninstall: | ||||
|   | ||||
| @@ -112,7 +112,7 @@ GrowWorkerThreadPool(int growNumber) | ||||
| //  Notes: The serverMutex needs to be held when calling this | ||||
| //         procedure. | ||||
| // | ||||
| // L0 | ||||
| // L2 | ||||
| //=======================================================================-- | ||||
| { | ||||
|    DbgTrace(1, "GrowWorkerThreadPool- Start\n", 0); | ||||
| @@ -157,7 +157,7 @@ WorkerThreadBusy(void) | ||||
| // | ||||
| //  Notes: | ||||
| // | ||||
| // L0 | ||||
| // L2 | ||||
| //=======================================================================-- | ||||
| { | ||||
|    DbgTrace(1, "WorkerThreadBusy- Start\n", 0); | ||||
| @@ -191,7 +191,7 @@ WorkerThreadWaiting(void) | ||||
| // | ||||
| //  Notes: | ||||
| // | ||||
| // L0 | ||||
| // L2 | ||||
| //=======================================================================-- | ||||
| { | ||||
|    bool  retValue; | ||||
| @@ -237,7 +237,7 @@ WorkerThread(void*) | ||||
| // | ||||
| //  Notes: | ||||
| // | ||||
| // L0 | ||||
| // L2 | ||||
| //=======================================================================-- | ||||
| { | ||||
|    bool  perishingThread = false; | ||||
| @@ -282,6 +282,7 @@ WorkerThread(void*) | ||||
|                      // references later. | ||||
|                      env->PushLocalFrame(10); | ||||
|  | ||||
|                      // Encapsulate the request data into a string object | ||||
|                      jstring inString = env->NewStringUTF(pReqData); | ||||
|                      if (inString) | ||||
|                      { | ||||
| @@ -289,7 +290,8 @@ WorkerThread(void*) | ||||
|                         jstring outString = (jstring) env->CallStaticObjectMethod(helperClass, mId, inString); | ||||
|                         if (outString) | ||||
|                         { | ||||
|                            // The helper method succeded, complete the request. | ||||
|                            // The helper method succeded, complete the request | ||||
|                            // with the data returned. | ||||
|                            const char *pOutChars = env->GetStringUTFChars(outString, NULL); | ||||
|                            if (pOutChars) | ||||
|                            { | ||||
| @@ -424,7 +426,7 @@ InitJavaInvoke(void) | ||||
| // | ||||
| //  Notes: | ||||
| // | ||||
| // L0 | ||||
| // L2 | ||||
| //=======================================================================-- | ||||
| { | ||||
|    int   retStatus = -1; | ||||
| @@ -469,7 +471,7 @@ UnInitJavaInvoke(void) | ||||
| // | ||||
| //  Notes: | ||||
| // | ||||
| // L0 | ||||
| // L2 | ||||
| //=======================================================================-- | ||||
| { | ||||
|    DbgTrace(1, "UnInitJavaInvoke- Start\n", 0); | ||||
| @@ -498,7 +500,7 @@ DaemonInit( | ||||
| //  Notes: Copy of daemon_init() in Richard Stevens Unix Network | ||||
| //         Programming Book. | ||||
| // | ||||
| // L0 | ||||
| // L2 | ||||
| //=======================================================================-- | ||||
| { | ||||
|    pid_t             pid; | ||||
| @@ -647,7 +649,7 @@ main( | ||||
| // | ||||
| //  Notes: | ||||
| // | ||||
| // L0 | ||||
| // L2 | ||||
| //=======================================================================-- | ||||
| { | ||||
|    int         optionsSpecified = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user