1 //Source file: pam_interfaces.idl
2 //Date: 13 October 2004
3 //Presence and Availability Management Interfaces for ES 203 915-14 V1.1.1, DES/TISPAN-01005-14-OSA, Parlay 5.0
5 #ifndef __PAM_INTERFACES_DEFINED
6 #define __PAM_INTERFACES_DEFINED
10 #include
"pam_data.idl"
19 interface IpAppPAMPreferenceCheck
;
23 union TpPAMPreferenceData
switch(TpPAMPreferenceType
) {
24 case PAM_EXTERNAL_CONTROL
: access
::IpAppPAMPreferenceCheck ExternalControlInterface
;
32 interface IpPAMIdentityManagement
: IpInterface
{
34 in TpPAMFQName identity
,
35 in TpStringList identityTypes
,
36 in TpPAMCredential authToken
38 raises
(TpCommonExceptions
,P_PAM_IDENTITY_EXISTS
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
41 in TpPAMFQName identity
,
42 in TpPAMCredential authToken
44 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
46 TpBoolean isIdentity
(
47 in TpPAMFQName identity
,
48 in TpPAMCredential authToken
50 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
52 void createGroupIdentity
(
53 in TpPAMFQName identity
,
54 in TpStringList identityTypes
,
55 in TpPAMCredential authToken
57 raises
(TpCommonExceptions
,P_PAM_IDENTITY_EXISTS
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
59 void deleteGroupIdentity
(
60 in TpPAMFQName identity
,
61 in TpPAMCredential authToken
63 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
67 in TpPAMFQName member
,
68 in TpPAMCredential authToken
70 raises
(TpCommonExceptions
,P_PAM_MEMBER_EXISTS
,P_PAM_UNKNOWN_GROUP
,P_PAM_UNKNOWN_MEMBER
,P_PAM_IS_CYCLIC
,P_PAM_INVALID_CREDENTIAL
);
72 void removeFromGroup
(
74 in TpPAMFQName identity
,
75 in TpPAMCredential authToken
77 raises
(TpCommonExceptions
,P_PAM_NOT_MEMBER
,P_PAM_UNKNOWN_GROUP
,P_PAM_UNKNOWN_MEMBER
,P_PAM_INVALID_CREDENTIAL
);
79 TpPAMFQNameList listMembers
(
80 in TpPAMFQName identity
,
81 in TpPAMCredential authToken
83 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_GROUP
,P_PAM_INVALID_CREDENTIAL
);
85 TpBoolean isGroupIdentity
(
86 in TpPAMFQName identity
,
87 in TpPAMCredential authToken
89 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
91 TpPAMFQNameList listGroupMembership
(
92 in TpPAMFQName identity
,
93 in TpPAMCredential authToken
95 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
98 in TpPAMFQName identity
,
100 in TpPAMCredential authToken
102 raises
(TpCommonExceptions
,P_PAM_ALIAS_EXISTS
,P_PAM_ALIAS_NOT_UNIQUE
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
105 in TpPAMFQName identity
,
106 in TpPAMFQName alias
,
107 in TpPAMCredential authToken
109 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNASSIGNED_ALIAS
,P_PAM_INVALID_CREDENTIAL
);
111 TpPAMFQNameList listAliases
(
112 in TpPAMFQName identity
,
113 in TpPAMCredential authToken
115 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
117 TpPAMFQName lookupByAlias
(
118 in TpPAMFQName alias
,
119 in TpPAMCredential authToken
121 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_ALIAS
,P_PAM_INVALID_CREDENTIAL
);
123 void associateTypes
(
124 in TpPAMFQName identity
,
125 in TpStringList identityTypes
,
126 in TpPAMCredential authToken
128 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNKNOWN_TYPE
,P_PAM_TYPE_ASSOCIATED
,P_PAM_INVALID_CREDENTIAL
);
130 void disassociateTypes
(
131 in TpPAMFQName identity
,
132 in TpStringList identityTypes
,
133 in TpPAMCredential authToken
135 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_DISASSOCIATED_TYPE
,P_PAM_INVALID_CREDENTIAL
);
137 TpPAMFQNameList listTypesOfIdentity
(
138 in TpPAMFQName identity
,
139 in TpPAMCredential authToken
141 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
144 in TpPAMFQName identity
,
145 in TpString typeName
,
146 in TpPAMCredential authToken
148 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
150 TpPAMAttributeList getIdentityAttributes
(
151 in TpPAMFQName identity
,
152 in TpString identityType
,
153 in TpStringList attributeNames
,
154 in TpPAMCredential authToken
156 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
158 void setIdentityAttributes
(
159 in TpPAMFQName identity
,
160 in TpString identityType
,
161 in TpPAMAttributeList attributes
,
162 in TpPAMCredential authToken
164 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTES
,P_PAM_INVALID_CREDENTIAL
);
169 interface IpPAMAgentManagement
: IpInterface
{
171 in TpPAMFQName agentName
,
172 in TpStringList agentTypes
,
173 in TpPAMCredential authToken
175 raises
(TpCommonExceptions
,P_PAM_AGENT_EXISTS
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
178 in TpPAMFQName agentName
,
179 in TpPAMCredential authToken
181 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
184 in TpPAMFQName agentName
,
185 in TpPAMCredential authToken
187 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
189 void enableCapabilities
(
190 in TpPAMFQName agentName
,
191 in TpPAMCapabilityList capabilities
,
192 in TpPAMCredential authToken
194 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
196 void disableCapabilities
(
197 in TpPAMFQName agentName
,
198 in TpPAMCapabilityList capabilities
,
199 in TpPAMCredential authToken
201 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_NO_CAPABILITY
,P_PAM_INVALID_CREDENTIAL
);
203 TpPAMCapabilityList listEnabledCapabilities
(
204 in TpPAMFQName agentName
,
205 in TpPAMCredential authToken
207 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
209 TpPAMCapabilityList listAllCapabilities
(
210 in TpPAMFQName agentName
,
211 in TpPAMCredential authToken
213 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
215 TpBoolean isCapableOf
(
216 in TpPAMFQName agentName
,
217 in TpPAMCapability capability
,
218 in TpPAMCredential authToken
220 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
222 void associateTypes
(
223 in TpPAMFQName agentName
,
224 in TpStringList agentTypes
,
225 in TpPAMCredential authToken
227 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_TYPE
,P_PAM_TYPE_ASSOCIATED
,P_PAM_INVALID_CREDENTIAL
);
229 void disassociateTypes
(
230 in TpPAMFQName agentName
,
231 in TpStringList agentTypes
,
232 in TpPAMCredential authToken
234 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_DISASSOCIATED_TYPE
,P_PAM_INVALID_CREDENTIAL
);
236 TpStringList listTypesOfAgent
(
237 in TpPAMFQName agentName
,
238 in TpPAMCredential authToken
240 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
243 in TpPAMFQName agentName
,
244 in TpString typeName
,
245 in TpPAMCredential authToken
247 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
249 TpPAMAttributeList getAgentAttributes
(
250 in TpPAMFQName agentName
,
251 in TpString agentType
,
252 in TpStringList attributeNames
,
253 in TpPAMCredential authToken
255 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
257 void setAgentAttributes
(
258 in TpPAMFQName agentName
,
259 in TpString agentType
,
260 in TpPAMAttributeList attributes
,
261 in TpPAMCredential authToken
263 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTES
,P_PAM_INVALID_CREDENTIAL
);
268 interface IpPAMAgentAssignment
: IpInterface
{
270 in TpPAMFQName identity
,
271 in TpPAMFQName agentName
,
272 in TpPAMCredential authToken
274 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
277 in TpPAMFQName identity
,
278 in TpPAMFQName agentName
,
279 in TpPAMCredential authToken
281 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_ASSIGNMENT
,P_PAM_INVALID_CREDENTIAL
);
283 TpPAMFQNameList listAssignedAgents
(
284 in TpPAMFQName identity
,
285 in TpPAMCredential authToken
287 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
289 TpPAMFQNameList listAssociatedIdentitiesOfAgent
(
290 in TpPAMFQName agentName
,
291 in TpPAMCredential authToken
293 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_INVALID_CREDENTIAL
);
295 TpPAMFQNameList listAssignedAgentsByCapability
(
296 in TpPAMFQName identity
,
297 in TpPAMCapability capability
,
298 in TpPAMCredential authToken
300 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
302 TpPAMCapabilityList listCapabilitiesOfIdentity
(
303 in TpPAMFQName identity
,
304 in TpPAMCredential authToken
306 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
308 TpBoolean isIdentityCapableOf
(
309 in TpPAMFQName identity
,
310 in TpPAMCapability capability
,
311 in TpPAMCredential authToken
313 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
318 interface IpPAMIdentityTypeManagement
: IpInterface
{
319 void createIdentityAttribute
(
320 in TpPAMAttributeDef pAttribute
,
321 in TpPAMCredential authToken
323 raises
(TpCommonExceptions
,P_PAM_ATTRIBUTE_EXISTS
,P_PAM_INVALID_CREDENTIAL
);
325 void deleteIdentityAttribute
(
326 in TpString attributeName
,
327 in TpPAMCredential authToken
329 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
331 TpPAMAttributeDef getIdentityAttributeDefinition
(
332 in TpString attributeName
,
333 in TpPAMCredential authToken
335 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
337 TpStringList listAllIdentityAttributes
(
338 in TpPAMCredential authToken
340 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
342 void createIdentityType
(
343 in TpString typeName
,
344 in TpStringList attributeNames
,
345 in TpPAMCredential authToken
347 raises
(TpCommonExceptions
,P_PAM_TYPE_EXISTS
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
349 void deleteIdentityType
(
350 in TpString typeName
,
351 in TpPAMCredential authToken
353 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
355 TpStringList listIdentityTypes
(
356 in TpPAMCredential authToken
358 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
360 void addIdentityTypeAttributes
(
361 in TpString typeName
,
362 in TpStringList attributeNames
,
363 in TpPAMCredential authToken
365 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_ATTRIBUTE_EXISTS
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
367 void removeIdentityTypeAttributes
(
368 in TpString typeName
,
369 in TpStringList attributeNames
,
370 in TpPAMCredential authToken
372 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
374 TpStringList listIdentityTypeAttributes
(
375 in TpString typeName
,
376 in TpPAMCredential authToken
378 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
383 interface IpPAMAgentTypeManagement
: IpInterface
{
384 void createAgentAttribute
(
385 in TpPAMAttributeDef pAttribute
,
386 in TpPAMCredential authToken
388 raises
(TpCommonExceptions
,P_PAM_ATTRIBUTE_EXISTS
,P_PAM_INVALID_CREDENTIAL
);
390 void deleteAgentAttribute
(
391 in TpString attributeName
,
392 in TpPAMCredential authToken
394 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
396 TpPAMAttributeDef getAgentAttributeDefinition
(
397 in TpString attributeName
,
398 in TpPAMCredential authToken
400 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
402 TpStringList listAllAgentAttributes
(
403 in TpPAMCredential authToken
405 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
407 void createAgentType
(
408 in TpString typeName
,
409 in TpStringList attributeNames
,
410 in TpPAMCredential authToken
412 raises
(TpCommonExceptions
,P_PAM_TYPE_EXISTS
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
414 void deleteAgentType
(
415 in TpString typeName
,
416 in TpPAMCredential authToken
418 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
420 TpStringList listAgentTypes
(
421 in TpPAMCredential authToken
423 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
425 void addAgentTypeAttributes
(
426 in TpString typeName
,
427 in TpStringList attributeNames
,
428 in TpPAMCredential authToken
430 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_ATTRIBUTE_EXISTS
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
432 void removeAgentTypeAttributes
(
433 in TpString typeName
,
434 in TpStringList attributeNames
,
435 in TpPAMCredential authToken
437 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
439 TpStringList listAgentTypeAttributes
(
440 in TpString typeName
,
441 in TpPAMCredential authToken
443 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
448 interface IpPAMCapabilityManagement
: IpInterface
{
449 void createCapabilityAttribute
(
450 in TpPAMAttributeDef pAttribute
,
451 in TpPAMCredential authToken
453 raises
(TpCommonExceptions
,P_PAM_ATTRIBUTE_EXISTS
,P_PAM_INVALID_CREDENTIAL
);
455 void deleteCapabilityAttribute
(
456 in TpString attributeName
,
457 in TpPAMCredential authToken
459 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
461 TpPAMAttributeDef getCapabilityAttributeDefinition
(
462 in TpString attributeName
,
463 in TpPAMCredential authToken
465 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
467 TpStringList listAllCapabilityAttributes
(
468 in TpPAMCredential authToken
470 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
472 void createCapability
(
473 in TpPAMCapability capabilityName
,
474 in TpStringList attributeNames
,
475 in TpPAMCredential authToken
477 raises
(TpCommonExceptions
,P_PAM_TYPE_EXISTS
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
479 void deleteCapability
(
480 in TpPAMCapability capabilityName
,
481 in TpPAMCredential authToken
483 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
485 TpPAMCapabilityList listCapabilities
(
486 in TpPAMCredential authToken
488 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
490 void addCapabilityAttributes
(
491 in TpPAMCapability capabilityName
,
492 in TpStringList attributeNames
,
493 in TpPAMCredential authToken
495 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_ATTRIBUTE_EXISTS
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
497 void removeCapabilityAttributes
(
498 in TpPAMCapability capabilityName
,
499 in TpStringList attributeNames
,
500 in TpPAMCredential authToken
502 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
504 TpStringList listCapabilityAttributes
(
505 in TpPAMCapability capabilityName
,
506 in TpPAMCredential authToken
508 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
510 void assignCapabilitiesToType
(
511 in TpString agentType
,
512 in TpPAMCapabilityList capabilities
,
513 in TpPAMCredential authToken
515 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_CAPABILITY
,P_PAM_INVALID_CREDENTIAL
);
517 void unassignCapabilitiesFromType
(
518 in TpString agentType
,
519 in TpPAMCapabilityList capabilities
,
520 in TpPAMCredential authToken
522 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_CAPABILITY
,P_PAM_INVALID_CREDENTIAL
);
524 TpPAMCapabilityList listCapabilitiesOfType
(
525 in TpString agentType
,
526 in TpPAMCredential authToken
528 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_TYPE
,P_PAM_INVALID_CREDENTIAL
);
533 interface IpPAMProvisioningManager
: IpService
{
534 TpPAMCredential getAuthToken
(
535 in TpAttributeList askerData
537 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
539 IpInterface obtainInterface
(
540 in TpPAMProvisioningInterfaceName interfaceName
542 raises
(TpCommonExceptions
,P_PAM_UNAVAILABLE_INTERFACE
);
544 TpPAMAccessControlData getAccessControl
(
545 in TpPAMFQName identity
,
546 in TpPAMCredential authToken
548 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
550 void setAccessControl
(
551 in TpPAMFQName identity
,
552 in TpPAMPreferenceOp operation
,
553 in TpPAMAccessControlData newAccessControl
,
554 in TpPAMCredential authToken
556 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
566 interface IpPAMIdentityPresence
: IpInterface
{
567 void setIdentityPresence
(
568 in TpPAMFQName identity
,
569 in TpString identityType
,
570 in TpPAMAttributeList attributes
,
571 in TpPAMCredential authToken
573 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
575 void setIdentityPresenceExpiration
(
576 in TpPAMFQName identity
,
577 in TpString identityType
,
578 in TpStringList attributeNames
,
579 in TpPAMTimeInterval expiresIn
,
580 in TpPAMCredential authToken
582 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
584 TpPAMAttributeList getIdentityPresence
(
585 in TpPAMFQName identity
,
586 in TpString identityType
,
587 in TpStringList attributeNames
,
588 in TpPAMCredential authToken
590 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
595 interface IpPAMAgentPresence
: IpInterface
{
596 void setAgentPresence
(
597 in TpPAMFQName agent
,
598 in TpString agentType
,
599 in TpPAMAttributeList attributes
,
600 in TpPAMCredential authToken
602 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
604 void setCapabilityPresence
(
605 in TpPAMFQName agent
,
606 in TpPAMCapability capability
,
607 in TpPAMAttributeList attributes
,
608 in TpPAMCredential authToken
610 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_CAPABILITY
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
612 void setAgentPresenceExpiration
(
613 in TpPAMFQName agent
,
614 in TpString agentType
,
615 in TpStringList attributeNames
,
616 in TpPAMTimeInterval expiresIn
,
617 in TpPAMCredential authToken
619 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
621 void setCapabilityPresenceExpiration
(
622 in TpPAMFQName agent
,
623 in TpPAMCapability capability
,
624 in TpStringList attributeNames
,
625 in TpPAMTimeInterval expiresIn
,
626 in TpPAMCredential authToken
628 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_NO_CAPABILITY
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
630 TpPAMAttributeList getAgentPresence
(
631 in TpPAMFQName agent
,
632 in TpString agentType
,
633 in TpStringList attributeNames
,
634 in TpPAMCredential authToken
636 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_TYPE
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
638 TpPAMAttributeList getCapabilityPresence
(
639 in TpPAMFQName agent
,
640 in TpPAMCapability capability
,
641 in TpStringList attributeNames
,
642 in TpPAMCredential authToken
644 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_AGENT
,P_PAM_UNKNOWN_CAPABILITY
,P_PAM_UNKNOWN_ATTRIBUTE
,P_PAM_INVALID_CREDENTIAL
);
649 interface IpAppPAMPreferenceCheck
: IpInterface
{
650 TpPAMAvailabilityProfileList computeAvailability
(
651 in TpPAMFQName identity
,
652 in TpPAMContext pamContext
,
653 in TpStringList attributeNames
,
654 in TpPAMCredential authToken
660 interface IpPAMAvailability
: IpInterface
{
661 TpPAMAvailabilityProfileList getAvailability
(
662 in TpPAMFQName identity
,
663 in TpPAMContext pamContext
,
664 in TpStringList attributeNames
,
665 in TpPAMCredential authToken
667 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
669 TpPAMPreferenceData getPreference
(
670 in TpPAMFQName identity
,
671 in TpPAMContext pamContext
,
672 in TpPAMCredential authToken
674 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
677 in TpPAMFQName identity
,
678 in TpPAMContext pamContext
,
679 in TpPAMPreferenceOp operation
,
680 in TpPAMPreferenceData newPreference
,
681 in TpPAMCredential authToken
683 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
688 interface IpPAMPresenceAvailabilityManager
: IpService
{
689 TpPAMCredential getAuthToken
(
690 in TpAttributeList askerData
692 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
694 IpInterface obtainInterface
(
695 in TpPAMPresenceAvailabilityInterfaceName interfaceName
697 raises
(TpCommonExceptions
,P_PAM_UNAVAILABLE_INTERFACE
);
699 TpPAMAccessControlData getAccessControl
(
700 in TpPAMFQName identity
,
701 in TpPAMCredential authToken
703 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
705 void setAccessControl
(
706 in TpPAMFQName identity
,
707 in TpPAMPreferenceOp operation
,
708 in TpPAMAccessControlData newAccessControl
,
709 in TpPAMCredential authToken
711 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
713 void activateService
(
714 in TpPAMFQName identity
,
715 in TpPAMCredential authToken
717 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
719 void deactivateService
(
720 in TpPAMFQName identity
,
721 in TpPAMCredential authToken
723 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
725 TpBoolean isActiveIdentity
(
726 in TpPAMFQName identity
,
727 in TpPAMCredential authToken
729 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
739 interface IpAppPAMEventHandler
: IpInterface
{
741 in TpPAMEventID eventID
,
742 in TpPAMNotificationInfoList eventInfo
745 void eventNotifyErr
(
746 in TpPAMEventID eventID
,
747 in TpPAMErrorInfo errorInfo
753 interface IpPAMEventHandler
: IpInterface
{
754 TpBoolean isRegistered
(
755 in TpPAMClientID clientID
,
756 in TpPAMCredential authToken
758 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
760 TpPAMClientID registerAppInterface
(
761 in IpAppPAMEventHandler appInterface
,
762 in TpPAMCredential authToken
764 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
766 TpPAMEventID registerForEvent
(
767 in TpPAMClientID clientID
,
768 in TpPAMEventInfoList eventList
,
769 in TpDuration validFor
,
770 in TpPAMCredential authToken
772 raises
(TpCommonExceptions
,P_PAM_NOT_REGISTERED
,P_PAM_INVALID_CREDENTIAL
);
774 void deregisterAppInterface
(
775 in TpPAMClientID clientID
,
776 in TpPAMCredential authToken
778 raises
(TpCommonExceptions
,P_PAM_NOT_REGISTERED
,P_PAM_INVALID_CREDENTIAL
);
780 void deregisterFromEvent
(
781 in TpPAMEventID eventID
,
782 in TpPAMCredential authToken
784 raises
(TpCommonExceptions
,P_PAM_NOT_REGISTERED
,P_PAM_INVALID_CREDENTIAL
);
789 interface IpPAMEventManager
: IpService
{
790 TpPAMCredential getAuthToken
(
791 in TpAttributeList askerData
793 raises
(TpCommonExceptions
,P_PAM_INVALID_CREDENTIAL
);
795 IpInterface obtainInterface
(
796 in TpPAMEventInterfaceName interfaceName
798 raises
(TpCommonExceptions
,P_PAM_UNAVAILABLE_INTERFACE
);
800 TpPAMAccessControlData getAccessControl
(
801 in TpPAMFQName identity
,
802 in TpPAMCredential authToken
804 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
806 void setAccessControl
(
807 in TpPAMFQName identity
,
808 in TpPAMPreferenceOp operation
,
809 in TpPAMAccessControlData newAccessControl
,
810 in TpPAMCredential authToken
812 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
814 void activateService
(
815 in TpPAMFQName identity
,
816 in TpPAMCredential authToken
818 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
820 void deactivateService
(
821 in TpPAMFQName identity
,
822 in TpPAMCredential authToken
824 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);
826 TpBoolean isActiveIdentity
(
827 in TpPAMFQName identity
,
828 in TpPAMCredential authToken
830 raises
(TpCommonExceptions
,P_PAM_UNKNOWN_IDENTITY
,P_PAM_INVALID_CREDENTIAL
);