Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-13 Thread mohit gupta
Thanks thomas for bringing clarity.

 i am trying to build the xwiki source in eclipse as per the instructions
given at

http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject.

 i have given the repository location as below in setting.xml in eclispe

* repositories
   repository
 idfip/id
 namexwiki Archiva Repository/name
 urlhttps://github.com/xwiki/xwiki-platform/url
 releases
   enabledtrue/enabled
 /releases
 snapshots
   enabledtrue/enabled
 /snapshots
   /repository
 /repositories*

 But after updating the setting.xml(lying under .m2 folder) to above
location  i get  below message on eclipse console

* 12/13/11 5:28:54 PM IST: Unable to update index for fip|
https://github.com/xwiki/xwiki-platform*

 And when i try to build the  project in eclipse, eclipse console shows
the below error message

* Project build error: Non-resolvable parent POM for
org.xwiki.platform:xwiki-platform-core:3.2-SNAPSHOT:
 Failure to find org.xwiki.platform:xwiki-platform:pom:3.2-SNAPSHOT in *
*https://github.com/xwiki/xwiki-platform*https://github.com/xwiki/xwiki-platform
* was cached in the local repository, resolution will not be
reattempted until the update interval of fip has elapsed
 or updates are forced and 'parent.relativePath' points at wrong local
POM pom.xml /xwiki-platform-action line 1 Maven Problem*

* i am not getting what is the problem here. Please provide your
valuable inputs.
*
On Tue, Dec 13, 2011 at 1:44 AM, Thomas Mortagne
thomas.morta...@xwiki.comwrote:

 On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta motgu...@gmail.com wrote:
  Thanks  Thomas Mortagne and Vincent a lot  for pointing out to
 repository.
  One question on Repository structure. i downloaded the
  xwiki-enterprise-web-3.2.war file and found out that
  XWikiAuthServiceImpl.class lies under  jar
  xwiki-platform-legacy-oldcore-3.2.jar
   and path is
  xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But
 in
  the repository you guys pointed out same file
   lies under
 
 xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki.
  But in my dowloaded war file
   there is no jar by the name of  xwiki-platform-core or
  xwiki-platform-oldcore. There is jar file with the name
  xwiki-platform-legacy-oldcore-3.2.jar.
  could you brief about this discrepency?

 xwiki-platform-legacy-oldcore is actually a bit special: it's
 repackaging xwiki-platform-oldcore and inject some deprecated APIs to
 it.

 
  On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol vinc...@massol.net
 wrote:
 
 
  On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:
 
   Thanks all for sharing the information. I started working on the xwiki
   project.
  
   I downloaded the war file xwiki-enterprise-web-3.2 and started
  working
  on
   that. I have got some questions/issues  while working
   on this. These are:-
  
   1) Is it possible to  get the source code of xwiki java files so that
 if
   want have some understanding/or modification as per my
  requirements i can go ahead?
 
  See
 
 http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources
  (I've updated the page with more information)
 
  Thanks
  -Vincent
 
   2) As i said earlier too, i want my customer authentication. So i
  explored
   the downloaded war file and found there is a property
 xwiki.authentication.authclass inside xwiki.cfg file against which
 file
   name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
 is written. So i can provide my own customer class say
   MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
 my question is in which library it should be packed with and what
 are
   interfaces/parent class it should extend how i can find
 it out?
  
   it would be a great help if you some one can brief about each point?
  
  
   On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com
 wrote:
  
  
   Thanks Andreas a lot for sharing the information. Let me explain what
  got
   from the links you have mentioned above.
  
   i typed the URL http://www.teamsched.com/docs or
  http://www.teamsched.com in
   address bar. Both link took me to
 http://www.teamsched.com/docs/info/
   which seems to be a xwiki site based on java classes which must be
  hosted
   on some webserver(can you name the webserver which you used for
 this).
  Now
   i click the hyperlink getting started given on this site which takes
 me
  to
   another web application  i.e http://shept.org/docs/Shept/(which is
  again
   some java application hosted on another instance of webserver ). Is
 that
   correct? If yes i  also need to do same kind of stuff. Thanks.
  
  
   On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote:
  
  
   Hi mohit,
  
   I think I have done something similar a while ago.
   Look at http://www.teamsched.com.
 

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-13 Thread mohit gupta
one new development on below error

i updated the repository location to new one as shown below as it took the
code from
https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform-core/

repositories
   repository
 idfip/id
 namexwiki Archiva Repository/name
 url
https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform-core/xwiki-platform-oldcore
/url
 releases
   enabledtrue/enabled
 /releases
 snapshots
   enabledtrue/enabled
 /snapshots
   /repository
 /repositories

 But after updating the setting.xml(lying under .m2 folder) to above
location  i get  below message on eclipse console

*12/13/11 5:48:14 PM IST: Unable to update index for fip-plugin|
https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform
 -core/xwiki-platform-oldcore*

 And when i try to build the  project in eclipse, eclipse console shows
the below error message

*   Project build error: Non-parseable POM
C:\Users\mgupta\.m2\repository\org\xwiki\platform\xwiki-platform\3.2-SNAPSHOT\xwiki-platform-3.2-SNAPSHOT.pom:

   end tag name /head must be the same as start tag META from
line 26 (position: TEXT seen ...i-platform:stable-3.2.x
type=application/atom+xml /
\n\n  /head... @31:10)
 pom.xml /xwiki-platform-annotation-maintainer line 1 Maven Problem*

**
*Looks like wrong pom file in repository. Not sure what is the issue here?*
*

*

On Tue, Dec 13, 2011 at 5:37 PM, mohit gupta motgu...@gmail.com wrote:

 Thanks thomas for bringing clarity.

  i am trying to build the xwiki source in eclipse as per the instructions
 given at

 http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject.

  i have given the repository location as below in setting.xml in eclispe

 * repositories
repository
  idfip/id
  namexwiki Archiva Repository/name
  urlhttps://github.com/xwiki/xwiki-platform/url
  releases
enabledtrue/enabled
  /releases
  snapshots
enabledtrue/enabled
  /snapshots
