123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xsd:schema targetNamespace="http://websphere.ibm.com/xml/ns/javaee"
- xmlns="http://websphere.ibm.com/xml/ns/javaee"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" attributeFormDefault="unqualified"
- version="1.1">
- <!-- ******************************************************* -->
- <xsd:annotation>
- <xsd:documentation>
- Copyright (c) 2010 IBM Corporation and others.
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html
- Contributors:
- IBM Corporation - initial API and implementation
- </xsd:documentation>
- </xsd:annotation>
- <!-- ******************************************************* -->
- <xsd:include schemaLocation="ibm-common-bnd_1_1.xsd"></xsd:include>
- <xsd:element name="application-bnd" type="application-bndType">
- <xsd:annotation>
- <xsd:documentation>
- The root of the ibm-application-bnd deployment
- descriptor.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <!-- ******************************************************* -->
- <xsd:complexType name="application-bndType">
- <xsd:sequence>
- <xsd:element name="security-role" type="security-roleType" maxOccurs="unbounded" minOccurs="0" />
- <xsd:element name="profile" type="profileType" maxOccurs="unbounded" minOccurs="0" />
- <xsd:element name="jaspi-ref" type="jaspi-refType" minOccurs="0" maxOccurs="1" />
- <xsd:element name="data-source" type="data-sourceType" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="env-entry" type="env-entryType" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:group ref="ref-bindingsGroup" />
- </xsd:sequence>
- <xsd:attribute name="version" type="xsd:string" fixed="1.1"
- use="required" />
- <xsd:attribute name="id" type="xsd:ID" />
- </xsd:complexType>
- <!-- ******************************************************* -->
- <xsd:complexType name="security-roleType">
- <xsd:sequence>
- <!-- Users, groups and special-subjects are part of the RoleAssignment for this security-role -->
- <xsd:element name="user" type="userType" minOccurs="0"
- maxOccurs="unbounded" />
- <xsd:element name="group" type="groupType" minOccurs="0"
- maxOccurs="unbounded" />
- <xsd:element name="special-subject"
- type="special-subjectType" minOccurs="0" maxOccurs="unbounded" />
- <!-- Run-as defines the RunAsBinding for this security-role -->
- <xsd:element name="run-as" type="run-asType" minOccurs="0"
- maxOccurs="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="id" type="xsd:ID" />
- </xsd:complexType>
- <!-- ******************************************************* -->
- <xsd:complexType name="subjectType">
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <!-- Access-id is for use by WebSphere, and should not be set by users -->
- <xsd:attribute name="access-id" type="xsd:string" />
- <xsd:attribute name="id" type="xsd:ID" />
- </xsd:complexType>
- <!-- ******************************************************* -->
- <xsd:complexType name="userType">
- <xsd:complexContent>
- <xsd:extension base="subjectType" />
- </xsd:complexContent>
- </xsd:complexType>
- <!-- ******************************************************* -->
- <xsd:complexType name="groupType">
- <xsd:complexContent>
- <xsd:extension base="subjectType" />
- </xsd:complexContent>
- </xsd:complexType>
- <!-- ******************************************************* -->
- <xsd:complexType name="special-subjectType">
- <xsd:attribute name="type" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="EVERYONE" />
- <xsd:enumeration value="ALL_AUTHENTICATED_USERS" />
- <xsd:enumeration
- value="ALL_AUTHENTICATED_IN_TRUSTED_REALMS" />
- <!-- SERVER should not be used, it is for backward compatibility only -->
- <xsd:enumeration value="SERVER" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="id" type="xsd:ID" />
- </xsd:complexType>
- <!-- ******************************************************* -->
- <xsd:complexType name="run-asType">
- <xsd:attribute name="userid" type="xsd:string" use="required" />
- <xsd:attribute name="password" type="xsd:string" />
- <xsd:attribute name="id" type="xsd:ID" />
- </xsd:complexType>
- <!-- ******************************************************* -->
- <xsd:complexType name="profileType">
- <xsd:sequence>
- <xsd:element name="client-profile" type="client-profileType"
- minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="id" type="xsd:ID" />
- </xsd:complexType>
- <!-- ******************************************************* -->
- <xsd:complexType name="client-profileType">
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="id" type="xsd:ID" />
- </xsd:complexType>
- </xsd:schema>
|