# 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: ListIdentitiesTest.properties,v 1.8 2009/01/20 14:20:53 cmwesley Exp $
# 
# Copyright 2007 Sun Microsystems Inc. All Rights Reserved
#

success-message=Search of Identities of type {1} in realm, {0} succeeded.
verbose-success-message=Constructing Request Context...;Validating mandatory options...;Processing Sub Command ...;Executing class, com.sun.identity.cli.idrepo.SearchIdentities.;Authenticating...;Authenticated.;Search of Identities of type {1} in realm, {0} succeeded.
usage=ssoadm list-identities --options [--global-options];    List identities in a realm;Usage:;ssoadm list-identities;    --realm|-e;    --filter|-x;    --idtype|-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.;    --filter, -x;        Filter (Pattern).;    --idtype, -t;        Type of Identity such as User, Role and Group.;    --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}.

listidentities-test1-description=List a user identity when other identities have the same identity name using long options.
listidentities-test1-create-setup-realms=/engineering
listidentities-test1-create-setup-identities=/engineering,qa,User,"givenname=qa";"cn=qa";"sn=qa";"userpassword=mysecret";"mail=qa@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/engineering,qa,Group
listidentities-test1-use-verbose-option=false
listidentities-test1-use-debug-option=false
listidentities-test1-use-long-options=true
listidentities-test1-search-realm=/engineering
listidentities-test1-search-filter=*
listidentities-test1-search-idtype=User
listidentities-test1-search-ids-to-find=qa
listidentities-test1-message-to-find=
listidentities-test1-expected-exit-code=0

listidentities-test2-description=List user identities using a alphanumeric wildcard match, the verbose option, and long options.
listidentities-test2-create-setup-realms=/newrealm2
listidentities-test2-create-setup-identities=/newrealm2,user01,User,"givenname=user01";"cn=user01";"sn=user01";"userpassword=mysecret";"mail=user01@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/newrealm2,user02,User,"givenname=user02";"cn=user02";"sn=user02";"userpassword=mysecret";"mail=user02@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/newrealm2,user11,User,"givenname=user11";"cn=user11";"sn=user11";"userpassword=mysecret";"mail=user11@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/newrealm2,user12,User,"givenname=user12";"cn=user12";"sn=user12";"userpassword=mysecret";"mail=user12@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"
listidentities-test2-use-verbose-option=true
listidentities-test2-use-debug-option=false
listidentities-test2-use-long-options=true
listidentities-test2-search-realm=/newrealm2
listidentities-test2-search-filter=user0*
listidentities-test2-search-idtype=User
listidentities-test2-search-ids-to-find=user01;user02
listidentities-test2-message-to-find=
listidentities-test2-expected-exit-code=0

listidentities-test3-description=List user identities using single match filter, the verbose option, and long options.
listidentities-test3-create-setup-realms=/newrealm3
listidentities-test3-create-setup-identities=/newrealm3,user01,User,"givenname=user01";"cn=user01";"sn=user01";"userpassword=mysecret";"mail=user01@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/newrealm3,user02,User,"givenname=user02";"cn=user02";"sn=user02";"userpassword=mysecret";"mail=user02@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/newrealm3,user11,User,"givenname=user11";"cn=user11";"sn=user11";"userpassword=mysecret";"mail=user11@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/newrealm3,user12,User,"givenname=user12";"cn=user12";"sn=user12";"userpassword=mysecret";"mail=user12@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"
listidentities-test3-use-verbose-option=true
listidentities-test3-use-debug-option=true
listidentities-test3-use-long-options=true
listidentities-test3-search-realm=/newrealm3
listidentities-test3-search-filter=user12
listidentities-test3-search-idtype=User
listidentities-test3-search-ids-to-find=user12
listidentities-test3-message-to-find=
listidentities-test3-expected-exit-code=0