/repository
  /repositories*

  But after updating the setting.xml(lying under .m2 folder) to above
 location  i get  below message on eclipse console

 * 12/13/11 5:28:54 PM IST: Unable to update index for fip|
 https://github.com/xwiki/xwiki-platform*

  And when i try to build the  project in eclipse, eclipse console
 shows the below error message

 * Project build error: Non-resolvable parent POM for
 org.xwiki.platform:xwiki-platform-core:3.2-SNAPSHOT:
  Failure to find org.xwiki.platform:xwiki-platform:pom:3.2-SNAPSHOT in
 **https://github.com/xwiki/xwiki-platform*https://github.com/xwiki/xwiki-platform
 * was cached in the local repository, resolution will not be
 reattempted until the update interval of fip has elapsed
  or updates are forced and 'parent.relativePath' points at wrong local
 POM pom.xml /xwiki-platform-action line 1 Maven Problem*

 * i am not getting what is the problem here. Please provide your
 valuable inputs.
 *
 On Tue, Dec 13, 2011 at 1:44 AM, Thomas Mortagne 
 thomas.morta...@xwiki.com wrote:

 On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta motgu...@gmail.com wrote:
  Thanks  Thomas Mortagne and Vincent a lot  for pointing out to
 repository.
  One question on Repository structure. i downloaded the
  xwiki-enterprise-web-3.2.war file and found out that
  XWikiAuthServiceImpl.class lies under  jar
  xwiki-platform-legacy-oldcore-3.2.jar
   and path is
  xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki.
 But in
  the repository you guys pointed out same file
   lies under
 
 xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki.
  But in my dowloaded war file
   there is no jar by the name of  xwiki-platform-core or
  xwiki-platform-oldcore. There is jar file with the name
  xwiki-platform-legacy-oldcore-3.2.jar.
  could you brief about this discrepency?

 xwiki-platform-legacy-oldcore is actually a bit special: it's
 repackaging xwiki-platform-oldcore and inject some deprecated APIs to
 it.

 
  On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol vinc...@massol.net
 wrote:
 
 
  On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:
 
   Thanks all for sharing the information. I started working on the
 xwiki
   project.
  
   I downloaded the war file xwiki-enterprise-web-3.2 and started
  working
  on
   that. I have got some questions/issues  while working
   on this. These are:-
  
   1) Is it possible to  get the source code of xwiki java files so
 that if
   want have some understanding/or modification as per my
  requirements i can go ahead?
 
  See
 
 http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources
  (I've updated the page with more information)
 
  Thanks
  -Vincent
 
   2) As i said 

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-13 Thread Thomas Mortagne
On Tue, Dec 13, 2011 at 1:07 PM, mohit gupta motgu...@gmail.com wrote:
 Thanks thomas for bringing clarity.

  i am trying to build the xwiki source in eclipse as per the instructions
 given at

 http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject.

  i have given the repository location as below in setting.xml in eclispe

 *         repositories
       repository
         idfip/id
         namexwiki Archiva Repository/name
         urlhttps://github.com/xwiki/xwiki-platform/url

That's not a maven repository, you should look at
http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
for how to properly setup maven with the exact thing to put in
settings.xml.

Using 
http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject
is not recommended IMO, this doc is pretty old and
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse makes
it way easier to debug on Eclipse.

         releases
           enabledtrue/enabled
         /releases
         snapshots
           enabledtrue/enabled
         /snapshots
       /repository
     /repositories*

     But after updating the setting.xml(lying under .m2 folder) to above
 location  i get  below message on eclipse console

 *     12/13/11 5:28:54 PM IST: Unable to update index for fip|
 https://github.com/xwiki/xwiki-platform*

     And when i try to build the  project in eclipse, eclipse console shows
 the below error message

 *     Project build error: Non-resolvable parent POM for
 org.xwiki.platform:xwiki-platform-core:3.2-SNAPSHOT:
     Failure to find org.xwiki.platform:xwiki-platform:pom:3.2-SNAPSHOT in *
 *https://github.com/xwiki/xwiki-platform*https://github.com/xwiki/xwiki-platform
 *     was cached in the local repository, resolution will not be
 reattempted until the update interval of fip has elapsed
     or updates are forced and 'parent.relativePath' points at wrong local
 POM pom.xml /xwiki-platform-action line 1 Maven Problem*

 *     i am not getting what is the problem here. Please provide your
 valuable inputs.
 *
 On Tue, Dec 13, 2011 at 1:44 AM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:

 On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta motgu...@gmail.com wrote:
  Thanks  Thomas Mortagne and Vincent a lot  for pointing out to
 repository.
  One question on Repository structure. i downloaded the
  xwiki-enterprise-web-3.2.war file and found out that
  XWikiAuthServiceImpl.class lies under  jar
  xwiki-platform-legacy-oldcore-3.2.jar
   and path is
  xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But
 in
  the repository you guys pointed out same file
   lies under
 
 xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki.
  But in my dowloaded war file
   there is no jar by the name of  xwiki-platform-core or
  xwiki-platform-oldcore. There is jar file with the name
  xwiki-platform-legacy-oldcore-3.2.jar.
  could you brief about this discrepency?

 xwiki-platform-legacy-oldcore is actually a bit special: it's
 repackaging xwiki-platform-oldcore and inject some deprecated APIs to
 it.

 
  On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol vinc...@massol.net
 wrote:
 
 
  On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:
 
   Thanks all for sharing the information. I started working on the xwiki
   project.
  
   I downloaded the war file xwiki-enterprise-web-3.2 and started
  working
  on
   that. I have got some questions/issues  while working
   on this. These are:-
  
   1) Is it possible to  get the source code of xwiki java files so that
 if
   want have some understanding/or modification as per my
      requirements i can go ahead?
 
  See
 
 http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources
  (I've updated the page with more information)
 
  Thanks
  -Vincent
 
   2) As i said earlier too, i want my customer authentication. So i
  explored
   the downloaded war file and found there is a property
     xwiki.authentication.authclass inside xwiki.cfg file against which
 file
   name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
     is written. So i can provide my own customer class say
   MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
     my question is in which library it should be packed with and what
 are
   interfaces/parent class it should extend how i can find
     it out?
  
   it would be a great help if you some one can brief about each point?
  
  
   On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com
 wrote:
  
  
   Thanks Andreas a lot for sharing the information. Let me explain what
  got
   from the links you have mentioned above.
  
   i typed the URL http://www.teamsched.com/docs or
  http://www.teamsched.com in
   address bar. Both link took me to
 http://www.teamsched.com/docs/info/
   which seems to be a xwiki site based on java classes which must be
  hosted
   on 

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-12 Thread mohit gupta
Thanks  Thomas Mortagne and Vincent a lot  for pointing out to repository.
One question on Repository structure. i downloaded the
xwiki-enterprise-web-3.2.war file and found out that
XWikiAuthServiceImpl.class lies under  jar
xwiki-platform-legacy-oldcore-3.2.jar
 and path is
xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But in
the repository you guys pointed out same file
 lies under
xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki.
But in my dowloaded war file
 there is no jar by the name of  xwiki-platform-core or
xwiki-platform-oldcore. There is jar file with the name
xwiki-platform-legacy-oldcore-3.2.jar.
could you brief about this discrepency?

On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol vinc...@massol.net wrote:


 On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:

  Thanks all for sharing the information. I started working on the xwiki
  project.
 
  I downloaded the war file xwiki-enterprise-web-3.2 and started  working
 on
  that. I have got some questions/issues  while working
  on this. These are:-
 
  1) Is it possible to  get the source code of xwiki java files so that if
  want have some understanding/or modification as per my
 requirements i can go ahead?

 See
 http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources
 (I've updated the page with more information)

 Thanks
 -Vincent

  2) As i said earlier too, i want my customer authentication. So i
 explored
  the downloaded war file and found there is a property
xwiki.authentication.authclass inside xwiki.cfg file against which file
  name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
is written. So i can provide my own customer class say
  MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
my question is in which library it should be packed with and what are
  interfaces/parent class it should extend how i can find
it out?
 
  it would be a great help if you some one can brief about each point?
 
 
  On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote:
 
 
  Thanks Andreas a lot for sharing the information. Let me explain what
 got
  from the links you have mentioned above.
 
  i typed the URL http://www.teamsched.com/docs or
 http://www.teamsched.com in
  address bar. Both link took me to http://www.teamsched.com/docs/info/
  which seems to be a xwiki site based on java classes which must be
 hosted
  on some webserver(can you name the webserver which you used for this).
 Now
  i click the hyperlink getting started given on this site which takes me
 to
  another web application  i.e http://shept.org/docs/Shept/(which is
 again
  some java application hosted on another instance of webserver ). Is that
  correct? If yes i  also need to do same kind of stuff. Thanks.
 
 
  On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote:
 
 
  Hi mohit,
 
  I think I have done something similar a while ago.
  Look at http://www.teamsched.com.
 
  The explanatory stuff is hosted on an xwiki that is identified by the
  http://www.teamsched.com/docs
  part of the url.
  The real application based on shept.org (spring, hibernate, e.t.c.)
  (when you press 'Gettings started')
  http://www.teamsched.com/app
 
  It works more or less seamless yet the level of integration of both
 apps
  is a little shaky.
  There are no user accounts handed over from one to the other app.
  That should be possible but I hesitated to invest the necessary effort
 to
  figure it out.
  If that's what you are looking for I'll try to provide details.
 
  good luck
 
  Andreas
 
 
 
  Am 02.12.2011 11:31, schrieb mohit gupta:
 
 
  i have my banking webapplication on tomcat. i want to host my
 application
  help on xwiki which will sit on another server(probably
  xwiki will be having its on app server). Basically what i have to do
 is i
  want to provide a link on my banking application on click of which
  i want to take it to wiki help(help shoud not ask any credentialsat
  http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHome
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome
  )
  though it should ask for credential if i hit my xwiki URL directly.i
 am
  not getting how to start it?i have gone thru xwiki devguide but could
  not get much out of it. It would be great if somebody can give me
 heads
  up
  how can i can i start it at high level, it would be a great help.
  As xwiki site states many tools to download like
  manager,enterprise,platform. which tool one i shoud start with and
 what
  should be the starting point
  in that?
  i want to give the users to modify the wiki page on the basis of
 roles in
  my banking application. So my application and xwiki has to interact a
  lot.
  looking for how we can proceed for this. My application is using
 struts
  2.
 
  Another question i have is once i dowload xwiki enterprsise, should i
  host
  in seperate tomcat or downloaded xwiki application will 

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-12 Thread Thomas Mortagne
On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta motgu...@gmail.com wrote:
 Thanks  Thomas Mortagne and Vincent a lot  for pointing out to repository.
 One question on Repository structure. i downloaded the
 xwiki-enterprise-web-3.2.war file and found out that
 XWikiAuthServiceImpl.class lies under  jar
 xwiki-platform-legacy-oldcore-3.2.jar
  and path is
 xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But in
 the repository you guys pointed out same file
  lies under
 xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki.
 But in my dowloaded war file
  there is no jar by the name of  xwiki-platform-core or
 xwiki-platform-oldcore. There is jar file with the name
 xwiki-platform-legacy-oldcore-3.2.jar.
 could you brief about this discrepency?

