• Post Reply Bookmark Topic Watch Topic
  • New Topic

Security Manager  RSS feed

 
Suat Ugurlu
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I use a custom security manager in my application.
I have rewrited all chechXXX methods in the customs security manager.
My problem is this:
I can determine which class made a certain call, for example
fire read or file write. But what I want to know is which object did
this certain call rather that its class.
Because I have several objects in memory from the same class and I want
to be able to define different policies to each of these object.
For example one object should write the hosts disk while the other cant.

Is there a way of doing this?

Regards,Suat.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did that when every object reloaded security manager with own permissions. I am not sure that this appeoach is thread friendly though.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!