#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
#
# 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: amWebsphere.properties,v 1.2 2008/11/21 22:21:43 leiming Exp $
#
#
# Portions Copyrighted 2012 ForgeRock Inc
#

# AM_WEBSPHERE_MODULE
180001=amWebsphere
# MSG_AM_WEBSPHERE_AUTH_SUCCESS
180002=Authentication successful for user: {0}, resource: {1}
# MSG_AM_WEBSPHERE_AUTH_FAILED
180003=Authentication failed for user: {0}, resource: {1}

#Locale messages for validators
WAS_ERR_IN_VALID_HOME_DIR= Invalid Home Directory for WebSphere:

#Task related messages 
TSK_MSG_COPY_AGENT_LIB_EXECUTE= Copy agent.jar,openssoclientsdk.jar to {0}...
TSK_MSG_COPY_AGENT_LIB_ROLLBACK= Delete agent.jar,openssoclientsdk.jar from {0}...
TSK_MSG_REMOVE_AGENT_LIB_EXECUTE= Remove agent.jar,openssoclientsdk.jar from {0}...
TSK_MSG_REMOVE_AGENT_LIB_ROLLBACK= Rollback {0}...
TSK_MSG_CONFIGURE_SERVER_XML_FILE_EXECUTE= Configure server.xml file {0}...
TSK_MSG_CONFIGURE_SERVER_XML_FILE_ROLLBACK= Rollback changes in server.xml file {0}...
TSK_MSG_UNCONFIGURE_SERVER_XML_FILE_EXECUTE= Unconfigure server.xml file {0} ...
TSK_MSG_UNCONFIGURE_SERVER_XML_FILE_ROLLBACK= Rollback changes in server.xml file {0} ...

#Validators
VA_MSG_VAL_WEBSPHERE_HOME_DIR= Valid Home Directory location : {0}
VA_WRN_INVAL_WEBSPHERE_HOME_DIR= Invalid Home Directory location : {0}
VA_MSG_WEBSPHERE_VAL_SERVER_XML= Valid Server Instance Directory location : {0}
VA_WRN_WEBSPHERE_IN_VAL_SERVER_XML= Invalid Server Instance Directory location : {0}
VA_MSG_WEBSPHERE_VAL_SERVER_INST_NAME= Valid Server Instance name : {0}
VA_WRN_WEBSPHERE_IN_VAL_SERVER_INST_NAME= Invalid Server Instance name : {0}

#Install options
HR_MSG_SETGROUP_SHORT_HELP= --setGroup : sets a Group name
HR_MSG_SETGROUP_USAGE_DESC= Usage: agentadmin --setGroup <WebSphere role name> \
		<OpenAM group name> <directory containing admin-authz.xml file>
HR_MSG_SETGROUP_USAGE_HELP= This option can be used to set the group name that \
                is authorized to access WebSphere Console after the \
                agent is installed. The option makes the change in \
                admin-authz.xml file. The WebSphere role name \
                corresponds to any valid role name in \
                admin-authz.xml file found in <role> element. \
                The OpenAM group name corresponds to \
                OpenAM roles, groups, filtered groups etc. \
                The group name would be the uuid of corresponding object.
							
HR_MSG_REMOVEGROUP_SHORT_HELP= --removeGroup : remove a Group name
HR_MSG_REMOVEGROUP_USAGE_DESC= Usage: agentadmin --removeGroup <WebSphere role name> \
		<OpenAM group name> <directory containing admin-authz.xml file>
HR_MSG_REMOVEGROUP_USAGE_HELP= This option can be used to remove the OpenAM group name that \
                is authorized to access WebSphere Console. \
                As a post install step, this option makes the change \
                in admin-authz.xml file. The WebSphere role name \
                corresponds to any valid role name in \
                admin-authz.xml file found in <role> element. \
                The OpenAM group name corresponds to \
                OpenAM roles, groups, filtered groups etc. \
                The group name would be the uuid of corresponding object.

HR_ERR_FAILED_TO_REMOVE_GROUP= ***Error: Failed to remove <groups> element \
		from admin-authz.xml file. Element not found.
							
HR_ERR_INVALID_UPDATE_GROUP_OPTION= *** ERROR: Invalid number of argument(s) \
		specified.
HR_ERR_UPDATE_GROUP_INVALID_ARGS= *** ERROR: Invalid argument(s) specified.
HR_ERR_UPDATE_GROUP_INVALID_ADMIN_DIR= *** ERROR: Invalid directory to \
		admin-authz.xml file specified.
HR_ERR_INVALID_ADMIN_AUTH_FILE= *** Error: parsing/editing admin-authz.xml file
HR_ERR_INVALID_WAS_ROLE_NAME= ***Error: Invalid WAS role name {0}
HR_ERR_INVALID_XML_FILE_FORMAT= ***ERROR: Invalid format for admin-authz.xml file \
		encountered.
HR_MSG_UPDATED_ADMIN_AUTH_FILE= Successfully updated admin-authz.xml file 
HR_ERROR_FAILED_UPDATE_ADMIN_AUTH_FILE= ***Error: Failed to update admin-authz.xml file. \
		Please update the file manually.
HR_ERROR_FAILED_UPDATE_GROUP_PRESENT= ***Error: Failed up update admin-authz.xml file. \
                <groups> element with name attr = {0} \
                already present.
