public class KMarketAccessControl extends Object
Constructor and Description |
---|
KMarketAccessControl() |
Modifier and Type | Method and Description |
---|---|
static int |
calculateTotal(String productName,
int amount) |
static String |
createXACMLRequest(String userName,
String resource,
int amount,
int totalAmount) |
static Element |
getXacmlResponse(String response)
Creates DOM representation of the XACML request
|
static void |
main(String[] args) |
static void |
printDescription() |
public static void main(String[] args)
public static int calculateTotal(String productName, int amount)
public static Element getXacmlResponse(String response)
response
- XACML request as a String objectpublic static void printDescription()
Copyright © 2022 WSO2. All rights reserved.