2-73
DSOM Framework Reference
Principal Class
Description
The Principal class defines attributes which identify the user id and host name of the
originator of a specific request. This information is typically used for access control.
A Principal object is returned by the get_principal method of the SOM Object Adapter. The
parameters of the get_principal method identify the environment and target object
associated with a particular request — the SOMOA uses this information to create a
Principal object which identifies the caller.
Note: Details of the Principal object are not currently defined in the CORBA 1.1
specification; the attributes which have been defined are required by DSOM.
File Stem
principl
Base
SOMObject
Metaclass
SOMClass
Ancestor Classes
SOMObject
Attributes
Listed below is each available attribute, with its corresponding type in parentheses, followed
by a description of its purpose:
userName (string)
Identifies the name of the user associated with the request invocation.
(Currently, this value is obtained from the USER environment variable in the
process which invoked the request.)
hostName (string)
Identifies the name of the host from where the request originated.
(Currently, this value is obtained from the HOSTNAME environment
variable in the process which invoked the request.)
Kommentare zu diesen Handbüchern