# 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: RemoveMemberTest.properties,v 1.8 2009/01/12 17:23:51 cmwesley Exp $
# 
# Copyright 2007 Sun Microsystems Inc. All Rights Reserved
#

# success-message - the message returned when a member is removed successfully.  
#         The MessageFormat class should be used to replace {0} with the member
#         identity name and {1} with the identity name in which the member is 
#         removed.
# verbose-sucess-message - the message returned when a member is removed 
#         successfully with the verbose option.  The MessageFormat class should 
#         be used to replace {0} with the member identity name and {1} with the 
#         identity name in which the member is removed.
# usage - the usage of the "ssoadm remove-member" 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={0} was removed from {1}.
verbose-success-message=Constructing Request Context...;Validating mandatory options...;Processing Sub Command ...;Executing class, com.sun.identity.cli.idrepo.RemoveMember.;Authenticating...;Authenticated.;{0} was removed from {1}.
usage=ssoadm remove-member --options [--global-options];    Remove membership of identity as member from another identity;ssoadm remove-member;    --realm|-e;    --memberidname|-m;    --memberidtype|-y;    --idname|-i;    --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.;    --memberidname, -m;        Name of identity that is member.;    --memberidtype, -y;        Type of Identity such as User, Role and Group.;    --idname, -i;        Name of identity.;    --idtype, -t;        Type of Identity;    --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}.

removemember-test1-description=Remove a user identity from a group identity using long options.
removemember-test1-create-setup-realms=/removememberealm1
removemember-test1-create-setup-identities=/removememberealm1,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm1,qagroup,Group
removemember-test1-create-setup-members=/removememberealm1,qauser,User,qagroup,Group
removemember-test1-use-verbose-option=false
removemember-test1-use-debug-option=false
removemember-test1-use-long-options=true
removemember-test1-remove-member-realm=/removememberealm1
removemember-test1-remove-member-name=qauser
removemember-test1-remove-member-type=User
removemember-test1-remove-member-idname=qagroup
removemember-test1-remove-member-idtype=Group
removemember-test1-message-to-find=
removemember-test1-expected-exit-code=0

removemember-test2-description=Remove a user identity from a group identity using short options.
removemember-test2-create-setup-realms=/removememberealm2
removemember-test2-create-setup-identities=/removememberealm2,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm2,qagroup,Group
removemember-test2-create-setup-members=/removememberealm2,qauser,User,qagroup,Group
removemember-test2-use-verbose-option=false
removemember-test2-use-debug-option=false
removemember-test2-use-long-options=false
removemember-test2-remove-member-realm=/removememberealm2
removemember-test2-remove-member-name=qauser
removemember-test2-remove-member-type=User
removemember-test2-remove-member-idname=qagroup
removemember-test2-remove-member-idtype=Group
removemember-test2-message-to-find=
removemember-test2-expected-exit-code=0

removemember-test3-description=Remove a user identity from a group identity using long options and the verbose option.
removemember-test3-create-setup-realms=/removememberealm3
removemember-test3-create-setup-identities=/removememberealm3,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm3,qagroup,Group
removemember-test3-create-setup-members=/removememberealm3,qauser,User,qagroup,Group
removemember-test3-use-verbose-option=true
removemember-test3-use-debug-option=false
removemember-test3-use-long-options=true
removemember-test3-remove-member-realm=/removememberealm3
removemember-test3-remove-member-name=qauser
removemember-test3-remove-member-type=User
removemember-test3-remove-member-idname=qagroup
removemember-test3-remove-member-idtype=Group
removemember-test3-message-to-find=
removemember-test3-expected-exit-code=0

removemember-test4-description=Remove a user identity from a group identity using short options and the verbose option.
removemember-test4-create-setup-realms=/removememberealm4
removemember-test4-create-setup-identities=/removememberealm4,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm4,qagroup,Group
removemember-test4-create-setup-members=/removememberealm4,qauser,User,qagroup,Group
removemember-test4-use-verbose-option=true
removemember-test4-use-debug-option=false
removemember-test4-use-long-options=false
removemember-test4-remove-member-realm=/removememberealm4
removemember-test4-remove-member-name=qauser
removemember-test4-remove-member-type=User
removemember-test4-remove-member-idname=qagroup
removemember-test4-remove-member-idtype=Group
removemember-test4-message-to-find=
removemember-test4-expected-exit-code=0

removemember-test5-description=Remove a user identity from a group identity using long options and the debug option.
removemember-test5-create-setup-realms=/removememberealm5
removemember-test5-create-setup-identities=/removememberealm5,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm5,qagroup,Group
removemember-test5-create-setup-members=/removememberealm5,qauser,User,qagroup,Group
removemember-test5-use-verbose-option=false
removemember-test5-use-debug-option=true
removemember-test5-use-long-options=true
removemember-test5-remove-member-realm=/removememberealm5
removemember-test5-remove-member-name=qauser
removemember-test5-remove-member-type=User
removemember-test5-remove-member-idname=qagroup
removemember-test5-remove-member-idtype=Group
removemember-test5-message-to-find=
removemember-test5-expected-exit-code=0