listidentities-test4-description=List user identities using a 240 character realm, the debug option, and long options.
listidentities-test4-create-setup-realms=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test4-create-setup-identities=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,newuser1,User,"cn=newuser1";"sn=newuser1";"userpassword=mysecret";"inetuserstatus=Active"|/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,newuser2,User,"cn=newuser2";"sn=newuser2";"userpassword=mysecret";"inetuserstatus=Active"
listidentities-test4-use-verbose-option=false
listidentities-test4-use-debug-option=true
listidentities-test4-use-long-options=true
listidentities-test4-search-realm=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test4-search-filter=new*1
listidentities-test4-search-idtype=User
listidentities-test4-search-ids-to-find=newuser1
listidentities-test4-message-to-find=
listidentities-test4-expected-exit-code=0

listidentities-test5-description=List user identities using a 240 character filter and short options.
listidentities-test5-create-setup-realms=/z
listidentities-test5-create-setup-identities=/z,a240characteridentityname678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,User,"cn=a240charid";"sn=a240charid";"userpassword=mysecret";"inetuserstatus=Active"|/z,b240characteridentityname678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,User,"cn=b240charid";"sn=b240charid";"userpassword=mysecret";"inetuserstatus=Active"
listidentities-test5-use-verbose-option=false
listidentities-test5-use-debug-option=false
listidentities-test5-use-long-options=false
listidentities-test5-search-realm=/z
listidentities-test5-search-filter=a240characteridentityname678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test5-search-idtype=User
listidentities-test5-search-ids-to-find=a240characteridentityname678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test5-message-to-find=
listidentities-test5-expected-exit-code=0

listidentities-test6-description=List user identities using a 240 character filter, a 240 character realm, the verbose option, and short options.
listidentities-test6-create-setup-realms=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test6-create-setup-identities=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,a240characteridentityname678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,User,"cn=a240charid";"sn=a240charid";"userpassword=mysecret";"inetuserstatus=Active"|/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,b240characteridentityname678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,User,"cn=b240charid";"sn=b240charid";"userpassword=mysecret";"inetuserstatus=Active"
listidentities-test6-use-verbose-option=true
listidentities-test6-use-debug-option=false
listidentities-test6-use-long-options=false
listidentities-test6-search-realm=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test6-search-filter=b240characteridentityname678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test6-search-idtype=User
listidentities-test6-search-ids-to-find=b240characteridentityname678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test6-message-to-find=
listidentities-test6-expected-exit-code=0

listidentities-test7-description=List user identities using a single character filter, the debug option, and short options.
listidentities-test7-create-setup-realms=/newrealm7
listidentities-test7-create-setup-identities=/newrealm7,a,User,"givenname=a";"cn=a";"sn=a";"userpassword=mysecret";"mail=a@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/newrealm7,aa,User,"givenname=aa";"cn=aa";"sn=aa";"userpassword=mysecret";"mail=aa@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/newrealm7,aaa,User,"givenname=aaa";"cn=aaa";"sn=aaa";"userpassword=mysecret";"mail=aaa@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"
listidentities-test7-use-verbose-option=false
listidentities-test7-use-debug-option=true
listidentities-test7-use-long-options=false
listidentities-test7-search-realm=/newrealm7
listidentities-test7-search-filter=a
listidentities-test7-search-idtype=User
listidentities-test7-search-ids-to-find=a
listidentities-test7-message-to-find=
listidentities-test7-expected-exit-code=0

listidentities-test8-description=List user identities using a single character filter, a single character realm, the verbose option, the debug option, and short options.
listidentities-test8-create-setup-realms=/h
listidentities-test8-create-setup-identities=/h,c,User,"givenname=c";"cn=c";"sn=c";"userpassword=mysecret";"mail=c@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/h,d,User,"givenname=d";"cn=d";"sn=d";"userpassword=mysecret";"mail=d@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/h,e,User,"givenname=e";"cn=e";"sn=e";"userpassword=mysecret";"mail=e@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"
listidentities-test8-use-verbose-option=true
listidentities-test8-use-debug-option=true
listidentities-test8-use-long-options=false
listidentities-test8-search-realm=/h
listidentities-test8-search-filter=e
listidentities-test8-search-idtype=User
listidentities-test8-search-ids-to-find=e
listidentities-test8-message-to-find=
listidentities-test8-expected-exit-code=0

