Class com.ibm.ws.security.utility.tasks.CreateLTPAKeysTaskTest

21

tests

0

failures

0

ignored

0.060s

duration

100%

successful

Tests

Test Duration Result
getTaskDescription 0.003s passed
getTaskHelp 0.006s passed
getTaskName 0.006s passed
handleTask_incorrectPasswordFlag 0.001s passed
handleTask_noPassword 0.001s passed
handleTask_promptPassword_fileCreated 0.001s passed
handleTask_promptPassword_fileExists 0.001s passed
handleTask_providedPassword_fileCreated 0.032s passed
handleTask_providedPassword_fileExists 0.003s passed
handleTask_specifiedFileAndServer 0s passed
handleTask_specifiedFile_fileCreated 0.001s passed
handleTask_specifiedFile_fileExists 0.001s passed
handleTask_specifiedServer_canNotCreatePath 0.001s passed
handleTask_specifiedServer_fileCreated 0.001s passed
handleTask_specifiedServer_fileExists 0.001s passed
handleTask_specifiedServer_serverDoesNotExist 0.001s passed
isKnownArgument_file 0s passed
isKnownArgument_password 0s passed
isKnownArgument_passwordEncoding 0s passed
isKnownArgument_passwordKey 0s passed
isKnownArgument_server 0s passed

Standard output

	Create a set of LTPA keys for use by the server, or that can be shared
	with multiple servers. If no server or file is specified, a ltpa.keys
	file will be created in the current working directory.
Usage:
	testUtility createLTPAKeys --password[=pwd] [options]

Description:
	Create a set of LTPA keys for use by the server, or that can be shared
	with multiple servers. If no server or file is specified, a ltpa.keys
	file will be created in the current working directory.

Required:
    --password[=pwd]
	LTPA keys password. If no value is defined you will be prompted.


Options:
    --file=name
	The file in which to write the LTPA keys.
	This argument can not be used if the --server argument is used.

    --passwordEncoding=[xor|aes]
	Specify how to encode the LTPA keys password in the server.xml.
	Supported encodings are xor and aes. The default encoding is xor.
	Use securityUtility encode --listCustom command to see if any
	additional custom encryptions are supported.

    --passwordKey=[key]
	Specify a key to be used when encoding the LTPA keys password using
	AES. This string will be hashed to produce an encryption key which
	will be used to encrypt and decrypt the password. The key can be
	provided to the server by defining the variable
	wlp.password.encryption.key whose value is the key. If this option is
	not provided a default key shall be used.

    --server=name
	Server for which to create the LTPA keys.
	This argument can not used if the --file argument is used.