typedef sequence<octet> ATLASCacheId;
typedef unsigned long ATLASLocatorType;
typedef sequence<TimeBase::UtcT,1> ExpiryTime;
typedef sequence<CSI::IdentityToken,1> IdTokenOption;
typedef CosNaming::NamingContextExt::URLString URLocator;
typedef sequence<octet> UTF8String;
const ATLASLocatorType ATLASCosNaming = 1;
const ATLASLocatorType ATLASObject = 3;
const ATLASLocatorType ATLASURL = 2;
const CSIIOP::ServiceConfigurationSyntax SCS_ATLAS = 3;
struct ATLASProfile
{
ATLASLocator the_locator;
ATLASCacheId the_cache_id;
};
struct AuthTokenData
{
IdTokenOption ident_token;
CSI::AuthorizationToken auth_token;
ExpiryTime expiry_time;
};
struct CosNamingLocator
{
CosNaming::NamingContext name_service;
CosNaming::Name the_name;
};
union ATLASLocator switch(ATLASLocatorType)
{
case 1: CosNamingLocator naming_locator;
case 2: URLocator the_url;
case 3: AuthTokenDispenser the_dispenser;
};
exception IllegalTokenRequest
{
unsigned long the_errnum;
string the_reason;
};
exception TokenOkay
{
};