Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Ira Adams   on Oct 09 In Java Category.

  
Question Answered By: Olivia Campbell   on Oct 09

I am not sure this is the answer to your question.

Consider you have an abstract class User.

User type 1 with whatever privileges and rights is a child of user  and
encapsulates all
its privileges and rights, and of course at run time  you can query the objects
about its
privileges and rights and allow them to do whatever .

User type 2 with whatever privileges and rights is a child of User and
encapsulates all
its privileges and rights, and ……

You mentioned optimum.
My question is optimum for what, memory use, speed, maintainability, scalability
?

What I suggested would give X number  of user types ( predefined, compile time ),
even
though you may have n number of people ( will vary, run time ) doing their
stuff.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on web application security Or get search suggestion and latest updates.


Tagged: