org.apache.jetspeed.security.impl
Class GeneralizationHierarchyResolver

java.lang.Object
  extended by org.apache.jetspeed.security.impl.BaseHierarchyResolver
      extended by org.apache.jetspeed.security.impl.GeneralizationHierarchyResolver
All Implemented Interfaces:
HierarchyResolver

public class GeneralizationHierarchyResolver
extends BaseHierarchyResolver
implements HierarchyResolver

Implementation for "is a" hierarchy. For Example: if a user has the role [roleA.roleB.roleC] than

user.getSubject().getPrincipals() returns:

Version:
$Id: GeneralizationHierarchyResolver.java,v 1.2 2004/09/18 19:33:58 dlestrat Exp $
Author:
Artem Grinshtein

Constructor Summary
GeneralizationHierarchyResolver()
           
 
Method Summary
 java.lang.String[] resolve(java.util.prefs.Preferences prefs)
           Returns absolute path names of the hierarchy roles/groups.
 
Methods inherited from class org.apache.jetspeed.security.impl.BaseHierarchyResolver
processPreferences, resolveChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.security.HierarchyResolver
resolveChildren
 

Constructor Detail

GeneralizationHierarchyResolver

public GeneralizationHierarchyResolver()
Method Detail

resolve

public java.lang.String[] resolve(java.util.prefs.Preferences prefs)
Description copied from interface: HierarchyResolver

Returns absolute path names of the hierarchy roles/groups.

Specified by:
resolve in interface HierarchyResolver
Parameters:
prefs - Preferences for the role/group
Returns:
Returns absolute path names of the dependcy roles/groups.
See Also:
HierarchyResolver.resolve(Preferences)


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.