objectspace create

Creates a protected object space under which protected objects can be placed.

Requires authentication (administrator ID and password) to use this command.

Syntax

objectspace create objectspace_name description type

Description

The root of the new protected object space automatically has the ispolicyattachable option that is set to true.

Options

description
Specifies the description of the new object space.

A valid description is an alphanumeric string that is not case-sensitive. String values are expected to be characters that are part of the local code set. If the description contains a space, ensure that you enclose the description in double quotation marks. You can specify an empty string ("") to clear an existing description.

An example description is "Accounting".

objectspace_name
Specifies the name of the object space to be created.

A valid object space name is an alphanumeric string that is not case-sensitive. String values are expected to be characters that are part of the local code set.

Examples of object space names are /Management and /WebSEAL.

type
Specifies the type of the object space to be created. Types range from 0 to 17. For example, types 10 or 16 are appropriate for objects and object spaces.
You can assign any of the following types:
0
Unknown
1
Secure domain
2
File
3
Executable program
4
Directory
5
Junction
6
WebSEAL server
7
Unused
8
Unused
9
HTTP server
10
Nonexistent object
11
Container object
12
Leaf object
13
Port
14
Application container object
15
Application leaf object
16
Management object
17
Unused

Return codes

0
The command completed successfully.
1
The command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the Security Access Manager error messages by decimal or hexadecimal codes.

Examples

  • The following example creates an object space named /Test-Space that is an application container object (type 14):
    pdadmin sec_master> objectspace create /Test-Space "New Object Space" 14
  • The following example creates an object space named /Dept4D4 that is a management object (type 16):
    pdadmin sec_master> objectspace create /Dept4D4 "Department 4D4" 16

See also

objectspace delete