<Step icon="Start" name="Start"> <Transition to="Illegal Request Handler"> <Script> <Source> String APP_NAME = "Active_Directory"; boolean result = false;
// POC - Check submitted request for illegal // criteria (account names, entitlement values). // AccountRequest ar = plan.getAccountRequest(APP_NAME); if (null != ar) { System.out.println("...found account request for: " + APP_NAME); String accountId = ar.getNativeIdentity();
// POC - Look for "_FC" suffix on account name if (accountId.endsWith("_FC")) { System.out.println("..found illegal account in request: " + accountId); result = true; } }
return result;
</Source> </Script> </Transition> <Transition to="Initialize"/> </Step>
|