# The contents of this file are subject to the terms
#  of the Common Development and Distribution License
# (the License). You may not use this file except in
# compliance with the License.
#
# You can obtain a copy of the License at
# https://opensso.dev.java.net/public/CDDLv1.0.html or
# opensso/legal/CDDLv1.0.txt
# See the License for the specific language governing
# permission and limitations under the License.
#
# When distributing Covered Code, include this CDDL
# Header Notice in each file and include the License file
# at opensso/legal/CDDLv1.0.txt.
# If applicable, add the following below the CDDL Header,
# with the fields enclosed by brackets [] replaced by
# your own identifying information:
# "Portions Copyrighted [year] [name of copyright owner]"
#
#  $Id: CreateAuthInstanceTest.properties,v 1.5 2008/08/12 00:18:57 cmwesley Exp $
# 
# Copyright 2007 Sun Microsystems Inc. All Rights Reserved
#

# success-message - the message returned when an authentication instance is 
#         created successfully.  
# verbose-sucess-message - the message returned when an authentication instance
#         is created successfull with the verbose option.  
# usage - the usage of the "ssoadm create-auth-instance" command.
# invalid-usage-message - the message which is displayed when a usage error 
#         occurs.  The MessageFormat class should be used to replace {0} with 
#         the list of arguments used.

success-message=Authentication Instance was created.
verbose-success-message=Constructing Request Context...;Validating mandatory options...;Processing Sub Command ...;Executing class, com.sun.identity.cli.realm.RealmAddAttributeValues.;Authenticating...;Authenticated.;Authentication Instance is created.
usage=ssoadm create-auth-instance --options [--global-options];    Create authentication instance;Usage:;ssoadm create-auth-instance;    --realm|-e;    --name|-m;    --authtype|-t;    --adminid|-u;    --password-file|-f;Global Options:;    --locale, -l;        Name of the locale to display the results. ;    --debug, -d;        Run in debug mode. Results sent to the debug file.;    --verbose, -V;        Run in verbose mode. Results sent to standard output.;Options:;    --realm, -e;        Name of realm.;    --name, -m;        Name of authentication instance.;    --authtype, -t;        Type of authentication instance e.g. LDAP, Datastore.;    --adminid, -u;        Administrator ID of running the command.;    --password-file, -f;        File name that contains password of administrator.
invalid-usage-message=Incorrect option(s), {0}.

#
# Property definitions.
#
# description - the purpose of the test case.
# create-setup-realms - a realm or realms that should be created before the 
#         test is executed.  If multiple realms are created the realms should 
#         be separated by a semi-colon (;) and should be in heirarchical order
#         (i.e. /realm1;/realm1/realm2;/realm1/realm2/realm3).
# use-verbose-option - a binary property indicating whether the verbose option
#         should be used.
# use-debug-option - a binary property indicating whether the debug option 
#         should be used.
# use-long-options - a binary property indicating whether the long form of 
#         the options (e.g. "--realm") instead of the short form ("-e")
# message-to-find - one or more strings that should be present in the output
#         (for a test where expected-exit-code equals 0) or the error (for a 
#         test where expected-exit-code does not equal 0).  Multiple strings
#         should be separated by a semi-colon (";").
# create-auth-instance-realm - the realm in which the attribute(s) will be 
#         added.
# create-auth-instance-name - the name of the authentication instance.
# create-auth-instance-authtype - the type of the authentication instance to 
#         be created (e.g. LDAP, NT, Membership, Anonymous, etc.).
# expected-exit-code - the expected exit status for CLI command being issued.
#         Successful commands should return "0" and failed commands should 
#         return a non-zero value.

createauthinstance-test1-description=Create an LDAP authentication instance using long options.
createauthinstance-test1-create-setup-realms=/createauthinstancerealm1
createauthinstance-test1-use-verbose-option=false
createauthinstance-test1-use-debug-option=false
createauthinstance-test1-use-long-options=true
createauthinstance-test1-message-to-find=
createauthinstance-test1-create-auth-instance-realm=/createauthinstancerealm1
createauthinstance-test1-create-auth-instance-name=LDAPinstance
createauthinstance-test1-create-auth-instance-authtype=LDAP
createauthinstance-test1-expected-exit-code=0

