org.apache.jetspeed.security.impl
Class GeneralizationHierarchyResolver
java.lang.Object
org.apache.jetspeed.security.impl.BaseHierarchyResolver
org.apache.jetspeed.security.impl.GeneralizationHierarchyResolver
- All Implemented Interfaces:
- org.apache.jetspeed.security.HierarchyResolver
public class GeneralizationHierarchyResolver
- extends BaseHierarchyResolver
- implements org.apache.jetspeed.security.HierarchyResolver
Implementation for "is a" hierarchy. For Example: if a user has the role
[roleA.roleB.roleC] than
user.getSubject().getPrincipals()
returns:
- /role/roleA
- /role/roleA/roleB
- /role/roleA/roleB/roleC
- Version:
- $Id: GeneralizationHierarchyResolver.java,v 1.2 2004/09/18 19:33:58
dlestrat Exp $
- Author:
- Artem Grinshtein
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 |
GeneralizationHierarchyResolver
public GeneralizationHierarchyResolver()
resolve
public String[] resolve(Preferences prefs)
- Specified by:
resolve
in interface org.apache.jetspeed.security.HierarchyResolver
- See Also:
HierarchyResolver.resolve(Preferences)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.