Examples of appendIdentity()


Examples of gov.nist.scap.xccdf.document.ResultBuilder.appendIdentity()

    resultBuilder.setTestSystem(applicationProperties.getApplicationName()
        + " " + applicationProperties.getBuildVersion());

    // TODO: P5: find a way to populate the privileged and authenticated values correctly
    resultBuilder.appendIdentity(System.getProperty("user.name"), false, true);

    appendTargetAndFacts(resultBuilder);

    // TODO: P2: investigate if included values should be limited to evaluated rules or all rules
    // Currently using evaluated rules
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.