Re: [xwiki-users] Can I simulate Registration and Login form?
Thanks Ricardo, I'll have a look soon.. but for a more elegant and correct implementation I was thinking to get XWiki source code to emulate XWiki behavior.. The problem is that I've 3days to implement a good solution...:-S What do you think about? And the more... Am I right with XWiki license? I don't want to do bad things.. Thank you! Bye! --- Hi Riccardo, riccardo grazioli wrote: Hi, I'd like to link xWiki to a WebSite I'm developing. I've to simulate registration and login-in submission xwiki because access to xwiki is already restricted to registered user of my web application, but I can't easily (and fastly) understand interaction between struts and velocity. What I think is to register new xWiki user when they register in my WebSite, and to automatically submit the login form and data when they want to access to xwiki. Can anyone give me a hand? Some Ideas? I'm afraid this won't be easy and/or fast! But, just in case you are not aware of this, have you visited jira.xwiki.org? If you look for authentication here http://jira.xwiki.org/jira/secure/QuickSearch.jspa, you will get a bunch of related entries. I think several of them could apply to your case. To the best of my knowledge, XWiki in its current state of development support basic authentication but username and password can not be passed with an URL yet. As a web developer I am sure you will be easy to follow the already created Jira issues! HTH, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can I simulate Registration and Login form?
Hi Riccardo, riccardo grazioli wrote: Hi, I'd like to link xWiki to a WebSite I'm developing. I've to simulate registration and login-in submission xwiki because access to xwiki is already restricted to registered user of my web application, but I can't easily (and fastly) understand interaction between struts and velocity. What I think is to register new xWiki user when they register in my WebSite, and to automatically submit the login form and data when they want to access to xwiki. Can anyone give me a hand? Some Ideas? I'm afraid this won't be easy and/or fast! But, just in case you are not aware of this, have you visited jira.xwiki.org? If you look for authentication here http://jira.xwiki.org/jira/secure/QuickSearch.jspa, you will get a bunch of related entries. I think several of them could apply to your case. To the best of my knowledge, XWiki in its current state of development support basic authentication but username and password can not be passed with an URL yet. You mean like /xwiki/bin/login/XWiki/XWikiLogin?j_jusername=XWiki.Usernamej_password= ? Because this works :) Jerome. As a web developer I am sure you will be easy to follow the already created Jira issues! HTH, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can I simulate Registration and Login form?
Basically, a happy rRicccardo if I understand well ;-) On Fri, Apr 11, 2008 at 12:08 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team [EMAIL PROTECTED] wrote: Jerome Velociter wrote: Succeeded with this : http://xepecnet.environmentalchange.net/xwiki/bin/loginsubmit/XWiki/XWikiLogin?j_username=XWiki.dummyj_password=dummyxredirect=/xwiki/bin/view/ICT/RGraphicSample01?xpage=plain Regards, Jerome. Thanks, thanks, thanks! You have today a happy Riccardo and a happy Ricardo! :-) Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can I simulate Registration and Login form?
Jerome Velociter wrote: Succeeded with this : http://xepecnet.environmentalchange.net/xwiki/bin/loginsubmit/XWiki/XWikiLogin?j_username=XWiki.dummyj_password=dummyxredirect=/xwiki/bin/view/ICT/RGraphicSample01?xpage=plain Regards, Jerome. Thanks, thanks, thanks! You have today a happy Riccardo and a happy Ricardo! :-) I'm very glad to hear that :) A while ago I started documenting XWiki URL and forms mappings to make it easier finding out this kind of URLs : http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiURLMappings. I really need to find some time to complete this draft. Regards, Jerome. Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can I simulate Registration and Login form?
Yes, I'm very happy!! I was afraid to have to do a bad week-end solving and implementing this Issue...!! Thanks to all!!! Riccardo. - Jerome Velociter wrote: Succeeded with this : http://xepecnet.environmentalchange.net/xwiki/bin/loginsubmit/XWiki/XWikiLogin?j_username=XWiki.dummyj_password=dummyxredirect=/xwiki/bin/view/ICT/RGraphicSample01?xpage=plain Regards, Jerome. Thanks, thanks, thanks! You have today a happy Riccardo and a happy Ricardo! :-) I'm very glad to hear that :) A while ago I started documenting XWiki URL and forms mappings to make it easier finding out this kind of URLs : http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiURLMappings. I really need to find some time to complete this draft. Regards, Jerome. Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can I simulate Registration and Login form?
riccardo grazioli wrote: Hi Jerome, really really thanks! Yesterday I take all parameters of login form but then I did'n not try to call the page with a normal URL+QueryString... Sometimes the easy way is the solutions... Now I've tryed to register by same method... and it WORKS fine!!! ...like: /xwiki/bin/register/XWiki/Register?template=XWiki.XwikiUserTemplateregister=1register_first_name=XXXregister_last_name=XXXxwikiname=XXregister_password=register2_password=[EMAIL PROTECTED] Thanks a lot! Bye, Riccardo. Thanks God there are people out there with a perfect understanding about XWiki!!! :-) I am not able yet to get the point, I am afraid :-( And I am afraid I am messing things (URLs, agents, browsers, authentication, authorization,...) :-( and what I am trying to do is not what Riccardo was asking for. Please, allow me to put an example. How do you pass username and password in the URL to access this document? http://xepecnet.environmentalchange.net/xwiki/bin/view/ICT/RGraphicSample01?xpage=plain Succeeded with this : http://xepecnet.environmentalchange.net/xwiki/bin/loginsubmit/XWiki/XWikiLogin?j_username=XWiki.dummyj_password=dummyxredirect=/xwiki/bin/view/ICT/RGraphicSample01?xpage=plain Regards, Jerome. username dummy, password dummy is has view rights on it. It will be great if you could help me with this issue. Thank you so much. Best, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can I simulate Registration and Login form?
riccardo grazioli wrote: Hi Jerome, really really thanks! Yesterday I take all parameters of login form but then I did'n not try to call the page with a normal URL+QueryString... Sometimes the easy way is the solutions... Now I've tryed to register by same method... and it WORKS fine!!! ...like: /xwiki/bin/register/XWiki/Register?template=XWiki.XwikiUserTemplateregister=1register_first_name=XXXregister_last_name=XXXxwikiname=XXregister_password=register2_password=[EMAIL PROTECTED] Thanks a lot! Bye, Riccardo. Thanks God there are people out there with a perfect understanding about XWiki!!! :-) I am not able yet to get the point, I am afraid :-( And I am afraid I am messing things (URLs, agents, browsers, authentication, authorization,...) :-( and what I am trying to do is not what Riccardo was asking for. Please, allow me to put an example. How do you pass username and password in the URL to access this document? http://xepecnet.environmentalchange.net/xwiki/bin/view/ICT/RGraphicSample01?xpage=plain username dummy, password dummy is has view rights on it. It will be great if you could help me with this issue. Thank you so much. Best, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can I simulate Registration and Login form?
Jerome Velociter wrote: Succeeded with this : http://xepecnet.environmentalchange.net/xwiki/bin/loginsubmit/XWiki/XWikiLogin?j_username=XWiki.dummyj_password=dummyxredirect=/xwiki/bin/view/ICT/RGraphicSample01?xpage=plain Regards, Jerome. Thanks, thanks, thanks! You have today a happy Riccardo and a happy Ricardo! :-) Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users