createauthinstance-test2-description=Create an LDAP authentication instance using short options.
createauthinstance-test2-create-setup-realms=/createauthinstancerealm2
createauthinstance-test2-use-verbose-option=false
createauthinstance-test2-use-debug-option=false
createauthinstance-test2-use-long-options=false
createauthinstance-test2-message-to-find=
createauthinstance-test2-create-auth-instance-realm=/createauthinstancerealm2
createauthinstance-test2-create-auth-instance-name=LDAPinstance
createauthinstance-test2-create-auth-instance-authtype=LDAP
createauthinstance-test2-expected-exit-code=0

createauthinstance-test3-description=Create an Active Directory authentication instance using long options.
createauthinstance-test3-create-setup-realms=/createauthinstancerealm3
createauthinstance-test3-use-verbose-option=false
createauthinstance-test3-use-debug-option=false
createauthinstance-test3-use-long-options=true
createauthinstance-test3-message-to-find=
createauthinstance-test3-create-auth-instance-realm=/createauthinstancerealm3
createauthinstance-test3-create-auth-instance-name=ADinstance
createauthinstance-test3-create-auth-instance-authtype=AD
createauthinstance-test3-expected-exit-code=0

createauthinstance-test4-description=Create an Active Directory authentication instance using short options.
createauthinstance-test4-create-setup-realms=/createauthinstancerealm4
createauthinstance-test4-use-verbose-option=false
createauthinstance-test4-use-debug-option=false
createauthinstance-test4-use-long-options=false
createauthinstance-test4-message-to-find=
createauthinstance-test4-create-auth-instance-realm=/createauthinstancerealm4
createauthinstance-test4-create-auth-instance-name=ADinstance
createauthinstance-test4-create-auth-instance-authtype=AD
createauthinstance-test4-expected-exit-code=0

createauthinstance-test5-description=Create an Anonymous authentication instance using long options.
createauthinstance-test5-create-setup-realms=/createauthinstancerealm5
createauthinstance-test5-use-verbose-option=false
createauthinstance-test5-use-debug-option=false
createauthinstance-test5-use-long-options=true
createauthinstance-test5-message-to-find=
createauthinstance-test5-create-auth-instance-realm=/createauthinstancerealm5
createauthinstance-test5-create-auth-instance-name=Anonymousinstance
createauthinstance-test5-create-auth-instance-authtype=Anonymous
createauthinstance-test5-expected-exit-code=0

createauthinstance-test6-description=Create an Anonymous authentication instance using short options.
createauthinstance-test6-create-setup-realms=/createauthinstancerealm6
createauthinstance-test6-use-verbose-option=false
createauthinstance-test6-use-debug-option=false
createauthinstance-test6-use-long-options=false
createauthinstance-test6-message-to-find=
createauthinstance-test6-create-auth-instance-realm=/createauthinstancerealm6
createauthinstance-test6-create-auth-instance-name=Anonymousinstance
createauthinstance-test6-create-auth-instance-authtype=Anonymous
createauthinstance-test6-expected-exit-code=0

createauthinstance-test7-description=Create a Membership authentication instance using long options.
createauthinstance-test7-create-setup-realms=/createauthinstancerealm7
createauthinstance-test7-use-verbose-option=false
createauthinstance-test7-use-debug-option=false
createauthinstance-test7-use-long-options=true
createauthinstance-test7-message-to-find=
createauthinstance-test7-create-auth-instance-realm=/createauthinstancerealm7
createauthinstance-test7-create-auth-instance-name=Membershipinstance
createauthinstance-test7-create-auth-instance-authtype=Membership
createauthinstance-test7-expected-exit-code=0

createauthinstance-test8-description=Create a Membership authentication instance using short options.
createauthinstance-test8-create-setup-realms=/createauthinstancerealm8
createauthinstance-test8-use-verbose-option=false
createauthinstance-test8-use-debug-option=false
createauthinstance-test8-use-long-options=false
createauthinstance-test8-message-to-find=
createauthinstance-test8-create-auth-instance-realm=/createauthinstancerealm8
createauthinstance-test8-create-auth-instance-name=Membershipinstance
createauthinstance-test8-create-auth-instance-authtype=Membership
createauthinstance-test8-expected-exit-code=0

