Class CreateXACML

  • All Implemented Interfaces:
    CLICommand

    public class CreateXACML
    extends AuthenticatedCommand
    Converts access policies read from XACML XML into Entitlement Framework Privileges and then imports these into the specified realm.
    • Constructor Detail

      • CreateXACML

        public CreateXACML()
    • Method Detail

      • handleRequest

        public void handleRequest​(RequestContext rc)
                           throws CLIException
        Services the command line request to import XACML. Required Arguments: realm - Defines the realm the Policies will be imported into. xmlfile - References the XACML file from which the Policies should be read. Optional Arguments: dryrun - Optional flag indicates that, rather than carrying out the import, a report of anticipated affects should be generated. outfile - Optional reference to a file for dryrun report to be written, if not provided the dryrun report is written directly to stdout.
        Specified by:
        handleRequest in interface CLICommand
        Overrides:
        handleRequest in class AuthenticatedCommand
        Parameters:
        rc - Request Context.
        Throws:
        CLIException - if the request cannot serviced.