[
https://issues.apache.org/jira/browse/FC-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569107#comment-14569107
]
Shawn McKinney commented on FC-109:
-----------------------------------
Here is the RoleUtil class that gets called back:
public final class RoleUtil implements ParentUtil
{
...
/**
* Traverse the hierarchical role graph and return all of the parents
(direct ascendants) of a given role.
*
* @param roleName maps to logical {@link
org.apache.directory.fortress.core.model.Role#name} on 'ftRls' object class.
* @param contextId maps to sub-tree in DIT, for example ou=contextId,
dc=jts, dc = com.
* @return Set of Role names that are parents of given child.
*/
public Set<String> getParentsCB( String roleName, String contextId )
{
return HierUtil.getParents( roleName.toUpperCase(), getGraph( contextId
) );
}
> break core package cycles
> -------------------------
>
> Key: FC-109
> URL: https://issues.apache.org/jira/browse/FC-109
> Project: FORTRESS
> Issue Type: Sub-task
> Affects Versions: 1.0.0-RC41
> Reporter: Shawn McKinney
> Fix For: 1.0.0
>
>
> remove the package cycles from the core by moving the entities into a
> separate package named 'model'.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)