createauthinstance-test9-description=Create a Windows NT authentication instance using long options.
createauthinstance-test9-create-setup-realms=/createauthinstancerealm9
createauthinstance-test9-use-verbose-option=false
createauthinstance-test9-use-debug-option=false
createauthinstance-test9-use-long-options=true
createauthinstance-test9-message-to-find=
createauthinstance-test9-create-auth-instance-realm=/createauthinstancerealm9
createauthinstance-test9-create-auth-instance-name=NTinstance
createauthinstance-test9-create-auth-instance-authtype=NT
createauthinstance-test9-expected-exit-code=0

createauthinstance-test10-description=Create a Windows NT authentication instance using short options.
createauthinstance-test10-create-setup-realms=/createauthinstancerealm10
createauthinstance-test10-use-verbose-option=false
createauthinstance-test10-use-debug-option=false
createauthinstance-test10-use-long-options=false
createauthinstance-test10-message-to-find=
createauthinstance-test10-create-auth-instance-realm=/createauthinstancerealm10
createauthinstance-test10-create-auth-instance-name=NTinstance
createauthinstance-test10-create-auth-instance-authtype=NT
createauthinstance-test10-expected-exit-code=0

createauthinstance-test11-description=Create a JDBC authentication instance using long options.
createauthinstance-test11-create-setup-realms=/createauthinstancerealm11
createauthinstance-test11-use-verbose-option=false
createauthinstance-test11-use-debug-option=false
createauthinstance-test11-use-long-options=true
createauthinstance-test11-message-to-find=
createauthinstance-test11-create-auth-instance-realm=/createauthinstancerealm11
createauthinstance-test11-create-auth-instance-name=JDBCinstance
createauthinstance-test11-create-auth-instance-authtype=JDBC
createauthinstance-test11-expected-exit-code=0

createauthinstance-test12-description=Create a JDBC authentication instance using short options.
createauthinstance-test12-create-setup-realms=/createauthinstancerealm12
createauthinstance-test12-use-verbose-option=false
createauthinstance-test12-use-debug-option=false
createauthinstance-test12-use-long-options=false
createauthinstance-test12-message-to-find=
createauthinstance-test12-create-auth-instance-realm=/createauthinstancerealm12
createauthinstance-test12-create-auth-instance-name=JDBCinstance
createauthinstance-test12-create-auth-instance-authtype=JDBC
createauthinstance-test12-expected-exit-code=0

createauthinstance-test13-description=Create a Certificate authentication instance using long options.
createauthinstance-test13-create-setup-realms=/createauthinstancerealm13
createauthinstance-test13-use-verbose-option=false
createauthinstance-test13-use-debug-option=false
createauthinstance-test13-use-long-options=true
createauthinstance-test13-message-to-find=
createauthinstance-test13-create-auth-instance-realm=/createauthinstancerealm13
createauthinstance-test13-create-auth-instance-name=Certinstance
createauthinstance-test13-create-auth-instance-authtype=Cert
createauthinstance-test13-expected-exit-code=0

createauthinstance-test14-description=Create a Certificate authentication instance using short options.
createauthinstance-test14-create-setup-realms=/createauthinstancerealm14
createauthinstance-test14-use-verbose-option=false
createauthinstance-test14-use-debug-option=false
createauthinstance-test14-use-long-options=false
createauthinstance-test14-message-to-find=
createauthinstance-test14-create-auth-instance-realm=/createauthinstancerealm14
createauthinstance-test14-create-auth-instance-name=Certinstance
createauthinstance-test14-create-auth-instance-authtype=Cert
createauthinstance-test14-expected-exit-code=0

createauthinstance-test15-description=Create a Datastore authentication instance using long options.
createauthinstance-test15-create-setup-realms=/createauthinstancerealm15
createauthinstance-test15-use-verbose-option=false
createauthinstance-test15-use-debug-option=false
createauthinstance-test15-use-long-options=true
createauthinstance-test15-message-to-find=
createauthinstance-test15-create-auth-instance-realm=/createauthinstancerealm15
createauthinstance-test15-create-auth-instance-name=DataStoreinstance
createauthinstance-test15-create-auth-instance-authtype=DataStore
createauthinstance-test15-expected-exit-code=0

