Post to form "in the background" (login issue)

S

sid derra

Hi

I have been working on a project, where I embed a wiki system (xWiki) into
an existing portal/platform for students. So far it all is running alright,
I can add/edit wiki pages from within the portal, add/remove users and
privileges, list pages, etc. There is one last thing that I have not been
able to accomplish though:
When a user is logged in to the platform and he or she click the link to a
certain wiki link, within their account, they should automatically get
logged into the xWiki system as well. What I would like to try now is
posting the username/password parameters to the login form "in the
background".

- User clicks link
- The system posts the credentials to the login form, where the wiki takes
care of the login
- The user sees the xWiki page (or not, if he or she has no rights - but
that's already taken care of)

I assume there is something similar like the cUrl lib in PHP, but since i
really do not use Java all that much, I just lack the experience. Hopefully
one of you guys can help me out there.

Thanks
sid
 
J

jmcgill

sid said:
I assume there is something similar like the cUrl lib in PHP, but since i
really do not use Java all that much, I just lack the experience. Hopefully
one of you guys can help me out there.

I don't understand how your plan differs from a type of HTTP or HTTPS proxy.
 
S

sid derra

jmcgill said:
I don't understand how your plan differs from a type of HTTP or HTTPS
proxy.

It doesn't really - I just would need some advice in where to start looking
for something like examples in Java.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top