• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NetInfo Tutorial / Cocoa / Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NetInfo Tutorial / Cocoa / Java


  • Subject: Re: NetInfo Tutorial / Cocoa / Java
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 27 May 2001 11:24:52 +0200

Thanks for your feedback.

I don't know the functionality of NIInterface in Objective C. But when it comes to Java you can only authenticate a user (no host/application informations available) and you don't have the possibility to store and retrieve your own values in the directory.

The Security Framework is better, but does not provide a real solution. I think, I should describe a little more detailed what for I need the Information from the directory:

We're building database frontends for general access to tables (user access) and administration tasks (administrator access). Both functionalities are in one application and every user with access to the application should be able to start the program and access the user functionality.

When it comes to administrative tasks the application should test wether the user has the needed access rights or not. So NetInfo should be a perfect way to do this. I have some experience with other directory services (ADS, NDS). There it is no problem to do so. According to the NetInfo Documentation it is also possible in Objective C to do so. But I have no Idea what Interface to use in Java to access the directory service. The Security Framework is not enough. It's an element to start with. But this is only a "unix-like" solution. You don't need a directory service to authenticate a user. And I think, if Apple is providing one, why not use the advantages?

Thomas.


Am Sonntag, 27. Mai 2001 um 11:07 schrieb Finlay Dobbie:


On Sunday, May 27, 2001, at 09:55 am, email@hidden wrote:

Does anybody know if there is a high-level cocoa wrapper to access netinfo via java/cocoa?

NIInterface.framework is private and therefore not really very usable. That might be what you're looking for, though.

I'm trying to build an application based authentication system. In my understanding of NetInfo as Directory Service it should be possible to authenticate a user/host/application-combination. But how can I access these Informations using Java?

There's also Security.framework, which might be what you're looking for. There's an article about it on Stepwise at http://www.stepwise.com/Articles/Technical/2001-03-26.01.html . I'm currently trying to wrap it up into a nice Obj-C class. It's all C API calls, so you'll need to use the java bridge if you want to call it from within your Java app.

-- Finlay


References: 
 >Re: NetInfo Tutorial / Cocoa / Java (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: NetInfo Tutorial / Cocoa / Java
  • Next by Date: Two questions
  • Previous by thread: Re: NetInfo Tutorial / Cocoa / Java
  • Next by thread: Two questions
  • Index(es):
    • Date
    • Thread