listidentities-test9-description=List user identities where no identities match the filter.
listidentities-test9-create-setup-realms=/realm1;/realm1/realm2
listidentities-test9-create-setup-identities=/realm1,secuser1,User,"givenname=secuser1";"cn=secuser1";"sn=secuser1";"userpassword=mysecret";"mail=secuser1@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/realm1,secuser11,User,"givenname=secuser11";"cn=secuser11";"sn=secuser11";"userpassword=mysecret";"mail=secuser11@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/realm1/realm2,secuser2,User,"givenname=secuser2";"cn=secuser2";"sn=secuser2";"userpassword=mysecret";"mail=secuser2@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"
listidentities-test9-use-verbose-option=false
listidentities-test9-use-debug-option=false
listidentities-test9-use-long-options=true
listidentities-test9-search-realm=/realm1/realm2
listidentities-test9-search-filter=accuser*
listidentities-test9-search-idtype=User
listidentities-test9-search-ids-to-find=
listidentities-test9-message-to-find=There were no entries.;Search of Identities of type {1} in realm, {0} succeeded.
listidentities-test9-expected-exit-code=0

listidentities-test10-description=List a group identity when other identities have the same identity name using long options.
listidentities-test10-create-setup-realms=/engineering
listidentities-test10-create-setup-identities=/engineering,qa,User,"givenname=qa";"cn=qa";"sn=qa";"userpassword=mysecret";"mail=qa@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/engineering,qa,Group
listidentities-test10-use-verbose-option=false
listidentities-test10-use-debug-option=false
listidentities-test10-use-long-options=true
listidentities-test10-search-realm=/engineering
listidentities-test10-search-filter=*
listidentities-test10-search-idtype=Group
listidentities-test10-search-ids-to-find=qa
listidentities-test10-message-to-find=
listidentities-test10-expected-exit-code=0

listidentities-test11-description=List group identities using a alphanumeric wildcard match, the verbose option, and long options.
listidentities-test11-create-setup-realms=/newrealm11
listidentities-test11-create-setup-identities=/newrealm11,group01,Group|/newrealm11,group02,Group|/newrealm11,group11,Group|/newrealm11,group12,Group
listidentities-test11-use-verbose-option=true
listidentities-test11-use-debug-option=false
listidentities-test11-use-long-options=true
listidentities-test11-search-realm=/newrealm11
listidentities-test11-search-filter=group0*
listidentities-test11-search-idtype=Group
listidentities-test11-search-ids-to-find=group01;group02
listidentities-test11-message-to-find=
listidentities-test11-expected-exit-code=0

listidentities-test12-description=List group identities using single match filter, the verbose option, and long options.
listidentities-test12-create-setup-realms=/newrealm12
listidentities-test12-create-setup-identities=/newrealm12,group01,Group|/newrealm12,group02,Group|/newrealm12,group11,Group|/newrealm12,group12,Group
listidentities-test12-use-verbose-option=true
listidentities-test12-use-debug-option=true
listidentities-test12-use-long-options=true
listidentities-test12-search-realm=/newrealm12
listidentities-test12-search-filter=group12
listidentities-test12-search-idtype=Group
listidentities-test12-search-ids-to-find=group12
listidentities-test12-message-to-find=
listidentities-test12-expected-exit-code=0

listidentities-test13-description=List group identities using a 240 character realm, the debug option, and long options.
listidentities-test13-create-setup-realms=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test13-create-setup-identities=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,newgroup1,Group|/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,newgroup2,Group
listidentities-test13-use-verbose-option=false
listidentities-test13-use-debug-option=true
listidentities-test13-use-long-options=true
listidentities-test13-search-realm=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test13-search-filter=new*1
listidentities-test13-search-idtype=Group
listidentities-test13-search-ids-to-find=newgroup1
listidentities-test13-message-to-find=
listidentities-test13-expected-exit-code=0

