HP XP20000/XP24000 HP StorageWorks XP24000/XP20000 Remote Web Console User Gui - Page 122

Changing the Java Security Policy, Creating a User Authentication File

Page 122 highlights

4. Click the Support for Additional Languages icon, select This feature will be installed on local hard drive, and then click Next. The Browser Registration dialog box is displayed. 5. Select the browsers you want to register with Java Plug-In, and click Next. The installation is started. When the installation is complete, the Complete dialog box is displayed. 6. Click Finish to close the dialog box. Changing the Java Security Policy The Java security policy needs to be changed to execute the CFL Extension commands. To change the policy, do one of the following: • Use the policy file that CFL Extension provides as a user policy file. If you use this policy file, the security policy changes only when you execute the CFL Extension commands. The policy file is stored in the CFL installation directory. • Edit the default policy file (java.policy). Add the following description in the Java policy file (java.policy): grant { ); permission java.security.AllPermission; For details about the policy file, see the Java documentation. Creating a User Authentication File A user authentication file is an encrypted file containing a user ID and a password. To start CFL Extension, a user authentication file is required for each user. Before using CFL Extension, users must create a user authentication file by using a command. This section explains how to create a user authentication file. After creating a user authentication file, you must use the security feature of your operating system to set the appropriate access privilege to the user authentication file. If other users can access the file, unauthorized changes might be made to the storage system. To create a user authentication file: 1. Log in to a Remote Web Console client computer with the user account of the storage administrator. 2. Copy a batch file for executing a command to the same directory as JSanCFL.jar. If the operating system of your Remote Web Console client computer is Windows, copy the .bat file. If it is UNIX, copy the .sh file. Copy source: • \CFL-installed-directory\Tools\CFL_CLI\sample\mkatfile.bat • \CFL-installed-directory\Tools\CFL_CLI\sample\mkatfile.sh Copy destination: • \CFL-installed-directory\Tools\CFL_CLI 3. If your operating system is UNIX and a shell program is installed in a directory other than /bin, modify the batch file that you copied earlier. Open the batch file and change #! /bin/csh in the first line to the directory where the shell program is installed (such as /usr/bin/csh). 4. Start the command prompt, and then move to the following directory: \CFL-installed-directory\Tools\CFL_CLI 5. Execute the batch file in the following format. For UNIX, enter .sh after mkatfile (that is, mkatfile.sh). 122 Using the CFL Extension

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151

4.
Click the
Support for Additional Languages
icon, select
This feature will be installed on
local hard drive
, and then click
Next
. The Browser Registration dialog box is displayed.
5.
Select the browsers you want to register with Java Plug-In, and click
Next
. The installation is
started. When the installation is complete, the Complete dialog box is displayed.
6.
Click
Finish
to close the dialog box.
Changing the Java Security Policy
The Java security policy needs to be changed to execute the CFL Extension commands. To change
the policy, do one of the following:
Use the policy file that CFL Extension provides as a user policy file.
If you use this policy file, the security policy changes only when you execute the CFL Extension
commands. The policy file is stored in the CFL installation directory.
Edit the default policy file (
java.policy
).
Add the following description in the Java policy file (
java.policy
):
grant {
permission java.security.AllPermission;
);
For details about the policy file, see the Java documentation.
Creating a User Authentication File
A user authentication file is an encrypted file containing a user ID and a password. To start CFL
Extension, a user authentication file is required for each user. Before using CFL Extension, users
must create a user authentication file by using a command. This section explains how to create a
user authentication file.
After creating a user authentication file, you must use the security feature of your operating system
to set the appropriate access privilege to the user authentication file. If other users can access the
file, unauthorized changes might be made to the storage system.
To create a user authentication file:
1.
Log in to a Remote Web Console client computer with the user account of the storage
administrator.
2.
Copy a batch file for executing a command to the same directory as
JSanCFL.jar
.
If the operating system of your Remote Web Console client computer is Windows, copy the
.bat
file. If it is UNIX, copy the
.sh
file.
Copy source:
\
CFL-installed-directory
\Tools\CFL_CLI\sample\mkatfile.bat
\
CFL-installed-directory
\Tools\CFL_CLI\sample\mkatfile.sh
Copy destination:
\
CFL-installed-directory
\Tools\CFL_CLI
3.
If your operating system is UNIX and a shell program is installed in a directory other than
/bin
, modify the batch file that you copied earlier.
Open the batch file and change
#! /bin/csh
in the first line to the directory where the shell
program is installed (such as
/usr/bin/csh
).
4.
Start the command prompt, and then move to the following directory:
\
CFL-installed-directory
\Tools\CFL_CLI
5.
Execute the batch file in the following format. For UNIX, enter
.sh
after
mkatfile
(that is,
mkatfile.sh
).
122
Using the CFL Extension