The University of Waterloo wanted to integrate their custom PeopleSoft application (ACCESS) with their centralized user directory (UWDIR) for single sign-on. They implemented external authentication through a CGI script that authenticates users against UWDIR and passes authentication results to PeopleSoft using cookies. The PeopleSoft signon page was modified to call the CGI script, which sets a cookie if authentication succeeds. Signon PeopleCode enforces the cookie result, allowing access if authenticated and denying it otherwise. This allows ACCESS to use UWDIR credentials without changing the PeopleSoft security model.