listidentities-test14-description=List group identities using a 240 character filter and short options.
listidentities-test14-create-setup-realms=/z
listidentities-test14-create-setup-identities=/z,a240charactergroupname345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,Group|/z,b240charactergroupname345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,Group
listidentities-test14-use-verbose-option=false
listidentities-test14-use-debug-option=false
listidentities-test14-use-long-options=false
listidentities-test14-search-realm=/z
listidentities-test14-search-filter=a240charactergroupname345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test14-search-idtype=Group
listidentities-test14-search-ids-to-find=a240charactergroupname345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test14-message-to-find=
listidentities-test14-expected-exit-code=0

listidentities-test15-description=List group identities using a 240 character filter, a 240 character realm, the verbose option, and short options.
listidentities-test15-create-setup-realms=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test15-create-setup-identities=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,a240charactergroupname345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,Group|/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,b240charactergroupname345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,Group
listidentities-test15-use-verbose-option=true
listidentities-test15-use-debug-option=false
listidentities-test15-use-long-options=false
listidentities-test15-search-realm=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test15-search-filter=b240charactergroupname345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test15-search-idtype=Group
listidentities-test15-search-ids-to-find=b240charactergroupname345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test15-message-to-find=
listidentities-test15-expected-exit-code=0

listidentities-test16-description=List group identities using a single character filter, the debug option, and short options.
listidentities-test16-create-setup-realms=/newrealm16
listidentities-test16-create-setup-identities=/newrealm16,a,Group|/newrealm16,aa,Group|/newrealm16,aaa,Group
listidentities-test16-use-verbose-option=false
listidentities-test16-use-debug-option=true
listidentities-test16-use-long-options=false
listidentities-test16-search-realm=/newrealm16
listidentities-test16-search-filter=a
listidentities-test16-search-idtype=Group
listidentities-test16-search-ids-to-find=a
listidentities-test16-message-to-find=
listidentities-test16-expected-exit-code=0

listidentities-test17-description=List group identities using a single character filter, a single character realm, the verbose option, the debug option, and short options.
listidentities-test17-create-setup-realms=/h
listidentities-test17-create-setup-identities=/h,c,Group|/h,d,Group|/h,e,Group
listidentities-test17-use-verbose-option=true
listidentities-test17-use-debug-option=true
listidentities-test17-use-long-options=false
listidentities-test17-search-realm=/h
listidentities-test17-search-filter=e
listidentities-test17-search-idtype=Group
listidentities-test17-search-ids-to-find=e
listidentities-test17-message-to-find=
listidentities-test17-expected-exit-code=0

listidentities-test18-description=List group identities where no identities match the filter.
listidentities-test18-create-setup-realms=/realm1;/realm1/realm2
listidentities-test18-create-setup-identities=/realm1,secgroup1,Group|/realm1,secgroup11,Group|/realm1/realm2,secgroup2,Group
listidentities-test18-use-verbose-option=false
listidentities-test18-use-debug-option=false
listidentities-test18-use-long-options=true
listidentities-test18-search-realm=/realm1/realm2
listidentities-test18-search-filter=accgroup*
listidentities-test18-search-idtype=Group
listidentities-test18-search-ids-to-find=
listidentities-test18-message-to-find=There were no entries.;Search of Identities of type {1} in realm, {0} succeeded.
listidentities-test18-expected-exit-code=0

listidentities-test19-description=List a role identity when other identities have the same identity name using long options.
listidentities-test19-create-setup-realms=/engineering
listidentities-test19-create-setup-identities=/engineering,qa,User,"givenname=qa";"cn=qa";"sn=qa";"userpassword=mysecret";"mail=qa@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/engineering,qa,Group|/engineering,qa,Role
listidentities-test19-use-verbose-option=false
listidentities-test19-use-debug-option=false
listidentities-test19-use-long-options=true
listidentities-test19-search-realm=/engineering
listidentities-test19-search-filter=*
listidentities-test19-search-idtype=Role
listidentities-test19-search-ids-to-find=qa
listidentities-test19-message-to-find=
listidentities-test19-expected-exit-code=0