xwiki-platform-legacy-oldcore is actually a bit special: it's
repackaging xwiki-platform-oldcore and inject some deprecated APIs to
it.


 On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol vinc...@massol.net wrote:


 On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:

  Thanks all for sharing the information. I started working on the xwiki
  project.
 
  I downloaded the war file xwiki-enterprise-web-3.2 and started  working
 on
  that. I have got some questions/issues  while working
  on this. These are:-
 
  1) Is it possible to  get the source code of xwiki java files so that if
  want have some understanding/or modification as per my
     requirements i can go ahead?

 See
 http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources
 (I've updated the page with more information)

 Thanks
 -Vincent

  2) As i said earlier too, i want my customer authentication. So i
 explored
  the downloaded war file and found there is a property
    xwiki.authentication.authclass inside xwiki.cfg file against which file
  name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
    is written. So i can provide my own customer class say
  MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
    my question is in which library it should be packed with and what are
  interfaces/parent class it should extend how i can find
    it out?
 
  it would be a great help if you some one can brief about each point?
 
 
  On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote:
 
 
  Thanks Andreas a lot for sharing the information. Let me explain what
 got
  from the links you have mentioned above.
 
  i typed the URL http://www.teamsched.com/docs or
 http://www.teamsched.com in
  address bar. Both link took me to http://www.teamsched.com/docs/info/
  which seems to be a xwiki site based on java classes which must be
 hosted
  on some webserver(can you name the webserver which you used for this).
 Now
  i click the hyperlink getting started given on this site which takes me
 to
  another web application  i.e http://shept.org/docs/Shept/(which is
 again
  some java application hosted on another instance of webserver ). Is that
  correct? If yes i  also need to do same kind of stuff. Thanks.
 
 
  On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote:
 
 
  Hi mohit,
 
  I think I have done something similar a while ago.
  Look at http://www.teamsched.com.
 
  The explanatory stuff is hosted on an xwiki that is identified by the
  http://www.teamsched.com/docs
  part of the url.
  The real application based on shept.org (spring, hibernate, e.t.c.)
  (when you press 'Gettings started')
  http://www.teamsched.com/app
 
  It works more or less seamless yet the level of integration of both
 apps
  is a little shaky.
  There are no user accounts handed over from one to the other app.
  That should be possible but I hesitated to invest the necessary effort
 to
  figure it out.
  If that's what you are looking for I'll try to provide details.
 
  good luck
 
  Andreas
 
 
 
  Am 02.12.2011 11:31, schrieb mohit gupta:
 
 
  i have my banking webapplication on tomcat. i want to host my
 application
  help on xwiki which will sit on another server(probably
  xwiki will be having its on app server). Basically what i have to do
 is i
  want to provide a link on my banking application on click of which
  i want to take it to wiki help(help shoud not ask any credentialsat
  http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHome
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome
  )
  though it should ask for credential if i hit my xwiki URL directly.i
 am
  not getting how to start it?i have gone thru xwiki devguide but could
  not get much out of it. It would be great if somebody can give me
 heads
  up
  how can i can i start it at high level, it would be a great help.
  As xwiki site states many tools to download like
  manager,enterprise,platform. which tool one i shoud start with and
 what
  should be the starting point
  in that?
  i want to give the users to modify the wiki page on the basis of
 roles in
  my banking application. So my application and xwiki has to interact a
  

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-11 Thread Thomas Mortagne
On Sat, Dec 10, 2011 at 7:30 PM, mohit gupta motgu...@gmail.com wrote:
 Thanks all for sharing the information. I started working on the xwiki
 project.

 I downloaded the war file xwiki-enterprise-web-3.2 and started  working on
 that. I have got some questions/issues  while working
 on this. These are:-

 1) Is it possible to  get the source code of xwiki java files so that if
 want have some understanding/or modification as per my
    requirements i can go ahead?

If you are using Eclipse a nice thing to look at is
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse.

Otherwise you can find general documentation about where sources are
and how to get and build them on
http://dev.xwiki.org/xwiki/bin/view/Community/Building and
http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository.


 2) As i said earlier too, i want my customer authentication. So i explored
 the downloaded war file and found there is a property
   xwiki.authentication.authclass inside xwiki.cfg file against which file
 name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
   is written. So i can provide my own customer class say
 MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
   my question is in which library it should be packed with and what are
 interfaces/parent class it should extend how i can find
   it out?

See 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HCustomAuthentication


 it would be a great help if you some one can brief about each point?


 On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote:


 Thanks Andreas a lot for sharing the information. Let me explain what got
 from the links you have mentioned above.

 i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in
 address bar. Both link took me to http://www.teamsched.com/docs/info/
 which seems to be a xwiki site based on java classes which must be hosted
 on some webserver(can you name the webserver which you used for this). Now
 i click the hyperlink getting started given on this site which takes me to
 another web application  i.e http://shept.org/docs/Shept/(which is again
 some java application hosted on another instance of webserver ). Is that
 correct? If yes i  also need to do same kind of stuff. Thanks.


 On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote:


 Hi mohit,

 I think I have done something similar a while ago.
 Look at http://www.teamsched.com.

 The explanatory stuff is hosted on an xwiki that is identified by the
 http://www.teamsched.com/docs
 part of the url.
 The real application based on shept.org (spring, hibernate, e.t.c.)
 (when you press 'Gettings started')
 http://www.teamsched.com/app

 It works more or less seamless yet the level of integration of both apps
 is a little shaky.
 There are no user accounts handed over from one to the other app.
 That should be possible but I hesitated to invest the necessary effort to
 figure it out.
 If that's what you are looking for I'll try to provide details.

 good luck

 Andreas



 Am 02.12.2011 11:31, schrieb mohit gupta:


 i have my banking webapplication on tomcat. i want to host my application
 help on xwiki which will sit on another server(probably
 xwiki will be having its on app server). Basically what i have to do is i
 want to provide a link on my banking application on click of which
 i want to take it to wiki help(help shoud not ask any credentialsat
 http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHomehttp://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome
 )
  though it should ask for credential if i hit my xwiki URL directly.i am
 not getting how to start it?i have gone thru xwiki devguide but could
 not get much out of it. It would be great if somebody can give me heads
 up
 how can i can i start it at high level, it would be a great help.
 As xwiki site states many tools to download like
 manager,enterprise,platform. which tool one i shoud start with and what
 should be the starting point
 in that?
 i want to give the users to modify the wiki page on the basis of roles in
 my banking application. So my application and xwiki has to interact a
 lot.
 looking for how we can proceed for this. My application is using struts
 2.

 Another question i have is once i dowload xwiki enterprsise, should i
 host
 in seperate tomcat or downloaded xwiki application will have its own
 webserver.

 Its really urgent for me. Looking for quick reply

 Thanks in advance
 Mohit GUpta

 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users



  __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users




 ___
 users mailing list
 users@xwiki.org
 

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-11 Thread Vincent Massol

On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:

 Thanks all for sharing the information. I started working on the xwiki
 project.
 
 I downloaded the war file xwiki-enterprise-web-3.2 and started  working on
 that. I have got some questions/issues  while working
 on this. These are:-
 
 1) Is it possible to  get the source code of xwiki java files so that if
 want have some understanding/or modification as per my
requirements i can go ahead?