removemember-test6-description=Remove a user identity from a group identity using short options and the debug option.
removemember-test6-create-setup-realms=/removememberealm6
removemember-test6-create-setup-identities=/removememberealm6,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm6,qagroup,Group
removemember-test6-create-setup-members=/removememberealm6,qauser,User,qagroup,Group
removemember-test6-use-verbose-option=false
removemember-test6-use-debug-option=true
removemember-test6-use-long-options=false
removemember-test6-remove-member-realm=/removememberealm6
removemember-test6-remove-member-name=qauser
removemember-test6-remove-member-type=User
removemember-test6-remove-member-idname=qagroup
removemember-test6-remove-member-idtype=Group
removemember-test6-message-to-find=
removemember-test6-expected-exit-code=0

removemember-test7-description=Remove a user identity from a group identity using long options, the debug option, and the verbose option.
removemember-test7-create-setup-realms=/removememberealm7
removemember-test7-create-setup-identities=/removememberealm7,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm7,qagroup,Group
removemember-test7-create-setup-members=/removememberealm7,qauser,User,qagroup,Group
removemember-test7-use-verbose-option=true
removemember-test7-use-debug-option=true
removemember-test7-use-long-options=true
removemember-test7-remove-member-realm=/removememberealm7
removemember-test7-remove-member-name=qauser
removemember-test7-remove-member-type=User
removemember-test7-remove-member-idname=qagroup
removemember-test7-remove-member-idtype=Group
removemember-test7-message-to-find=
removemember-test7-expected-exit-code=0

removemember-test8-description=Remove a user identity from a group identity using short options, the debug option, and the verbose option.
removemember-test8-create-setup-realms=/removememberealm8
removemember-test8-create-setup-identities=/removememberealm8,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm8,qagroup,Group
removemember-test8-create-setup-members=/removememberealm8,qauser,User,qagroup,Group
removemember-test8-use-verbose-option=true
removemember-test8-use-debug-option=true
removemember-test8-use-long-options=false
removemember-test8-remove-member-realm=/removememberealm8
removemember-test8-remove-member-name=qauser
removemember-test8-remove-member-type=User
removemember-test8-remove-member-idname=qagroup
removemember-test8-remove-member-idtype=Group
removemember-test8-message-to-find=
removemember-test8-expected-exit-code=0

removemember-test9-description=Remove a user identity from a role identity using long options.
removemember-test9-create-setup-realms=/removememberealm9
removemember-test9-create-setup-identities=/removememberealm9,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm9,qarole,Role
removemember-test9-create-setup-members=/removememberealm9,qauser,User,qarole,Role
removemember-test9-use-verbose-option=false
removemember-test9-use-debug-option=false
removemember-test9-use-long-options=true
removemember-test9-remove-member-realm=/removememberealm9
removemember-test9-remove-member-name=qauser
removemember-test9-remove-member-type=User
removemember-test9-remove-member-idname=qarole
removemember-test9-remove-member-idtype=Role
removemember-test9-message-to-find=
removemember-test9-expected-exit-code=0

removemember-test10-description=Remove a user identity from a role identity using short options.
removemember-test10-create-setup-realms=/removememberealm10
removemember-test10-create-setup-identities=/removememberealm10,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm10,qarole,Role
removemember-test10-create-setup-members=/removememberealm10,qauser,User,qarole,Role
removemember-test10-use-verbose-option=false
removemember-test10-use-debug-option=false
removemember-test10-use-long-options=false
removemember-test10-remove-member-realm=/removememberealm10
removemember-test10-remove-member-name=qauser
removemember-test10-remove-member-type=User
removemember-test10-remove-member-idname=qarole
removemember-test10-remove-member-idtype=Role
removemember-test10-message-to-find=
removemember-test10-expected-exit-code=0

removemember-test11-description=Remove a user identity from a role identity using long options and the verbose option.
removemember-test11-create-setup-realms=/removememberealm11
removemember-test11-create-setup-identities=/removememberealm11,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm11,qarole,Role
removemember-test11-create-setup-members=/removememberealm11,qauser,User,qarole,Role
removemember-test11-use-verbose-option=true
removemember-test11-use-debug-option=false
removemember-test11-use-long-options=true
removemember-test11-remove-member-realm=/removememberealm11
removemember-test11-remove-member-name=qauser
removemember-test11-remove-member-type=User
removemember-test11-remove-member-idname=qarole
removemember-test11-remove-member-idtype=Role
removemember-test11-message-to-find=
removemember-test11-expected-exit-code=0

removemember-test12-description=Remove a user identity from a role identity using short options and the verbose option.
removemember-test12-create-setup-realms=/removememberealm12
removemember-test12-create-setup-identities=/removememberealm12,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm12,qarole,Role
removemember-test12-create-setup-members=/removememberealm12,qauser,User,qarole,Role
removemember-test12-use-verbose-option=true
removemember-test12-use-debug-option=false
removemember-test12-use-long-options=false
removemember-test12-remove-member-realm=/removememberealm12
removemember-test12-remove-member-name=qauser
removemember-test12-remove-member-type=User
removemember-test12-remove-member-idname=qarole
removemember-test12-remove-member-idtype=Role
removemember-test12-message-to-find=
removemember-test12-expected-exit-code=0

