Continue development of Authentication Token Validation Service and

the use of it by AuthTokenValidate.
This commit is contained in:
Juan Carlos Luciani
2006-09-08 15:44:32 +00:00
parent e77685f605
commit 20608a9f65
10 changed files with 125 additions and 29 deletions

View File

@@ -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;