createauthinstance-test16-description=Create a Datastore authentication instance using short options.
createauthinstance-test16-create-setup-realms=/createauthinstancerealm16
createauthinstance-test16-use-verbose-option=false
createauthinstance-test16-use-debug-option=false
createauthinstance-test16-use-long-options=false
createauthinstance-test16-message-to-find=
createauthinstance-test16-create-auth-instance-realm=/createauthinstancerealm16
createauthinstance-test16-create-auth-instance-name=DataStoreinstance
createauthinstance-test16-create-auth-instance-authtype=DataStore
createauthinstance-test16-expected-exit-code=0

createauthinstance-test17-description=Create an HTTP Basic authentication instance using long options.
createauthinstance-test17-create-setup-realms=/createauthinstancerealm17
createauthinstance-test17-use-verbose-option=false
createauthinstance-test17-use-debug-option=false
createauthinstance-test17-use-long-options=true
createauthinstance-test17-message-to-find=
createauthinstance-test17-create-auth-instance-realm=/createauthinstancerealm17
createauthinstance-test17-create-auth-instance-name=HTTPBasicinstance
createauthinstance-test17-create-auth-instance-authtype=HTTPBasic
createauthinstance-test17-expected-exit-code=0

createauthinstance-test18-description=Create an HTTP Basic authentication instance using short options.
createauthinstance-test18-create-setup-realms=/createauthinstancerealm18
createauthinstance-test18-use-verbose-option=false
createauthinstance-test18-use-debug-option=false
createauthinstance-test18-use-long-options=false
createauthinstance-test18-message-to-find=
createauthinstance-test18-create-auth-instance-realm=/createauthinstancerealm18
createauthinstance-test18-create-auth-instance-name=HTTPBasicinstance
createauthinstance-test18-create-auth-instance-authtype=HTTPBasic
createauthinstance-test18-expected-exit-code=0

createauthinstance-test19-description=Create an MSISDN authentication instance using long options.
createauthinstance-test19-create-setup-realms=/createauthinstancerealm19
createauthinstance-test19-use-verbose-option=false
createauthinstance-test19-use-debug-option=false
createauthinstance-test19-use-long-options=true
createauthinstance-test19-message-to-find=
createauthinstance-test19-create-auth-instance-realm=/createauthinstancerealm19
createauthinstance-test19-create-auth-instance-name=MSISDNinstance
createauthinstance-test19-create-auth-instance-authtype=MSISDN
createauthinstance-test19-expected-exit-code=0

createauthinstance-test20-description=Create an MSISDN authentication instance using short options.
createauthinstance-test20-create-setup-realms=/createauthinstancerealm20
createauthinstance-test20-use-verbose-option=false
createauthinstance-test20-use-debug-option=false
createauthinstance-test20-use-long-options=false
createauthinstance-test20-message-to-find=
createauthinstance-test20-create-auth-instance-realm=/createauthinstancerealm20
createauthinstance-test20-create-auth-instance-name=MSISDNinstance
createauthinstance-test20-create-auth-instance-authtype=MSISDN
createauthinstance-test20-expected-exit-code=0

createauthinstance-test21-description=Create a WindowsDesktopSSO authentication instance using long options.
createauthinstance-test21-create-setup-realms=/createauthinstancerealm21
createauthinstance-test21-use-verbose-option=false
createauthinstance-test21-use-debug-option=false
createauthinstance-test21-use-long-options=true
createauthinstance-test21-message-to-find=
createauthinstance-test21-create-auth-instance-realm=/createauthinstancerealm21
createauthinstance-test21-create-auth-instance-name=WindowsDesktopSSOinstance
createauthinstance-test21-create-auth-instance-authtype=WindowsDesktopSSO
createauthinstance-test21-expected-exit-code=0

