Package com.sun.identity.cli.entitlement
Class CreateXACML
- java.lang.Object
-
- com.sun.identity.cli.CLICommandBase
-
- com.sun.identity.cli.AuthenticatedCommand
-
- com.sun.identity.cli.entitlement.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.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.cli.AuthenticatedCommand
ssoToken
-
-
Constructor Summary
Constructors Constructor Description CreateXACML()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(RequestContext rc)Services the command line request to import XACML.-
Methods inherited from class com.sun.identity.cli.AuthenticatedCommand
getAdminID, getAdminPassword, getAdminSSOToken, ldapLogin, processFileAttributes, writeLog
-
Methods inherited from class com.sun.identity.cli.CLICommandBase
debugError, debugError, debugMessage, debugWarning, getCommandManager, getOutputWriter, getResourceString, getStringOptionValue, getStringOptionValue, isOptionSet, isVerbose, tokenize
-
-
-
-
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:
handleRequestin interfaceCLICommand- Overrides:
handleRequestin classAuthenticatedCommand- Parameters:
rc- Request Context.- Throws:
CLIException- if the request cannot serviced.
-
-