Re: NetInfo Tutorial / Cocoa / Java
Re: NetInfo Tutorial / Cocoa / Java
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