        What is it good for?
        -------------------- 

The purpose of this demo is to show the use of the Secure Attribute
Service (SAS).

There are two versions of the demo. One is a simple demo where login
credentials are entered by the client and sent to the server without
cerifying their validity.  The server likewise accepts the credentials
without question.

The second demo validates the logon credentials against a valid
Windows NT logon.  This demo requeres that JacORB be built with the
JAAS login modules downloaded from http://free.tagish.net/jaas/

        How to build this demo?
        ----------------------- 

If you want to use the custom JAAS
login modules, they should be downloaded from
http://free.tagish.net/jaas/ and the classes added to the CLASSPATH

        How to run the simple demo?
        ---------------------------

Add jacorb/classes to the CLASSPATH

Run the server:
$> jaco -Dcustom.props=server_props org.jacorb.demo.sas.Server server.ior

Run the client:
$> jaco -Dcustom.props=client_props org.jacorb.demo.sas.Client server.ior

The client will call the server three times with the username MeUser.

        How to run the NT Login demo?
        -----------------------------

Add jacorb/classes to the CLASSPATH

Start the Name service
$> ns -p 9009

Start the ATLAS service
$> jaco -Dcustom.props=NT_ATLAS_props org.jacorb.demo.sas.NT_ATLASService -Djava.security.auth.login.config=file:tagish.login 20200 atlas.ior

Run the JAAS server:
$> jaco -Dcustom.props=NT_server_props -Djava.security.auth.login.config=file:tagish.login org.jacorb.demo.sas.Server server.ior

For the JAAS client:
$> jaco -Dcustom.props=client_props -Djava.security.auth.login.config=file:tagish.login org.jacorb.demo.sas.JAASClient server.ior