See 
http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources
(I've updated the page with more information)

Thanks
-Vincent

 2) As i said earlier too, i want my customer authentication. So i explored
 the downloaded war file and found there is a property
   xwiki.authentication.authclass inside xwiki.cfg file against which file
 name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
   is written. So i can provide my own customer class say
 MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
   my question is in which library it should be packed with and what are
 interfaces/parent class it should extend how i can find
   it out?
 
 it would be a great help if you some one can brief about each point?
 
 
 On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote:
 
 
 Thanks Andreas a lot for sharing the information. Let me explain what got
 from the links you have mentioned above.
 
 i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in
 address bar. Both link took me to http://www.teamsched.com/docs/info/
 which seems to be a xwiki site based on java classes which must be hosted
 on some webserver(can you name the webserver which you used for this). Now
 i click the hyperlink getting started given on this site which takes me to
 another web application  i.e http://shept.org/docs/Shept/(which is again
 some java application hosted on another instance of webserver ). Is that
 correct? If yes i  also need to do same kind of stuff. Thanks.
 
 
 On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote:
 
 
 Hi mohit,
 
 I think I have done something similar a while ago.
 Look at http://www.teamsched.com.
 
 The explanatory stuff is hosted on an xwiki that is identified by the
 http://www.teamsched.com/docs
 part of the url.
 The real application based on shept.org (spring, hibernate, e.t.c.)
 (when you press 'Gettings started')
 http://www.teamsched.com/app
 
 It works more or less seamless yet the level of integration of both apps
 is a little shaky.
 There are no user accounts handed over from one to the other app.
 That should be possible but I hesitated to invest the necessary effort to
 figure it out.
 If that's what you are looking for I'll try to provide details.
 
 good luck
 
 Andreas
 
 
 
 Am 02.12.2011 11:31, schrieb mohit gupta:
 
 
 i have my banking webapplication on tomcat. i want to host my application
 help on xwiki which will sit on another server(probably
 xwiki will be having its on app server). Basically what i have to do is i
 want to provide a link on my banking application on click of which
 i want to take it to wiki help(help shoud not ask any credentialsat
 http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHomehttp://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome
 )
 though it should ask for credential if i hit my xwiki URL directly.i am
 not getting how to start it?i have gone thru xwiki devguide but could
 not get much out of it. It would be great if somebody can give me heads
 up
 how can i can i start it at high level, it would be a great help.
 As xwiki site states many tools to download like
 manager,enterprise,platform. which tool one i shoud start with and what
 should be the starting point
 in that?
 i want to give the users to modify the wiki page on the basis of roles in
 my banking application. So my application and xwiki has to interact a
 lot.
 looking for how we can proceed for this. My application is using struts
 2.
 
 Another question i have is once i dowload xwiki enterprsise, should i
 host
 in seperate tomcat or downloaded xwiki application will have its own
 webserver.
 
 Its really urgent for me. Looking for quick reply
 
 Thanks in advance
 Mohit GUpta
 
 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users
 
 
 
 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://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] Integration of my webapplication with xwiki.

2011-12-10 Thread mohit gupta
Thanks all for sharing the information. I started working on the xwiki
project.

I downloaded the war file xwiki-enterprise-web-3.2 and started  working on
that. I have got some questions/issues  while working
on this. These are:-

1) Is it possible to  get the source code of xwiki java files so that if
want have some understanding/or modification as per my
requirements i can go ahead?

2) As i said earlier too, i want my customer authentication. So i explored
the downloaded war file and found there is a property
   xwiki.authentication.authclass inside xwiki.cfg file against which file
name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
   is written. So i can provide my own customer class say
MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
   my question is in which library it should be packed with and what are
interfaces/parent class it should extend how i can find
   it out?

it would be a great help if you some one can brief about each point?


On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote:


 Thanks Andreas a lot for sharing the information. Let me explain what got
 from the links you have mentioned above.

 i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in
 address bar. Both link took me to http://www.teamsched.com/docs/info/
 which seems to be a xwiki site based on java classes which must be hosted
 on some webserver(can you name the webserver which you used for this). Now
 i click the hyperlink getting started given on this site which takes me to
 another web application  i.e http://shept.org/docs/Shept/(which is again
 some java application hosted on another instance of webserver ). Is that
 correct? If yes i  also need to do same kind of stuff. Thanks.


 On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote:


 Hi mohit,

 I think I have done something similar a while ago.
 Look at http://www.teamsched.com.

 The explanatory stuff is hosted on an xwiki that is identified by the
 http://www.teamsched.com/docs
 part of the url.
 The real application based on shept.org (spring, hibernate, e.t.c.)
 (when you press 'Gettings started')
 http://www.teamsched.com/app

 It works more or less seamless yet the level of integration of both apps
 is a little shaky.
 There are no user accounts handed over from one to the other app.
 That should be possible but I hesitated to invest the necessary effort to
 figure it out.
 If that's what you are looking for I'll try to provide details.

 good luck

 Andreas



 Am 02.12.2011 11:31, schrieb mohit gupta:


 i have my banking webapplication on tomcat. i want to host my application
 help on xwiki which will sit on another server(probably
 xwiki will be having its on app server). Basically what i have to do is i
 want to provide a link on my banking application on click of which
 i want to take it to wiki help(help shoud not ask any credentialsat
 http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHomehttp://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome
 )
  though it should ask for credential if i hit my xwiki URL directly.i am
 not getting how to start it?i have gone thru xwiki devguide but could
 not get much out of it. It would be great if somebody can give me heads
 up
 how can i can i start it at high level, it would be a great help.
 As xwiki site states many tools to download like
 manager,enterprise,platform. which tool one i shoud start with and what
 should be the starting point
 in that?
 i want to give the users to modify the wiki page on the basis of roles in
 my banking application. So my application and xwiki has to interact a
 lot.
 looking for how we can proceed for this. My application is using struts
 2.

 Another question i have is once i dowload xwiki enterprsise, should i
 host
 in seperate tomcat or downloaded xwiki application will have its own
 webserver.

 Its really urgent for me. Looking for quick reply

 Thanks in advance
 Mohit GUpta

 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users



  __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-02 Thread Edo Beutler
Hi Mohit

I am not sure I completely understand what your intention is. But as I
understand it, two solutions come to mind:
1. If it is an intranet application in an organisation you could think
about using LDAP and SSO (xwiki external), which would not exactly
match your example, but can remove the need to login separately.
2. A virtual wiki environment (would probably be used also for 1.)
with all the users on the main wiki. And the xwiki internal SSO
activated. So you could create your two applications in separate
virtual wikis and logging in to one would also log you in to the other
application.

