XML Videotex Server Authorisation

The XML Server will authorise all incoming connections if the following function is defined:

    (defun String xmlAuthorise ( (info List) )

        (local  (greeting String)
        )

        # do the authorisation checking here...

        (return greeting)
    )
This function uses the supplied attribute/value list of user-supplied details to check whether access is to be allowed or denied. If access is denied, the function must throw an Error. This will be returned across the communications link to the remote client.

If the Server is configured for authorisation, the remote XML client must send the following command:

<invoke command='authorise'>
    <security .... />
</invoke>
The attributes list of the supplied security object are passed to the xmlAuthorise function for validation.

Some examples of such invocations are as follows:

    <invoke command='authorise'>
        <security user='fred' password='secret' />
    </invoke>

    <invoke command='authorise'>
        <security user='fred' password='872auesw47' encryptionKey='e48trd'/>
    </invoke>


Contents Current topic: videotex Related topics: Carapace Hub