[
https://issues.apache.org/jira/browse/TRB-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Vandahl closed TRB-40.
-----------------------------
Close after release
> Fulcrum Security-API uses objects where it should provide interfaces
> --------------------------------------------------------------------
>
> Key: TRB-40
> URL: https://issues.apache.org/jira/browse/TRB-40
> Project: Turbine
> Issue Type: Improvement
> Components: Fulcrum
> Affects Versions: Core 4.0
> Reporter: Thomas Vandahl
> Assignee: Thomas Vandahl
> Fix For: Core 4.0
>
>
> The Fulcrum Security-API provides the classes
> - org.apache.fulcrum.security.model.basic.entity.BasicGroup
> - org.apache.fulcrum.security.model.basic.entity.BasicUser
> - org.apache.fulcrum.security.model.dynamic.entity.DynamicGroup
> - org.apache.fulcrum.security.model.dynamic.entity.DynamicPermission
> - org.apache.fulcrum.security.model.dynamic.entity.DynamicRole
> - org.apache.fulcrum.security.model.dynamic.entity.DynamicUser
> - org.apache.fulcrum.security.model.turbine.entity.TurbineGroup
> - org.apache.fulcrum.security.model.turbine.entity.TurbinePermission
> - org.apache.fulcrum.security.model.turbine.entity.TurbineRole
> - org.apache.fulcrum.security.model.turbine.entity.TurbineUser
> - org.apache.fulcrum.security.model.turbine.entity.TurbineUserGroupRole
> The mapping of these classes to new features requires these classes to be
> extended which is not always desirable, sometimes not even possible. However
> the classes are used all over the API and particularly in the unit tests. It
> would be easier to have them as interfaces and provide an additional default
> implementation for the services that use them now.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira