Re: [xwiki-users] How to list the subspace under the space?

2010-06-02 Thread xManish
I hadn't seen that. Thanks for sharing. -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-list-the-subspace-under-the-space-Little-bit-successful-need-more-steps-to-Go-tp5095367p5130817.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] XWiki Instalation

2010-06-07 Thread xManish
Maria Carolina Ramirez wrote: I supposed that all of this errors are happening because I have to install the *.xar files And then I got this error and that's all. I can't see nothing else. 16:48:03,158 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as XWD1_0_0_,

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-16 Thread xManish
Nithya Vembu wrote: But i dont getting clear idea, how can i create a page under space with some contents.. and i am not getting any good samples for xwiki rest api. ... Kindly anyone give me idea how rest will get differentiate in xwiki manner.. Can anyone give me a code snippet

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-17 Thread xManish
Jerome Velociter wrote: Hi Nithya, Manish Have you checked http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresources ? In particular : /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName} HTTP Method: PUT * Accepted Media types: o

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-21 Thread xManish
I might really have to apologize to the main creator of this thread for using the thread. Jerome, I'll start a new thread on this topic. Adding user through Rest Api. Would you please join me there? -- View this message in context:

[xwiki-users] Adding user through Rest API

2010-06-21 Thread xManish
I added page in the xwiki through Rest Api in following way. Would somebody please advise me how to add user to the xwiki system in the similiar way. public void add() { final String CONTENT = Content 101; final String TITLE = Title 101; final String PARENT =

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-21 Thread xManish
Hi Jerome, Ya of course having /wikis/{wikiName}/users would have been nice. :) But coming to reality, I still have the problem creating user. Here is the code on how I created the wiki page. Can you advise me how to create the wiki user in the similiear manner? public void myAddMethod() {

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-22 Thread xManish
I think I will have to apologize the original creator of this thread for using it to discuss my issue. Jerome, could you please join me in the another thread that I've created for this issue. Its 'Create User in XWiki from REST Api' under XWiki-Dev. THankyou, manish -- View this message in

Re: [xwiki-users] Altering Access Rights from REST Api

2010-06-23 Thread xManish
Fabio Mancinelli-4 wrote: So as long as what you want to do is achievable by page and object manipulation (like the most of the XWiki functionalities) you are able to use the REST api to do it. Hi Fabio, Thanks for replying to my thread. Coming to the creating user issue. Does that

[xwiki-users] Single sign on

2010-07-15 Thread xManish
, xManish -- View this message in context: http://xwiki.475771.n2.nabble.com/Single-sign-on-tp5299320p5299320.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo

Re: [xwiki-users] Single sign on

2010-07-16 Thread xManish
Sergiu Dumitriu-2 wrote: XWiki authenticates using cookies. You could duplicate the code that adds the right cookies (com.xpn.xwiki.user.impl.xwiki.MyPersistentLoginManager#rememberLogin) into your application, and XWiki will automatically see them and login the right user. Don't

Re: [xwiki-users] Single sign on

2010-07-16 Thread xManish
Sergiu Dumitriu-2 wrote: Actually, it says this in xwiki.cfg, above the keys: #-# Cookie encryption keys. You SHOULD replace these values with any random string, #-# as long as the length is the same. So you should generate keys with 32 characters. I mis-interpreted it. I thought

Re: [xwiki-users] Single sign on

2010-07-18 Thread xManish
I got it right. For some reason, I thought I had to convert the key to HEX. I was wrong. I changed the code like below and it worked... :) for secretkey, String secret = titititititititititititititititi; (the one from xwiki.cfg) byte[] theKey = secret.getBytes(); KeySpec ks = new