Hope this helps
Edo

On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta motgu...@gmail.com wrote:
 i have my banking webapplication on tomcat. i want to host my application
 help on xwiki which will sit on another server(probably
 xwiki will be having its on app server). Basically what i have to do is i
 want to provide a link on my banking application on click of which
 i want to take it to wiki help(help shoud not ask any credentialsat
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
  though it should ask for credential if i hit my xwiki URL directly.i am
 not getting how to start it?i have gone thru xwiki devguide but could
 not get much out of it. It would be great if somebody can give me heads up
 how can i can i start it at high level, it would be a great help.
 As xwiki site states many tools to download like
 manager,enterprise,platform. which tool one i shoud start with and what
 should be the starting point
 in that?
 i want to give the users to modify the wiki page on the basis of roles in
 my banking application. So my application and xwiki has to interact a lot.
 looking for how we can proceed for this. My application is using struts 2.

 Another question i have is once i dowload xwiki enterprsise, should i host
 in seperate tomcat or downloaded xwiki application will have its own
 webserver.

 Its really urgent for me. Looking for quick reply

 Thanks in advance
 Mohit GUpta
 ___
 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] Integration of my webapplication with xwiki.

2011-12-02 Thread mohit gupta
Thanks Edo for quick reply. its not an intranet application. Let me
explain what my intention is

i have a full fledged banking web application (say App1) developed in
java using struts 2 hosted on tomcat. Now i am planning to develop a
different web application  (App2) help content for my App1. For this i
downloaded xwiki enterprise. Looks like xwiki is hosted on jetty
webserver. Right?  Now i want to introduce a hyperlink on some jsp
page on App1 which will take me to my xwiki help application i.e
App2.I am assuming right now App2 will ask me some user credentials
i.e username and password. Right? so what i want to to do here is when
i click on hyperlink it should take me to some servlet lying in App2
with some userid . Then with this user id App2(i.e xwiki application)
again talks to some servlet lying on App1(i.e my banking application)
which checks whether user exist in database or not . if yes it gives
green signal to servlet in xwiki application(App2) and it shows the
home page of wiki help otherwise throw some exception.

Above is the crux of work what i am planning to do.


What i want to know

What are xwiki modules and tools i need to download?
Which xwiki  java classes and servlets i need to explore so that i can
proceed in right direction?
how my banking webapplication and newly developed xwiki application
will interact each other?
Can i host xwiki application on tomcat instead of jetty webserver
which seeems to be default server where xwiki application will be
hosted?
How will i get the source code of xwiki application?
which specific developer guide/'topic i need to go thru in detail .
Though i went thru developer guide on xwiki site but could not get
much out of it.

I am in urgent need of this so that i can start upon at
earliest.Thanks in Advance.


On 12/2/11, Edo Beutler ebeut...@synventis.com wrote:
 Hi Mohit

 I am not sure I completely understand what your intention is. But as I
 understand it, two solutions come to mind:
 1. If it is an intranet application in an organisation you could think
 about using LDAP and SSO (xwiki external), which would not exactly
 match your example, but can remove the need to login separately.
 2. A virtual wiki environment (would probably be used also for 1.)
 with all the users on the main wiki. And the xwiki internal SSO
 activated. So you could create your two applications in separate
 virtual wikis and logging in to one would also log you in to the other
 application.

 Hope this helps
 Edo

 On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta motgu...@gmail.com wrote:
 i have my banking webapplication on tomcat. i want to host my application
 help on xwiki which will sit on another server(probably
 xwiki will be having its on app server). Basically what i have to do is i
 want to provide a link on my banking application on click of which
 i want to take it to wiki help(help shoud not ask any credentialsat
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
  though it should ask for credential if i hit my xwiki URL directly.i am
 not getting how to start it?i have gone thru xwiki devguide but could
 not get much out of it. It would be great if somebody can give me heads up
 how can i can i start it at high level, it would be a great help.
 As xwiki site states many tools to download like
 manager,enterprise,platform. which tool one i shoud start with and what
 should be the starting point
 in that?
 i want to give the users to modify the wiki page on the basis of roles in
 my banking application. So my application and xwiki has to interact a lot.
 looking for how we can proceed for this. My application is using struts 2.

 Another question i have is once i dowload xwiki enterprsise, should i host
 in seperate tomcat or downloaded xwiki application will have its own
 webserver.

 Its really urgent for me. Looking for quick reply

 Thanks in advance
 Mohit GUpta
 ___
 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] Integration of my webapplication with xwiki.

2011-12-02 Thread Guillaume Lerouge
Hi Mohit,

if XWiki is on a internal network, you don't really need to protect it
(unless the help contains sensitive information). You can simply let
unregistered users access the wiki and you will not have any login problem.

Regarding the right packages to download, you'd be better off with the WAR
+ XAR distribution (the last 2 links):
http://enterprise.xwiki.org/xwiki/bin/view/Main/Download

You should also follow the installation instructions (Jetty is not really
meant for use in production):
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation

Good luck!

Guillaume