createauthinstance-test22-description=Create a WindowsDesktopSSO authentication instance using short options.
createauthinstance-test22-create-setup-realms=/createauthinstancerealm22
createauthinstance-test22-use-verbose-option=false
createauthinstance-test22-use-debug-option=false
createauthinstance-test22-use-long-options=false
createauthinstance-test22-message-to-find=
createauthinstance-test22-create-auth-instance-realm=/createauthinstancerealm22
createauthinstance-test22-create-auth-instance-name=WindowsDesktopSSOinstance
createauthinstance-test22-create-auth-instance-authtype=WindowsDesktopSSO
createauthinstance-test22-expected-exit-code=0

createauthinstance-test23-description=Create a Federation authentication instance using long options.
createauthinstance-test23-create-setup-realms=/createauthinstancerealm23
createauthinstance-test23-use-verbose-option=false
createauthinstance-test23-use-debug-option=false
createauthinstance-test23-use-long-options=true
createauthinstance-test23-message-to-find=
createauthinstance-test23-create-auth-instance-realm=/createauthinstancerealm23
createauthinstance-test23-create-auth-instance-name=Federationinstance
createauthinstance-test23-create-auth-instance-authtype=Federation
createauthinstance-test23-expected-exit-code=0

createauthinstance-test24-description=Create a Federation authentication instance using short options.
createauthinstance-test24-create-setup-realms=/createauthinstancerealm24
createauthinstance-test24-use-verbose-option=false
createauthinstance-test24-use-debug-option=false
createauthinstance-test24-use-long-options=false
createauthinstance-test24-message-to-find=
createauthinstance-test24-create-auth-instance-realm=/createauthinstancerealm24
createauthinstance-test24-create-auth-instance-name=Federationinstance
createauthinstance-test24-create-auth-instance-authtype=Federation
createauthinstance-test24-expected-exit-code=0

createauthinstance-test25-description=Create an SAE authentication instance using long options.
createauthinstance-test25-create-setup-realms=/createauthinstancerealm25
createauthinstance-test25-use-verbose-option=false
createauthinstance-test25-use-debug-option=false
createauthinstance-test25-use-long-options=true
createauthinstance-test25-message-to-find=
createauthinstance-test25-create-auth-instance-realm=/createauthinstancerealm25
createauthinstance-test25-create-auth-instance-name=SAEinstance
createauthinstance-test25-create-auth-instance-authtype=SAE
createauthinstance-test25-expected-exit-code=0

createauthinstance-test26-description=Create an SAE authentication instance using short options.
createauthinstance-test26-create-setup-realms=/createauthinstancerealm26
createauthinstance-test26-use-verbose-option=false
createauthinstance-test26-use-debug-option=false
createauthinstance-test26-use-long-options=false
createauthinstance-test26-message-to-find=
createauthinstance-test26-create-auth-instance-realm=/createauthinstancerealm26
createauthinstance-test26-create-auth-instance-name=SAEinstance
createauthinstance-test26-create-auth-instance-authtype=SAE
createauthinstance-test26-expected-exit-code=0

createauthinstance-test27-description=Create a RADIUS authentication instance using long options.
createauthinstance-test27-create-setup-realms=/createauthinstancerealm27
createauthinstance-test27-use-verbose-option=false
createauthinstance-test27-use-debug-option=false
createauthinstance-test27-use-long-options=true
createauthinstance-test27-message-to-find=
createauthinstance-test27-create-auth-instance-realm=/createauthinstancerealm27
createauthinstance-test27-create-auth-instance-name=Radiusinstance
createauthinstance-test27-create-auth-instance-authtype=RADIUS
createauthinstance-test27-expected-exit-code=0

createauthinstance-test28-description=Create a RADIUS authentication instance using short options.
createauthinstance-test28-create-setup-realms=/createauthinstancerealm28
createauthinstance-test28-use-verbose-option=false
createauthinstance-test28-use-debug-option=false
createauthinstance-test28-use-long-options=false
createauthinstance-test28-message-to-find=
createauthinstance-test28-create-auth-instance-realm=/createauthinstancerealm28
createauthinstance-test28-create-auth-instance-name=Radiusinstance
createauthinstance-test28-create-auth-instance-authtype=RADIUS
createauthinstance-test28-expected-exit-code=0