source:
fedd/abac-src/rtml/examples/Email/cred1.xml
@
c410e3a4
Last change on this file since c410e3a4 was 8780cbec, checked in by , 15 years ago | |
---|---|
|
|
File size: 923 bytes |
Rev | Line | |
---|---|---|
[8780cbec] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <Credential xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\rtml\Credentials.xsd"> | |
3 | <Issuer> | |
4 | <!-- The following is cheating. We should use a name space (maybe XML Signature) that defines elements like RSAKey and use the RSAKey element instead of StringValue here.--> | |
5 | <Principal><StringValue>RSA:abc123456</StringValue></Principal> | |
6 | </Issuer> | |
7 | <ImportDomain domain="email" source="C:\rtml\examples\email\EmailSpec.xml"/> | |
8 | <RoleDefinition> | |
9 | <Head> | |
10 | <RoleTerm roleName="EMailAddress" domain="email"> | |
11 | <Parameter name="domain"> | |
12 | <TreeValue>stanford.edu</TreeValue> | |
13 | </Parameter> | |
14 | <Parameter name="user"> | |
15 | <StringValue>ninghui</StringValue> | |
16 | </Parameter> | |
17 | </RoleTerm> | |
18 | </Head> | |
19 | <Body> | |
20 | <Principal><StringValue>DSA:4401ff92</StringValue></Principal> | |
21 | </Body> | |
22 | </RoleDefinition> | |
23 | </Credential> |
Note: See TracBrowser
for help on using the repository browser.