Hitachi

uCosminexus Application Server Security Management Guide


14.3.6 Line operation

Line operation is a type of functionality that provides line addition, modification, or deletion in the single sign-on information repository according to a value specified in the OPERATION field within a CSV file. The administrator can insert any number of OPERATION fields. To enable this functionality, the -x option must be specified in the ssoimport command. The -x option is not compatible with the -a, -m, and -d options.

The types and purposes of operations that can be specified in the OPERATION field are shown in the table below.

Table 14‒5: Types and purposes of operations that can be specified in the OPERATION field

Operation

Purpose

A or a

Add the specified line to the single sign-on information repository. If the user entry already exists in the single sign-on information repository, the system issues a warning message and continues the processing.

M or m

Overwrite the single sign-on information repository with the specified line. If the user entry does not exist in the single sign-on information repository, the user entry is added.

D or d

Deletes the specified line from the single sign-on information repository. If the user entry does not exist in the single sign-on information repository, the system issues a warning message and continues the processing.

Note

Operations are not case-sensitive. Any null character preceding or succeeding an operation is ignored. The tab character is invalid.

If a character specified in the operation field is not one of A, a, M, m, D, or d, the system issues a warning and skips the line. In this case, check to see whether the specified operation is correct and retry.

An example of a CSV file with the OPERATION field added is shown below.

OPERATION

REALMNAME

USERID

SECRETDATA

PUBLICDATA

LINK_J2EE

A

Portal

taro

taro

developer

--

D

Portal

hanako

hanako

--

Admin

M

Portal

jirou

jirou

--

DBMgr

--

RealmA

k010000

k010000

--

--

M

J2EE

Admin

Admin

--

--

Specification example
OPERATION,REALMNAME,USERID,SECRETDATA,PUBLICDATA,LINK_J2EE
A,Portal,taro,taro,developer,
D,Portal,hanako,hanako,,Admin
M,Portal,jirou,jirou,,DBMgr
,RealmA,k010000,k010000,,
M,J2EE,Admin,Admin,,