Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Single sign-on

2 posts in Appeon (partner product) Last posting was on 2011-01-31 05:40:10.0Z
Marco Meoni Posted on 2011-01-26 15:04:47.0Z
Sender: 6173.4d402dd4.1804289383@sybase.com
From: Marco Meoni
Newsgroups: sybase.public.appeon
Subject: Single sign-on
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4d40380f.6489.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 26 Jan 2011 07:04:47 -0800
X-Trace: forums-1-dub 1296054287 10.22.241.41 (26 Jan 2011 07:04:47 -0800)
X-Original-Trace: 26 Jan 2011 07:04:47 -0800, 10.22.241.41
Lines: 33
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2632
Article PK: 13526

Hi folks,
say I have my HTML form that asks for username+password and
I want to pass on to PB/Appeon the 2 values (hidden of
course).

A GET request like

http://appeonserver/http_post?usr=aaa&pwd=bbb

would allow to retrieve the parameters "usr=aaa&pwd=bbb" via
the commandline argument in the application open event.

Unfortunately usr+pwd are visible, thus not applicable.

Any chance to get a POST request to work (which would hide
the two fields)?
The following code fails

<form action="http://appeonserver/http_post" method="POST"
target="_blank">
<input type="hidden" name="user" value="USERNAME">
<input type="hidden" name="pwd" value="123">
<input type="submit"value="Open application (POST)">
</form>

and produces the error:

HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an
invalid method (HTTP verb) is being used.

Cheers,
M.


Steven Posted on 2011-01-31 05:40:10.0Z
Sender: 5be3.4d460ba7.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.appeon
Subject: Re: Single sign-on
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4d464b3a.63a3.1681692777@sybase.com>
References: <4d40380f.6489.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 30 Jan 2011 21:40:10 -0800
X-Trace: forums-1-dub 1296452410 10.22.241.41 (30 Jan 2011 21:40:10 -0800)
X-Original-Trace: 30 Jan 2011 21:40:10 -0800, 10.22.241.41
Lines: 8
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2634
Article PK: 13528

Hi Marco,

Yes, you can make a function to encrypt and decrypt the
commandline argument.
Or using the web service to pass the username & password.

Regards,
Steven