登陆页面源代码(前台察看原文件代码,此代码是用PLSQL编写的脚本动态生成的HTML页面)
<BODY>
<CENTER>
<BR>
<B>输入用户ID密码、请点击[LOGIN]。</B>
<BR>
<BR>
<FORM ACTION="./hpsecurity.login_system" METHOD="POST">
<TABLE BORDER="0" WIDTH="60%">
<TR>
<TH>用户ID</TH>
<TD><INPUT TYPE="text" NAME="p_userid" SIZE="30" MAXLENGTH="50" VALUE="zhr"></TD>
</TR>
<TR>
<TH>密码</TH>
<TD><INPUT TYPE="password" NAME="p_password" SIZE="10" MAXLENGTH="8"></TD>
</TR>
</TABLE>
<INPUT TYPE="hidden" NAME="p_url" VALUE="rls.SearchConditions">
<INPUT TYPE="submit" VALUE="LOGIN">
<INPUT TYPE="reset" VALUE="RESET">
</FORM>
(不必要的部分没有贴出来)
以下是,生成junction的conf配置文件:
an application's login page and should be
# intercepted. The regular expression here is relative to the junction
# point where the server is mounted.
#
login-page = /apps/rls.SearchConditions
#
# The login-form-action entry is a regular expression used to identify
# which form in an HTML document is the login form. If there is only
# a single form in the page, or if the login form is the first form in
# the document, then "login-form-action" can simply be "*". Otherwise,
# login-form-action should be a regular expression that will match the
# "action" attribute of the login form.
#
login-form-action = ./hpsecurity.login_system
#
# The gso-resource is the GSO resource to use when retrieving the GSO username
# and password from the GSO database. If GSO will not be used to store
# the username and password, this can be blank.
#
gso-resource = gso_megas
#
# The argument-stanza contins a list of arguments that will be submitted
# with the authentication request.
#
argument-stanza = args-for-login-page-one
##########################################################################
#
# Arguments for Login Page One
#
##########################################################################
[args-for-login-page-one]
#
# The format of the entries in the argument stanza is
# name = method:value
#
# The "method:value" portion is used to retrieve the authentication data.
# Authentication data can be a literal string, the user's GSO username
# or password, or the value of a particular attribute from the user's
# credential.
#
# The data retrieved will be submitted to the junctioned application with
# the authentication request using the name specified here.