semi合集-English.pdf - 第3395页

SEMI E132.1-0305 © SEMI 2005 22 Figure 17 ACLEntrySelectorType XML Schema Type 8.2.10.1.5 PrivilegeAssign ment Class 8.2.10.1.5 .1 The PrivilegeAssignm ent class is mapped to the XML Privil egeAssignment Type. Table 22 s…

100%1 / 7923
SEMI E132.1-0305 © SEMI 2005 21
8.2.10.1.2.1 The service request is mapped to the XML Schema element GetACLRequest which is of type
GetACLRequestType. There are no input parameters for this operation, thus the XML type is just an empty
construct.
Figure 15
GetACLRequest XML Schema Element
8.2.10.1.3 GetACL Response
8.2.10.1.3.1 The service response is mapped to the XML Schema element GetACLResponse of type
GetACLResponseType. Table 21 shows how the output parameters are mapped to XML. The XML Schema
diagram for GetACLResponse is shown in Figure 16. The ACL is defined as a sequence of one or more elements of
type ACLEntrySelectorType corresponding to the SEMI E132 UML class ACLEntry. Mapping for ACLEntry class
is as described ¶8.2.10.1.4. Errors for this operation are returned using the XML Schema element Error of type
GetACLErrorType. The error type is the same as that defined for the GetDefinedPrivileges operation described in
¶8.2.9.1.5.
Table 21 Translation Table for GetACL Output Parameters
Argument Name Format XML Element or Attribute XML Name/Type
ACL Unordered list Element ACL: ACLEntrySelectorType (one or
more)
error Structured data Element Error: GetACLErrorType
Figure 16
GetACLResponse XML Schema Element
8.2.10.1.4 ACLEntry Class
8.2.10.1.4.1 The ACLEntry class is mapped to the XML Schema type ACLEntryType. ACLEntry is an abstract
base class and there are no attributes or roles defined for this base class, the XML Schema type for ACLEntry is just
a empty sequence. Since there are only two derived classes of ACLEntry defined in SEMI E132, and this
specification prohibits unrecognized extensions of the class, an ACLEntrySelector XML Schema type is defined
which uses choice to select between the XML Schema types for the only 2 derived classes, PrivilegeAssignment and
RoleAssignment. The XML Schema diagram for ACLEntrySelectorType is shown in Figure 17. Schema type
mappings for PrivilegeAssignment and RoleAssignment classes are further described in subsequent sections.
SEMI E132.1-0305 © SEMI 2005 22
Figure 17
ACLEntrySelectorType XML Schema Type
8.2.10.1.5 PrivilegeAssignment Class
8.2.10.1.5.1 The PrivilegeAssignment class is mapped to the XML PrivilegeAssignmentType. Table 22 shows how
the attributes and associations of PrivilegeAssignment class are mapped to XML. As with the XML definition for
the ACLEntry class, the XML SubjectSelectorType provides a choice between the XML types of the only 2 allowed
derived classes of the Subject class, Principal and Role. The XML mapping of Principal and Role classes are
described further by the RoleAssignment class. The XML Schema diagram for PrivilegeAssigmentType is shown in
Figure 18. PrivilegeAssignmentType extends ACLEntryType.
Table 22 Translation Table for PrivilegeAssignment Class
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
subject Association Element Subject: SubjectSelectorType
privileges Association Element Privilege: PrivilegeType (one or more)
Figure 18
PrivilegeAssignment XML Schema Type
8.2.10.1.6 RoleAssignment Class
8.2.10.1.6.1 The RoleAssignment class is mapped to the XML RoleAssignmentType. Table 23 shows how the
attributes and associations of RoleAssignment class are mapped to XML. The XML Schema diagram for
RoleAssigmentType is shown in Figure 19. RoleAssignmentType extends ACLEntryType.
SEMI E132.1-0305 © SEMI 2005 23
Table 23 Translation Table for RoleAssignment Class
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
principal Association Element Principal: PrincipalType
Role Association Element Role: RoleType
Figure 19
RoleAssignment XML Schema Type
8.2.10.1.7 Subject Class
8.2.10.1.7.1 The Subject Class is another abstract base class and is mapped to the XML SubjectType.
Table 24 Translation Table for Subject Class
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
id Text Element ID: xsd:string
8.2.10.1.8 Role Class
8.2.10.1.8.1 The Role class is mapped to the XML RoleType. RoleType extends SubjectType, with no additional
attributes or roles defined.
8.2.10.1.9 Principal Class
8.2.10.1.9.1 The Principal class is mapped to the XML PrincipalType. PrincipalType extends SubjectType, with no
additional attributes or roles defined.
8.2.10.1.10 Privilege Class
8.2.10.1.10.1 The Privilege class is mapped to the XML PrivilegesType.
Table 25 Translation Table for Privilege Class
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
privilegeId Text Element PrivilegeId: xsd:string
8.2.10.2 WSDL Message(s)
8.2.10.2.1 Three messages are defined for this operation corresponding to the SEMI E132 Header, Request and
Response messages. See the message definitions for “E132HeaderMessage”, “GetACLRequestMessage”, and
“GetACLResponseMessage” in E132-SecurityAdmin-PortType.wsdl. Key information is shown for convenience in
Table 26.