Zelestra

Zelestra Standards

PrincipalType

A PrincipalType is an XML schema element type is used to define a real or virtual entity in meta space. PrincipalType extends DefinitionElementType by adding elements particular to principals. PrincipalType  is an abstract type, therefore the example given below is for descriptive purposes only.

Example
<Principal>
  <Name>Principal One</Name>
  <Description>This is a principal.</Description>
  <HomePage>http://www.zelestra.com/principals/principal01.html</HomePage>
  <Services>http://www.zelestra.com/principals/principal01.wsdl"</Services>
  <Certificate>http://www.zelestra.com/principals/principal01.cer</Certificate>
  <Security>http://www.zelestra.com/ipmetadata.xml</Security>
  <Language>en-UK</Language>
  <TimeZone>PST8PDT</TimeZone>
</Principal>

Definition

In addition to the elements supplied by DefinitionElementType:

The Principal element MAY contain a Certificate element. This element is a URI reference to a public copy of an X.509 digital certificate issued by a trusted authority. The certificate may be used to verify any signed messages that are generated by the principal. The data object pointed to by the URI MUST have a file name extension of ".cer". As per RFC 2585, the file MUST contain exactly one certificate, encoded in Distinguished Encoding Rules (DER) format with a MIME type of "application/pkix-cert". The subject Common Name (CN) field of the certificate MUST contain the URI of the principal.

The Principal element MAY contain a Security element. This element is a URI reference to a security metadata file that provides identity and/or service provider information for this principal.

The Principal element MAY contain a Language element. This element is the preferred language of the principal. If an element is not specified, then US English (en-US) is assumed.

The Principal element MAY contain a TimeZone element. This element is the preferred time zone identifier of the principal. If an element is not specified, then UTC is assumed.

PrincipalType is a chameleon schema document that takes on the XML namespace of the including schema document. The appropriate schema location designation is http://zlst.org/schemas/2001/PrincipalType/PrincipalType.xsd.