Skip navigation.

Using Security in CORBA Applications

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

 


SecurityLevel1::Current::get_attributes

Synopsis

Returns attributes for the Current interface.

OMG IDL Definition

Security::AttributeList get_attributes(
in Security::AttributeTypeList attributes
);
};

Argument

attributes

The set of security attributes (privilege attribute types) whose values are desired. If this list is empty, all attributes are returned.

Description

This method gets privilege (and other) attributes from the principal's credentials for the Current interface.

Return Values

The following table describes valid return values.

Return Value

Meaning

Security::Public

Empty (Public is returned when no authentication was performed).

Security::AccessId

Null terminated ASCII string containing the BEA Tuxedo username.

Security::PrimaryGroupId

Null terminated ASCII string containing the BEA Tuxedo name of the principal.


 

Note: The defining_authority field is always empty. Depending on the security level defined in the UBBCONFIG file not all the values for the get_attribute method may be available. Two additional values, Group Id and Role, are available with the security level is set to ACL or MANDATORY_ACL in the UBBCONFIG file.

Note: This information is taken from CORBAservices: Common Object Services Specification, pp. 15-103, 104. Revised Edition: March 31, 1995. Updated: November 1997. Used with permission by OMG.

 

Skip navigation bar  Back to Top Previous Next