Penn Computing
Computing Menu Computing A-Z
Computing Home Information Systems & Computing Penn
FOR ARCHIVAL PURPOSES ONLY
The following instructions apply to using Websec to authenticate for web applications. Websec was retired in December 2009 and replaced by a new authentication system, Penn Weblogin.

Customizing your application's authentication/login pages - Additional arguments

If you have opted to have a customized login page for your Websec app, you can also opt to pass additional arguments on to your application through Websec.

To add additional arguments,
  1. add a hidden input tag to your login page
    Example:
    <input type=hidden name=query_string value=$WEBSEC_QUERY_STRING>
  2. make a link to your application that includes the arguments that you want to pass on through Websec.
    Example:
    <a href="https://rosetta.upenn.edu/cgi-bin/websec/websec_authform?app=your_websec_application&InstitutionCode=9999&department=English">
When the user authenticates using your customized login page, Websec will map the keyword $WEBSEC_QUERY_STRING to the argument string that you have appended to the call to your application. In the above example, the input tag query_string will have the value InstitutionCode=9999&department=English. Your application would then have to parse out the query_string input values.
top

Information Systems and Computing
University of Pennsylvania
Comments & Questions


University of Pennsylvania Penn Computing University of Pennsylvania Information Systems & Computing (ISC)
Information Systems and Computing, University of Pennsylvania