run-policy-evaluation-sample.bat revision 386650a8957e131311273ee84a4a4113ad5e3fe2
03919b7845e461f72fa5d954b8124d27481c46b0JazzyNico@echo off
03919b7845e461f72fa5d954b8124d27481c46b0JazzyNico:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: The contents of this file are subject to the terms
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: of the Common Development and Distribution License
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: (the License). You may not use this file except in
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: compliance with the License.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: You can obtain a copy of the License at
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: https://opensso.dev.java.net/public/CDDLv1.0.html or
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: opensso/legal/CDDLv1.0.txt
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: See the License for the specific language governing
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: permission and limitations under the License.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: When distributing Covered Code, include this CDDL
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: Header Notice in each file and include the License file
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: at opensso/legal/CDDLv1.0.txt.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: If applicable, add the following below the CDDL Header,
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: with the fields enclosed by brackets [] replaced by
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: your own identifying information:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: "Portions Copyrighted [year] [name of copyright owner]"
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: $Id: run-policy-evaluation-sample.bat,v 1.4 2008/08/19 19:11:24 veiming Exp $
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: Portions Copyrighted 2013 ForgeRock, Inc.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: ------------------------------------------------------------------------------
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: README file for OpenSSO stand alone client sdk
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: policy evaluation sample
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: ------------------------------------------------------------------------------
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free: Runs the client policy evaluation sample
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free:
: Requires one parameter: the name of the resource file that defines
: property values used by the sample
: Default is policyEvaluationSamples
: The corresponding file that would be read from classpath
: is policyEvaluationSample.properites
: from classpath.
: A default template is included
: at ../resources/policyEvaluationSample.properties
: See the template for more information on the properties
: Please update it to match your deployment
: You have to create user and policy at the server to get right policy decision
: see ../resources/policyEvaluationSample.properties for more information
:
: Requires ../resources/AMConfig.properties
:
: Must run "setup.sh" once to configure the client to find the OpenSSO server.
:
: Then, run this script
java -classpath resources;lib/openam-clientsdk-${project.version}.jar;lib/servlet-api-2.5.jar;lib/openam-example-clientsdk-cli-${project.version}.jar samples.policy.PolicyEvaluationSample policyEvaluationSample