listidentities-test20-description=List role identities using a alphanumeric wildcard match, the verbose option, and long options.
listidentities-test20-create-setup-realms=/newrealm20
listidentities-test20-create-setup-identities=/newrealm20,role01,Role|/newrealm20,role02,Role|/newrealm20,role11,Role|/newrealm20,role12,Role
listidentities-test20-use-verbose-option=true
listidentities-test20-use-debug-option=false
listidentities-test20-use-long-options=true
listidentities-test20-search-realm=/newrealm20
listidentities-test20-search-filter=role0*
listidentities-test20-search-idtype=Role
listidentities-test20-search-ids-to-find=role01;role02
listidentities-test20-message-to-find=
listidentities-test20-expected-exit-code=0

listidentities-test21-description=List role identities using single match filter, the verbose option, and long options.
listidentities-test21-create-setup-realms=/newrealm21
listidentities-test21-create-setup-identities=/newrealm21,role01,Role|/newrealm21,role02,Role|/newrealm21,role11,Role|/newrealm21,role12,Role
listidentities-test21-use-verbose-option=true
listidentities-test21-use-debug-option=true
listidentities-test21-use-long-options=true
listidentities-test21-search-realm=/newrealm21
listidentities-test21-search-filter=role12
listidentities-test21-search-idtype=Role
listidentities-test21-search-ids-to-find=role12
listidentities-test21-message-to-find=
listidentities-test21-expected-exit-code=0

listidentities-test22-description=List role identities using a 240 character realm, the debug option, and long options.
listidentities-test22-create-setup-realms=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test22-create-setup-identities=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,newrole1,Role|/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,newrole2,Role
listidentities-test22-use-verbose-option=false
listidentities-test22-use-debug-option=true
listidentities-test22-use-long-options=true
listidentities-test22-search-realm=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test22-search-filter=new*1
listidentities-test22-search-idtype=Role
listidentities-test22-search-ids-to-find=newrole1
listidentities-test22-message-to-find=
listidentities-test22-expected-exit-code=0

listidentities-test23-description=List role identities using a 240 character filter and short options.
listidentities-test23-create-setup-realms=/z
listidentities-test23-create-setup-identities=/z,a240characterrolename2345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,Role|/z,b240characterrolename2345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,Role
listidentities-test23-use-verbose-option=false
listidentities-test23-use-debug-option=false
listidentities-test23-use-long-options=false
listidentities-test23-search-realm=/z
listidentities-test23-search-filter=a240characterrolename2345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test23-search-idtype=Role
listidentities-test23-search-ids-to-find=a240characterrolename2345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test23-message-to-find=
listidentities-test23-expected-exit-code=0

listidentities-test24-description=List role identities using a 240 character filter, a 240 character realm, the verbose option, and short options.
listidentities-test24-create-setup-realms=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test24-create-setup-identities=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,a240characterrolename2345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,Role|/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,b240characterrolename2345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890,Role
listidentities-test24-use-verbose-option=true
listidentities-test24-use-debug-option=false
listidentities-test24-use-long-options=false
listidentities-test24-search-realm=/a240characterrealmname34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test24-search-filter=b240characterrolename2345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test24-search-idtype=Role
listidentities-test24-search-ids-to-find=b240characterrolename2345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
listidentities-test24-message-to-find=
listidentities-test24-expected-exit-code=0

listidentities-test25-description=List role identities using a single character filter, the debug option, and short options.
listidentities-test25-create-setup-realms=/newrealm25
listidentities-test25-create-setup-identities=/newrealm25,a,Role|/newrealm25,aa,Role|/newrealm25,aaa,Role
listidentities-test25-use-verbose-option=false
listidentities-test25-use-debug-option=true
listidentities-test25-use-long-options=false
listidentities-test25-search-realm=/newrealm25
listidentities-test25-search-filter=a
listidentities-test25-search-idtype=Role
listidentities-test25-search-ids-to-find=a
listidentities-test25-message-to-find=
listidentities-test25-expected-exit-code=0

