Package org.mycore.access.mcrimpl
Class MCRAccessCtrlCommands
java.lang.Object
org.mycore.frontend.cli.MCRAbstractCommands
org.mycore.access.mcrimpl.MCRAccessCtrlCommands
- All Implemented Interfaces:
MCRExternalCommandInterface
@MCRCommandGroup(name="Access Control Commands")
public class MCRAccessCtrlCommands
extends MCRAbstractCommands
This class provides a set of commands for the org.mycore.access package which
can be used by the command line interface. (creates sql tables, run queries
- Author:
- Arne Seifert
-
Field Summary
Fields inherited from class org.mycore.frontend.cli.MCRAbstractCommands
command
-
Constructor Summary
-
Method Summary
Methods inherited from class org.mycore.frontend.cli.MCRAbstractCommands
addCommand, getDisplayName, getPossibleCommands, setDisplayName
-
Field Details
-
logger
-
-
Constructor Details
-
MCRAccessCtrlCommands
public MCRAccessCtrlCommands()
-
-
Method Details
-
validate
@MCRCommand(syntax="validate objectid {0} in pool {1}", help="Validates access for given object and given permission", order=10) public static void validate(String objid, String permission) validates access for given object and given permission- Parameters:
objid
- internal database ruleidpermission
- the access permission for the rule
-