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

 


SecurityLevel2::Current::set_credentials

Synopsis

Sets credentials type.

OMG IDL Definition

void set_credentials(
in Security::CredentialType cred_type,
in Credentials creds
);

Arguments

cred_type

The type of credentials to be set; that is, invocation, own, or non-repudiation.

creds

The object reference to the Credentials object, which is to become the default.

Description

This method can be used only to set SecInvocationCredentials; otherwise, -set_credentials raises CORBA::BAD_PARAM. The credentials must have been obtained from a previous call to SecurityLevel2::Current::get_credentials or SecurityLevel2::PrincipalAuthenticator::authenticate.

Return Values

None.

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

 

Skip navigation bar  Back to Top Previous Next