public interface SelfAuthorizer
Commands with complicated authorization requirements will implement this interface, in addition to the AdminCommand interface.
void authorize(Subject s, Map<String,Object> env)
Note that the command framework will have injected parameter values into fields annotated with @Param before invoking this method, so the logic in isAuthorized can use those parameters in making its decision.
ctx - the AdminCommandContext for the current command executionCopyright © 2013. All Rights Reserved.