removemember-test13-description=Remove a user identity from a role identity using long options and the debug option.
removemember-test13-create-setup-realms=/removememberealm13
removemember-test13-create-setup-identities=/removememberealm13,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm13,qarole,Role
removemember-test13-create-setup-members=/removememberealm13,qauser,User,qarole,Role
removemember-test13-use-verbose-option=false
removemember-test13-use-debug-option=true
removemember-test13-use-long-options=true
removemember-test13-remove-member-realm=/removememberealm13
removemember-test13-remove-member-name=qauser
removemember-test13-remove-member-type=User
removemember-test13-remove-member-idname=qarole
removemember-test13-remove-member-idtype=Role
removemember-test13-message-to-find=
removemember-test13-expected-exit-code=0

removemember-test14-description=Remove a user identity from a role identity using short options and the debug option.
removemember-test14-create-setup-realms=/removememberealm14
removemember-test14-create-setup-identities=/removememberealm14,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm14,qarole,Role
removemember-test14-create-setup-members=/removememberealm14,qauser,User,qarole,Role
removemember-test14-use-verbose-option=false
removemember-test14-use-debug-option=true
removemember-test14-use-long-options=false
removemember-test14-remove-member-realm=/removememberealm14
removemember-test14-remove-member-name=qauser
removemember-test14-remove-member-type=User
removemember-test14-remove-member-idname=qarole
removemember-test14-remove-member-idtype=Role
removemember-test14-message-to-find=
removemember-test14-expected-exit-code=0

removemember-test15-description=Remove a user identity from a role identity using long options, the debug option, and the verbose option.
removemember-test15-create-setup-realms=/removememberealm15
removemember-test15-create-setup-identities=/removememberealm15,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm15,qarole,Role
removemember-test15-create-setup-members=/removememberealm15,qauser,User,qarole,Role
removemember-test15-use-verbose-option=true
removemember-test15-use-debug-option=true
removemember-test15-use-long-options=true
removemember-test15-remove-member-realm=/removememberealm15
removemember-test15-remove-member-name=qauser
removemember-test15-remove-member-type=User
removemember-test15-remove-member-idname=qarole
removemember-test15-remove-member-idtype=Role
removemember-test15-message-to-find=
removemember-test15-expected-exit-code=0

removemember-test16-description=Remove a user identity from a role identity using short options, the debug option, and the verbose option.
removemember-test16-create-setup-realms=/removememberealm16
removemember-test16-create-setup-identities=/removememberealm16,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"|/removememberealm16,qarole,Role
removemember-test16-create-setup-members=/removememberealm16,qauser,User,qarole,Role
removemember-test16-use-verbose-option=true
removemember-test16-use-debug-option=true
removemember-test16-use-long-options=false
removemember-test16-remove-member-realm=/removememberealm16
removemember-test16-remove-member-name=qauser
removemember-test16-remove-member-type=User
removemember-test16-remove-member-idname=qarole
removemember-test16-remove-member-idtype=Role
removemember-test16-message-to-find=
removemember-test16-expected-exit-code=0

removemember-test17-description=Attempt to remove a user from a group which does not exist.
removemember-test17-create-setup-realms=/removememberealm17
removemember-test17-create-setup-identities=/removememberealm17,qauser,User,"givenname=qa";"cn=qauser";"sn=qauser";"userpassword=mysecret";"mail=qauser@foo.com";"employeenumber=555";"telephonenumber=555-1212";"inetuserstatus=Active"
removemember-test17-create-setup-members=
removemember-test17-use-verbose-option=true
removemember-test17-use-debug-option=true
removemember-test17-use-long-options=false
removemember-test17-remove-member-realm=/removememberealm17
removemember-test17-remove-member-name=qauser
removemember-test17-remove-member-type=User
removemember-test17-remove-member-idname=doesnotexistgroup
removemember-test17-remove-member-idtype=Group
removemember-test17-message-to-find=Identity doesnotexistgroup of type group not found.
removemember-test17-expected-exit-code=127

removemember-test18-description=Attempt to remove a user which does not exist from a group.
removemember-test18-create-setup-realms=/removememberealm18
removemember-test18-create-setup-identities=/removememberealm18,qagroup,Group
removemember-test18-create-setup-members=
removemember-test18-use-verbose-option=true
removemember-test18-use-debug-option=true
removemember-test18-use-long-options=false
removemember-test18-remove-member-realm=/removememberealm18
removemember-test18-remove-member-name=doesnotexistuser
removemember-test18-remove-member-type=User
removemember-test18-remove-member-idname=qagroup
removemember-test18-remove-member-idtype=Group
removemember-test18-message-to-find=Identity doesnotexistuser of type user not found.
removemember-test18-expected-exit-code=127