listidentities-test26-description=List role identities using a single character filter, a single character realm, the verbose option, the debug option, and short options.
listidentities-test26-create-setup-realms=/h
listidentities-test26-create-setup-identities=/h,c,Role|/h,d,Role|/h,e,Role
listidentities-test26-use-verbose-option=true
listidentities-test26-use-debug-option=true
listidentities-test26-use-long-options=false
listidentities-test26-search-realm=/h
listidentities-test26-search-filter=e
listidentities-test26-search-idtype=Role
listidentities-test26-search-ids-to-find=e
listidentities-test26-message-to-find=
listidentities-test26-expected-exit-code=0

listidentities-test27-description=List role identities where no identities match the filter.
listidentities-test27-create-setup-realms=/realm1;/realm1/realm2
listidentities-test27-create-setup-identities=/realm1,secrole1,Role|/realm1,secrole11,Role|/realm1/realm2,secrole2,Role
listidentities-test27-use-verbose-option=false
listidentities-test27-use-debug-option=false
listidentities-test27-use-long-options=true
listidentities-test27-search-realm=/realm1/realm2
listidentities-test27-search-filter=accrole*
listidentities-test27-search-idtype=Role
listidentities-test27-search-ids-to-find=
listidentities-test27-message-to-find=There were no entries.;Search of Identities of type {1} in realm, {0} succeeded.
listidentities-test27-expected-exit-code=0

listidentities-test28-description=Attempt to list identities using an unsupported identity type.
listidentities-test28-create-setup-realms=/testrealm
listidentities-test28-create-setup-identities=
listidentities-test28-use-verbose-option=false
listidentities-test28-use-debug-option=false
listidentities-test28-use-long-options=true
listidentities-test28-search-realm=/testrealm
listidentities-test28-search-filter=*
listidentities-test28-search-idtype=Notsupported
listidentities-test28-search-ids-to-find=
listidentities-test28-message-to-find=Not a supported type: Notsupported.
listidentities-test28-expected-exit-code=127

listidentities-test29-description=Attempt to list identities without providing an identity type.
listidentities-test29-create-setup-realms=/testrealm
listidentities-test29-create-setup-identities=
listidentities-test29-use-verbose-option=false
listidentities-test29-use-debug-option=false
listidentities-test29-use-long-options=true
listidentities-test29-search-realm=/testrealm
listidentities-test29-search-filter=*
listidentities-test29-search-idtype=
listidentities-test29-search-ids-to-find=
listidentities-test29-message-to-find=
listidentities-test29-expected-exit-code=11

listidentities-test30-description=Attempt to list identities without providing a filter.
listidentities-test30-create-setup-realms=/testrealm
listidentities-test30-create-setup-identities=
listidentities-test30-use-verbose-option=false
listidentities-test30-use-debug-option=false
listidentities-test30-use-long-options=true
listidentities-test30-search-realm=/testrealm
listidentities-test30-search-filter=
listidentities-test30-search-idtype=User
listidentities-test30-search-ids-to-find=
listidentities-test30-message-to-find=
listidentities-test30-expected-exit-code=11

listidentities-test31-description=Attempt to list identities without providing a realm.
listidentities-test31-create-setup-realms=
listidentities-test31-create-setup-identities=
listidentities-test31-use-verbose-option=false
listidentities-test31-use-debug-option=false
listidentities-test31-use-long-options=true
listidentities-test31-search-realm=
listidentities-test31-search-filter=*
listidentities-test31-search-idtype=Group
listidentities-test31-search-ids-to-find=
listidentities-test31-message-to-find=
listidentities-test31-expected-exit-code=11

listidentities-test32-description=Attempt to list identities in a realm that does not exist.
listidentities-test32-create-setup-realms=
listidentities-test32-create-setup-identities=
listidentities-test32-use-verbose-option=false
listidentities-test32-use-debug-option=false
listidentities-test32-use-long-options=true
listidentities-test32-search-realm=/doesnotexist
listidentities-test32-search-filter=*
listidentities-test32-search-idtype=User
listidentities-test32-search-ids-to-find=
listidentities-test32-message-to-find=Cannot process request because realm /doesnotexist does not exist.
listidentities-test32-expected-exit-code=127
