ORBAsec extensions to SecurityLevel2::Current
attribute SecurityLevel2::CredentialsList accepting_credentials;
accepting_credentials -- The "default" credentials to be used to accept connetions. These Credentials are the ones advertised in the IORs of objects created in this Thread.
SecurityLevel2::CredentialsList get_accepting_credentials(in Object servant);
get_accepting_credentials Sets the accepting credentials for a specific Object reference. These accepting credentials override the "defaults" (above) and will be the ones advertised in the Object's IOR. If an Object is created without having its credentials set explicitly via this method, the default Credentials will be used.
CORBA::PolicyList get_overrides(in CORBA::PolicyTypeSeq policy_types);
This operaiton is what will be used in the CORBA::PolicyManager and PolicyCurrent operations to get policy overrides.
void release_accepting_credentials(in Object servant);
Release any memory associated with the association between the Object reference and a CredentialsList. This method does not release the CredentialsList. It should be called when an Object reference is freed, for memory-savvy applications.
void remove_overrides(in CORBA::PolicyTypeSeq policy_types);
This operaiton is what will be used in the CORBA::PolicyManager and PolicyCurrent operations to remove policy overrides.
void set_accepting_credentials(in Object servant, in SecurityLevel2::CredentialsList creds_list);
set_accepting_credentials
void set_overrides(in CORBA::PolicyList policies, in CORBA::SetOverrideType override_type) raises(CORBA::PolicyManager::InvalidPolicies);
This operation is what will be used in the CORBA PolicyManager and Policy Current to set policy overrides.
Generated by the ORBacus IDL-to-HTML translator (non-commercial)