On Fri, Dec 2, 2011 at 4:53 PM, mohit gupta motgu...@gmail.com wrote:

 Thanks Edo for quick reply. its not an intranet application. Let me
 explain what my intention is

 i have a full fledged banking web application (say App1) developed in
 java using struts 2 hosted on tomcat. Now i am planning to develop a
 different web application  (App2) help content for my App1. For this i
 downloaded xwiki enterprise. Looks like xwiki is hosted on jetty
 webserver. Right?  Now i want to introduce a hyperlink on some jsp
 page on App1 which will take me to my xwiki help application i.e
 App2.I am assuming right now App2 will ask me some user credentials
 i.e username and password. Right? so what i want to to do here is when
 i click on hyperlink it should take me to some servlet lying in App2
 with some userid . Then with this user id App2(i.e xwiki application)
 again talks to some servlet lying on App1(i.e my banking application)
 which checks whether user exist in database or not . if yes it gives
 green signal to servlet in xwiki application(App2) and it shows the
 home page of wiki help otherwise throw some exception.

 Above is the crux of work what i am planning to do.


 What i want to know

 What are xwiki modules and tools i need to download?
 Which xwiki  java classes and servlets i need to explore so that i can
 proceed in right direction?
 how my banking webapplication and newly developed xwiki application
 will interact each other?
 Can i host xwiki application on tomcat instead of jetty webserver
 which seeems to be default server where xwiki application will be
 hosted?
 How will i get the source code of xwiki application?
 which specific developer guide/'topic i need to go thru in detail .
 Though i went thru developer guide on xwiki site but could not get
 much out of it.

 I am in urgent need of this so that i can start upon at
 earliest.Thanks in Advance.


 On 12/2/11, Edo Beutler ebeut...@synventis.com wrote:
  Hi Mohit
 
  I am not sure I completely understand what your intention is. But as I
  understand it, two solutions come to mind:
  1. If it is an intranet application in an organisation you could think
  about using LDAP and SSO (xwiki external), which would not exactly
  match your example, but can remove the need to login separately.
  2. A virtual wiki environment (would probably be used also for 1.)
  with all the users on the main wiki. And the xwiki internal SSO
  activated. So you could create your two applications in separate
  virtual wikis and logging in to one would also log you in to the other
  application.
 
  Hope this helps
  Edo
 
  On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta motgu...@gmail.com wrote:
  i have my banking webapplication on tomcat. i want to host my
 application
  help on xwiki which will sit on another server(probably
  xwiki will be having its on app server). Basically what i have to do is
 i
  want to provide a link on my banking application on click of which
  i want to take it to wiki help(help shoud not ask any credentialsat
  http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
   though it should ask for credential if i hit my xwiki URL directly.i am
  not getting how to start it?i have gone thru xwiki devguide but could
  not get much out of it. It would be great if somebody can give me heads
 up
  how can i can i start it at high level, it would be a great help.
  As xwiki site states many tools to download like
  manager,enterprise,platform. which tool one i shoud start with and what
  should be the starting point
  in that?
  i want to give the users to modify the wiki page on the basis of roles
 in
  my banking application. So my application and xwiki has to interact a
 lot.
  looking for how we can proceed for this. My application is using struts
 2.
 
  Another question i have is once i dowload xwiki enterprsise, should i
 host
  in seperate tomcat or downloaded xwiki application will have its own
  webserver.
 
  Its really urgent for me. Looking for quick reply
 
  Thanks in advance
  Mohit GUpta
  ___
  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
 

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-02 Thread Edo Beutler
Hi Mohit

I think I understood now what you try to do. So App 1 is not an XWiki,
and only App 2 is XWiki. In that case I think you will have to write
your own authenticator. Since I never had the need to do that I can't
tell you how, just point you to the XWiki documentation on
authentication. There you can find also a chapter on custom
authentications.
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication

I hope you can find what you need there
Edo

On Fri, Dec 2, 2011 at 4:53 PM, mohit gupta motgu...@gmail.com wrote:
 Thanks Edo for quick reply. its not an intranet application. Let me
 explain what my intention is

 i have a full fledged banking web application (say App1) developed in
 java using struts 2 hosted on tomcat. Now i am planning to develop a
 different web application  (App2) help content for my App1. For this i
 downloaded xwiki enterprise. Looks like xwiki is hosted on jetty
 webserver. Right?  Now i want to introduce a hyperlink on some jsp
 page on App1 which will take me to my xwiki help application i.e
 App2.I am assuming right now App2 will ask me some user credentials
 i.e username and password. Right? so what i want to to do here is when
 i click on hyperlink it should take me to some servlet lying in App2
 with some userid . Then with this user id App2(i.e xwiki application)
 again talks to some servlet lying on App1(i.e my banking application)
 which checks whether user exist in database or not . if yes it gives
 green signal to servlet in xwiki application(App2) and it shows the
 home page of wiki help otherwise throw some exception.

 Above is the crux of work what i am planning to do.


 What i want to know

 What are xwiki modules and tools i need to download?
 Which xwiki  java classes and servlets i need to explore so that i can
 proceed in right direction?
 how my banking webapplication and newly developed xwiki application
 will interact each other?
 Can i host xwiki application on tomcat instead of jetty webserver
 which seeems to be default server where xwiki application will be
 hosted?
 How will i get the source code of xwiki application?
 which specific developer guide/'topic i need to go thru in detail .
 Though i went thru developer guide on xwiki site but could not get
 much out of it.

 I am in urgent need of this so that i can start upon at
 earliest.Thanks in Advance.


 On 12/2/11, Edo Beutler ebeut...@synventis.com wrote:
 Hi Mohit

 I am not sure I completely understand what your intention is. But as I
 understand it, two solutions come to mind:
 1. If it is an intranet application in an organisation you could think
 about using LDAP and SSO (xwiki external), which would not exactly
 match your example, but can remove the need to login separately.
 2. A virtual wiki environment (would probably be used also for 1.)
 with all the users on the main wiki. And the xwiki internal SSO
 activated. So you could create your two applications in separate
 virtual wikis and logging in to one would also log you in to the other
 application.

 Hope this helps
 Edo

 On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta motgu...@gmail.com wrote:
 i have my banking webapplication on tomcat. i want to host my application
 help on xwiki which will sit on another server(probably
 xwiki will be having its on app server). Basically what i have to do is i
 want to provide a link on my banking application on click of which
 i want to take it to wiki help(help shoud not ask any credentialsat
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
  though it should ask for credential if i hit my xwiki URL directly.i am
 not getting how to start it?i have gone thru xwiki devguide but could
 not get much out of it. It would be great if somebody can give me heads up
 how can i can i start it at high level, it would be a great help.
 As xwiki site states many tools to download like
 manager,enterprise,platform. which tool one i shoud start with and what
 should be the starting point
 in that?
 i want to give the users to modify the wiki page on the basis of roles in
 my banking application. So my application and xwiki has to interact a lot.
 looking for how we can proceed for this. My application is using struts 2.

 Another question i have is once i dowload xwiki enterprsise, should i host
 in seperate tomcat or downloaded xwiki application will have its own
 webserver.

 Its really urgent for me. Looking for quick reply

 Thanks in advance
 Mohit GUpta
 ___
 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-02 Thread mohit gupta
Thanks Edo. I am going thru the link you have given. In the meanwhile
Can you just point me what are xwiki  tools/modules i have to download
to make my xwiki application as explained in below mail. Along with
how i will get java source code with of downloaded xwiki module so
that i can make change in them.

can i host downloaded xwiki module with tomcat instance and
relational database.Thanks.

On 12/2/11, Edo Beutler ebeut...@synventis.com wrote:
 Hi Mohit

 I think I understood now what you try to do. So App 1 is not an XWiki,
 and only App 2 is XWiki. In that case I think you will have to write
 your own authenticator. Since I never had the need to do that I can't
 tell you how, just point you to the XWiki documentation on
 authentication. There you can find also a chapter on custom
 authentications.
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication

 I hope you can find what you need there
 Edo

 On Fri, Dec 2, 2011 at 4:53 PM, mohit gupta motgu...@gmail.com wrote:
 Thanks Edo for quick reply. its not an intranet application. Let me
 explain what my intention is

 i have a full fledged banking web application (say App1) developed in
 java using struts 2 hosted on tomcat. Now i am planning to develop a
 different web application  (App2) help content for my App1. For this i
 downloaded xwiki enterprise. Looks like xwiki is hosted on jetty
 webserver. Right?  Now i want to introduce a hyperlink on some jsp
 page on App1 which will take me to my xwiki help application i.e
 App2.I am assuming right now App2 will ask me some user credentials
 i.e username and password. Right? so what i want to to do here is when
 i click on hyperlink it should take me to some servlet lying in App2
 with some userid . Then with this user id App2(i.e xwiki application)
 again talks to some servlet lying on App1(i.e my banking application)
 which checks whether user exist in database or not . if yes it gives
 green signal to servlet in xwiki application(App2) and it shows the
 home page of wiki help otherwise throw some exception.

 Above is the crux of work what i am planning to do.


 What i want to know

 What are xwiki modules and tools i need to download?
 Which xwiki  java classes and servlets i need to explore so that i can
 proceed in right direction?
 how my banking webapplication and newly developed xwiki application
 will interact each other?
 Can i host xwiki application on tomcat instead of jetty webserver
 which seeems to be default server where xwiki application will be
 hosted?
 How will i get the source code of xwiki application?
 which specific developer guide/'topic i need to go thru in detail .
 Though i went thru developer guide on xwiki site but could not get
 much out of it.

 I am in urgent need of this so that i can start upon at
 earliest.Thanks in Advance.


 On 12/2/11, Edo Beutler ebeut...@synventis.com wrote:
 Hi Mohit

 I am not sure I completely understand what your intention is. But as I
 understand it, two solutions come to mind:
 1. If it is an intranet application in an organisation you could think
 about using LDAP and SSO (xwiki external), which would not exactly
 match your example, but can remove the need to login separately.
 2. A virtual wiki environment (would probably be used also for 1.)
 with all the users on the main wiki. And the xwiki internal SSO
 activated. So you could create your two applications in separate
 virtual wikis and logging in to one would also log you in to the other
 application.

 Hope this helps
 Edo

 On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta motgu...@gmail.com wrote:
 i have my banking webapplication on tomcat. i want to host my
 application
 help on xwiki which will sit on another server(probably
 xwiki will be having its on app server). Basically what i have to do is
 i
 want to provide a link on my banking application on click of which
 i want to take it to wiki help(help shoud not ask any credentialsat
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
  though it should ask for credential if i hit my xwiki URL directly.i am
 not getting how to start it?i have gone thru xwiki devguide but could
 not get much out of it. It would be great if somebody can give me heads
 up
 how can i can i start it at high level, it would be a great help.
 As xwiki site states many tools to download like
 manager,enterprise,platform. which tool one i shoud start with and what
 should be the starting point
 in that?
 i want to give the users to modify the wiki page on the basis of roles
 in
 my banking application. So my application and xwiki has to interact a
 lot.
 looking for how we can proceed for this. My application is using struts
 2.

 Another question i have is once i dowload xwiki enterprsise, should i
 host
 in seperate tomcat or downloaded xwiki application will have its own
 webserver.

 Its really urgent for me. Looking for quick reply

 Thanks in advance
 Mohit GUpta
 ___
 users mailing 

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-02 Thread mohit gupta
Thanks Andreas a lot for sharing the information. Let me explain what got
from the links you have mentioned above.

i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in
address bar. Both link took me to http://www.teamsched.com/docs/info/
which seems to be a xwiki site based on java classes which must be hosted
on some webserver(can you name the webserver which you used for this). Now
i click the hyperlink getting started given on this site which takes me to
another web application  i.e http://shept.org/docs/Shept/(which is again
some java application hosted on another instance of webserver ). Is that
correct? If yes i  also need to do same kind of stuff. Thanks.

On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote:

 Hi mohit,

 I think I have done something similar a while ago.
 Look at http://www.teamsched.com.

 The explanatory stuff is hosted on an xwiki that is identified by the
 http://www.teamsched.com/docs
 part of the url.
 The real application based on shept.org (spring, hibernate, e.t.c.) (when
 you press 'Gettings started')
 http://www.teamsched.com/app

 It works more or less seamless yet the level of integration of both apps
 is a little shaky.
 There are no user accounts handed over from one to the other app.
 That should be possible but I hesitated to invest the necessary effort to
 figure it out.
 If that's what you are looking for I'll try to provide details.

 good luck

 Andreas



 Am 02.12.2011 11:31, schrieb mohit gupta:

 i have my banking webapplication on tomcat. i want to host my application
 help on xwiki which will sit on another server(probably
 xwiki will be having its on app server). Basically what i have to do is i
 want to provide a link on my banking application on click of which
 i want to take it to wiki help(help shoud not ask any credentialsat
 http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHomehttp://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome
 )
  though it should ask for credential if i hit my xwiki URL directly.i am
 not getting how to start it?i have gone thru xwiki devguide but could
 not get much out of it. It would be great if somebody can give me heads up
 how can i can i start it at high level, it would be a great help.
 As xwiki site states many tools to download like
 manager,enterprise,platform. which tool one i shoud start with and what
 should be the starting point
 in that?
 i want to give the users to modify the wiki page on the basis of roles in
 my banking application. So my application and xwiki has to interact a lot.
 looking for how we can proceed for this. My application is using struts 2.

 Another question i have is once i dowload xwiki enterprsise, should i host
 in seperate tomcat or downloaded xwiki application will have its own
 webserver.

 Its really urgent for me. Looking for quick reply

 Thanks in advance
 Mohit GUpta
 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users