Would it be a wise idea to deprecate all the uses of Criteria in 
Security and hence

    BaseSecurityService
    SecurityService
    TurbineSecurity

as well as UserManager

The methods that require a Criteria object include
    getUsers
    getGroups
    getRoles
    getPermissions
    and UserManager.retrieve(Criteria)

Here's my rationale

  1. if someone wants to implement their own SecurityService, having them
  work with Criteria objects may not be possible or relevant (especially
  if they don't even use it for the rest of their peer model)

  2. It looks like a new SQL model will be used in the future that
  will replace Criteria.

  3. Criteria seems to be specific to databases

  4. Internally, Turbine doesn't use any of the above methods so
     all we would need to do is provide an application level support
     tool that provides that functionality (if that is even needed). 


mike


-- 
-------------------------------------------------
I am Vinz, Vinz Clortho.  Keymaster of Gozer,
Volguus Zildrohar, Lord of the Sebouillia.
Are you the Gatekeeper?
-------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to