|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.schemedit.config.AbstractConfigReader
org.dlese.dpc.schemedit.security.access.AccessManager
public class AccessManager
NOT YET DOCUMENTED
| Field Summary |
|---|
| Fields inherited from class org.dlese.dpc.schemedit.config.AbstractConfigReader |
|---|
df, docMap, nameSpaceInfo, rootElementName, source, writeOnDestroy |
| Constructor Summary | |
|---|---|
AccessManager(File source,
List actionMappings)
Constructor for the AccessManager object |
|
| Method Summary | |
|---|---|
void |
addGuardedPath(GuardedPath gp)
Adds a feature to the GuardedPath attribute of the AccessManager object |
void |
alignActionsToGuardedPaths()
NOT YET DOCUMENTED |
void |
deleteGuardedPath(GuardedPath gp)
NOT YET DOCUMENTED |
void |
flush()
Update DocMap with recent ActionPath and GuardedPaths, and then write it to disk. |
ActionPath |
getActionPath(String path)
Gets the actionPath attribute of the AccessManager object |
List |
getActionPaths()
Gets the actionPaths attribute of the AccessManager object |
GuardedPath |
getGuardedPath(String path)
Gets the guardedPath attribute of the AccessManager object |
List |
getGuardedPaths()
Gets the guardedPaths attribute of the AccessManager object |
static AccessManager |
getInstance()
Gets the instance attribute of the AccessManager class, but only if AccessManager has already been instantiated. |
static AccessManager |
getInstance(File source,
List actionMappings)
Return a singleton instance of the AccessManager class. |
Roles.Role |
getRoleForPath(String path)
Gets the roleForPath attribute of the AccessManager object |
Collection |
getRoles()
Gets the roles attribute of the AccessManager object |
Collection |
getRoles(Roles.Role maxRole)
Gets the roles attribute of the AccessManager object |
static void |
main(String[] args)
The main program for the AccessManager class |
GuardedPath |
matchGuardedPath(String path)
NOT YET DOCUMENTED |
protected static void |
prtln(String s)
NOT YET DOCUMENTED |
| Methods inherited from class org.dlese.dpc.schemedit.config.AbstractConfigReader |
|---|
destroy, getDelocalizedDoc, getDocMap, getDocument, getNode, getNodes, getNodeText, getSource, getSourcePath, refresh, setNodeText, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessManager(File source,
List actionMappings)
throws Exception
source - NOT YET DOCUMENTEDactionMappings - NOT YET DOCUMENTED
Exception - NOT YET DOCUMENTED| Method Detail |
|---|
public static AccessManager getInstance()
public static AccessManager getInstance(File source,
List actionMappings)
source - NOT YET DOCUMENTEDactionMappings - NOT YET DOCUMENTED
public Collection getRoles()
public Collection getRoles(Roles.Role maxRole)
maxRole - NOT YET DOCUMENTED
public ActionPath getActionPath(String path)
path - NOT YET DOCUMENTED
public GuardedPath getGuardedPath(String path)
path - NOT YET DOCUMENTED
public List getActionPaths()
public List getGuardedPaths()
public void addGuardedPath(GuardedPath gp)
gp - The feature to be added to the GuardedPath attributepublic void deleteGuardedPath(GuardedPath gp)
gp - NOT YET DOCUMENTEDpublic void alignActionsToGuardedPaths()
public void flush()
throws Exception
flush in class AbstractConfigReaderException - NOT YET DOCUMENTED
public static void main(String[] args)
throws Exception
args - The command line arguments
Exception - NOT YET DOCUMENTEDpublic Roles.Role getRoleForPath(String path)
path - NOT YET DOCUMENTED
public GuardedPath matchGuardedPath(String path)
path - NOT YET DOCUMENTED
protected static void prtln(String s)
s - NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||