@rem /*
@rem 
@rem Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
@rem 
@rem The contents of this file are subject to the Sun Community Source
@rem License v3.0/Jini Technology Specific Attachment v 1.0 (the
@rem "License"). You may not use this file except in compliance with the
@rem License. You may obtain a copy of the License at
@rem http://wwws.sun.com/software/jini/licensing/SCSL3_JiniTSA1.html.
@rem Software distributed under the License is distributed on an "AS IS"
@rem basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
@rem the License for the specific language governing rights and limitations
@rem under the License.
@rem 
@rem The Reference Code is Jini Technology Core Platform code, v2.0. The
@rem Developer of the Reference Code is Sun Microsystems, Inc.
@rem 
@rem Contributor(s): Sun Microsystems, Inc.
@rem 
@rem The contents of this file comply with the Jini Technology Core
@rem Platform Compatibility Kit, v2.0A.
@rem 
@rem Tester(s): Sun Microsystems, Inc.
@rem 
@rem Test Platform(s):
@rem Java 2 SDK, Standard Edition, Version 1.4.2_03 for Solaris(TM)SPARC/x86
@rem Java 2 SDK, Standard Edition, Version 1.4.2_03 for Linux (Intel x86)
@rem Java 2 SDK, Standard Edition, Version 1.4.2_03 for Windows (Intel Platform)
@rem 
@rem */
@rem Batch file to run Kerberos Phoenix

@rem Get the environment variables setup
call scripts/krb-setenv.bat

java -Djava.security.manager= ^
     -Djava.security.policy=config\krb-phoenix.policy ^
     -Djava.security.auth.login.config=config\krb-phoenix.login ^
     -Djava.protocol.handler.pkgs=net.jini.url ^
     -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider ^
     -Dexport.codebase.source=lib ^
     -Dexport.codebase=httpmd://%computername%:8080/phoenix-dl.jar;sha=0 ^
     -DclientPrincipal=%CLIENT%@%REALM% ^
     -DserverPrincipal=%SERVER%@%REALM% ^
     -DphoenixPrincipal=%PHOENIX%@%REALM% ^
     -DreggiePrincipal=%REGGIE%@%REALM% ^
     -Djava.security.krb5.realm=%REALM% ^
     -Djava.security.krb5.kdc=%KDC_HOST% ^
     -classpath lib\phoenix.jar;lib\mdprefld.jar ^
     com.sun.jini.phoenix.Activation ^
     config\krb-phoenix.config
