首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

Tivoli TAM 与 PLSQL生成的网站系统作SSO,传参数有关问题,有高手可以回答

2013-01-07 
Tivoli TAM 与 PLSQL生成的网站系统作SSO,传参数问题,有高手可以回答?登陆页面源代码(前台察看原文件代码,

Tivoli TAM 与 PLSQL生成的网站系统作SSO,传参数问题,有高手可以回答?
登陆页面源代码(前台察看原文件代码,此代码是用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.


#
# It is not necessary to specify hidden input fields in this stanza.  
# will be automatically retrieved from the HTML form and submitted with the
# authentication request.
#

#
# Example of using GSO to send the GSO username and password.
#
# Send the GSO username using the input name "theUid"
p_userid = gso:username



# Send the GSO password using the input name "thePwd"
p_password = gso:password


p_url = cred:rls.SearchConditions

#UserLogin1:btnSubmit = index.htm
#
# Example of passing a string to the application.
#
# This sends the input name "companyName" with the value "My Company's Name"
# companyName = string:My Company's Name

#
# Example of passing an attribute from the user's credential to the
# application.
#
# This sends the user's Access Manager username using the argument name
# "AM_username."
#
#AM_username = cred:AZN_CRED_PRINCIPAL_NAME


#
# This retrieves the attribute "tagvalue_custom_attribute" from the
# user's credential and sends it using the input name "Special_Attribute."
#
#Special_Attribute = cred:tagvalue_custom_attribute

#p_url = cred:rls.SearchConditions

(该系统如果用户名密码正确,先给出判断,然后,自动跳转到后台页面)
做出的gso可以满足登陆系统,但是在跳转到真正的后台的的时候发生错误,无法的到资源,错误信息:
Server Error
Access Manager WebSEAL could not complete your request due to an unexpected error. 




Diagnostic Information
Method: GET


URL: /mmegas/apps/rls.SearchConditions


Error Code: 0x38cf07e0


Error Text: DPWWA2016E No HTML form for single-sign-on was found. 




Solution
Provide your System Administrator with the above information to assist in troubleshooting the problem. 


[BACK BUTTON]

我怀疑是p_url这个参数值没有传送过去,但是怎么改配置文件作都不行
有人可以给些建议么?大家讨论讨论
这里是我第一个找到的Tivoli论坛,呵呵。

[解决办法]
现在接触这个东西的人还不多,建议你到IBM的技术网站上问问。
[解决办法]
Tivoli 是什么东西?

热点排行