on 2010 Feb 23 9:09 AM
Hi,
I am trying to implement the audit-functionality of the iCommand applet in Adobe Flex.
For this to work I have to re-check the current user's role and password.
I can get the role for any user with this URL:
[http://server:port/XMII/Illuminator?service=admin&Mode=UserAttribList&Content-Type=text/xml&Mask=<user>]
Alternativley, for the current user I could get it from the session:
[http://server:port/XMII/PropertyAccessServlet?mode=List&Content-Type=text/html]
The hard part, however is to re-check this user's password.
I am trying something like the following:
[http://server:port/XMII/CM/Test_DM/Project/Folder/file.xml?IllumLoginName=xxxxx&IllumLoginPassword=abc123&Content-Type=text/xml]
Next I would interpret the returned values: the expected xml-file that would say something simple like:
<Success>1</Success>or in case of a wrong user/password combo I would get the following from the server:
<FatalError>Authentication Required</FatalError>Unfortunately this does not seem to work, when the user is already logged in. Then every user/password combo is just accepted and the success-xml is presented. So the whole purpose of re-checking the password does not work with this approach.
Can someone help me with this?
Here are the best existing hits I found in this forum:
Thank you for your help!
Best regards,
Michael
Request clarification before answering.
Use an http post action inside a BLT to call the Role list URL, passing the user entered credentials.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.