• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

NAS 2.x API

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody tell me where I can find API for nas2.x and especially for com.netscape.server.nas package ?
Thanks
VC
 
Author
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are you trying to do? If you have a copy of NAS 2.1, you should already have the docs, right?
Or are you trying to migrate an old 2.1 application, and are trying to find a way to port the API's? (You can't just copy the JAR files, since they hook deep into the internals of the appserver.)
Anyway, the old NAS 2.1 (aka Kiva) API has remained largely unchanged. You can look here : Kiva API, in the iAS docs if you need an API reference. I just wouldn't recommend spending a lot of time with these API's since they are completely deprecated.
David
 
venkata chandra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks very much David
Am looking for BaseLogic class.
We have iAS6.x now(so no 2.x docs) but we have login modules designed probably with 4.x or 2.x api using BaseLogic and BaseResource. Am not sure how they(the baselogic and baseresouce) work and wanted to get idea of 'em. I tried to extend our login module to Applogic instead of BaseLogic(by commenting out its constructor which is passing some default values) and it didntn work(I guess Applogic is a child of BaseLogic but I thought it might be easier dealing with Applogic). Porting it to iAS6.x esp the session is proving to be a real hassle.
I couldnt find about them in the link provided. Am I missing them . Any further help to locate the com.netscape.server.nas package and more details on Baselogic and Baseresource with respect to creation of sessions will be helpful.
All this started with trying to setSessionVisibility which does not work any way I try. saveSession of Applogic(according to docs) does not take any params but BaseLogic does. I dont have api to look for differences and converting them to enable migration.
VC
 
David Ogren
Author
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, I'm not sure that those superclasses were ever documented. So you may be out of luck. I'm not exactly sure what you are trying to do with setSessionVisibility, but I'd make sure that I had my J2EE deployment descriptors are set as well. It's possible that the J2EE security of 6.x is overriding the settings of these 2.x APIs.
What might be useful to you, however, is the iPlanet Migration Toolkit. (Or whatever we are calling it today.) You will have to get it from your local Sun ONE SE, but it should make porting your application a snap. It does some code conversion, and it also has some runtime libraries that support the Kiva functionality.
David
 
venkata chandra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks David. I am looking out for more info on nas2.x and will get back to you on this if I find anything or if I get struck.
Thanks
Raj
reply
    Bookmark Topic Watch Topic
  • New Topic