WebSphere eXtreme Scale Administration Guide > Configure WebSphere eXtreme Scale > Configuring with XML files > Security descriptor XML file



objectGridSecurity.xsd file


Use the following ObjectGrid security XML schema to enable security to an eXtreme Scale deployment.

See the Security descriptor XML file for descriptions of the elements and attributes defined in the objectGridSecurity.xsd file.

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:cc="http://ibm.com/ws/objectgrid/config/security"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://ibm.com/ws/objectgrid/config/security"
    elementFormDefault="qualified">

    <xsd:element name="securityConfig">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="security" type="cc:security" />
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>

    <xsd:complexType name="security">
        <xsd:sequence>
            <xsd:element name="authenticator" type="cc:bean" minOccurs="0" 
                maxOccurs="1" />
            <xsd:element name="adminAuthorization" type="cc:bean" minOccurs="0" 
                maxOccurs="1" />
            <xsd:element name="systemCredentialGenerator" type="cc:bean" minOccurs="0" 
                maxOccurs="1" />
        </xsd:sequence>
        <xsd:attribute name="securityEnabled" type="xsd:boolean" use="optional" />
        <xsd:attribute name="singleSignOnEnabled" type="xsd:boolean" use="optional"/>
        <xsd:attribute name="loginSessionExpirationTime" type="xsd:int" use="optional"/>
        <xsd:attribute name="adminAuthorizationMechanism" type="cc:adminAuthorizationMechanism" 
            use="optional"/>
        <xsd:attribute name="adminAuthorizationEnabled" type="xsd:boolean" use="optional" />
    </xsd:complexType>

    <xsd:complexType name="bean">
        <xsd:sequence>
            <xsd:element name="property" type="cc:property" maxOccurs="unbounded" minOccurs="0" />
        </xsd:sequence>
        <xsd:attribute name="className" type="xsd:string" use="required" />
    </xsd:complexType>

    <xsd:complexType name="property">
        <xsd:attribute name="name" type="xsd:string" use="required" />
        <xsd:attribute name="value" type="xsd:string" use="required" />
        <xsd:attribute name="type" type="cc:propertyType" use="required" />
        <xsd:attribute name="description" type="xsd:string" use="optional" />
    </xsd:complexType>

    <xsd:simpleType name="propertyType">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="java.lang.Boolean" />
            <xsd:enumeration value="boolean" />
            <xsd:enumeration value="java.lang.String" />
            <xsd:enumeration value="java.lang.Integer" />
            <xsd:enumeration value="int" />
            <xsd:enumeration value="java.lang.Double" />
            <xsd:enumeration value="double" />
            <xsd:enumeration value="java.lang.Byte" />
            <xsd:enumeration value="byte" />
            <xsd:enumeration value="java.lang.Short" />
            <xsd:enumeration value="short" />
            <xsd:enumeration value="java.lang.Long" />
            <xsd:enumeration value="long" />
            <xsd:enumeration value="java.lang.Float" />
            <xsd:enumeration value="float" />
            <xsd:enumeration value="java.lang.Character" />
            <xsd:enumeration value="char" />
        </xsd:restriction>
    </xsd:simpleType>
    
    <xsd:simpleType name="adminAuthorizationMechanism">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="AUTHORIZATION_MECHANISM_JAAS" />
            <xsd:enumeration value="AUTHORIZATION_MECHANISM_CUSTOM" />
        </xsd:restriction>
    </xsd:simpleType>

</xsd:schema>



Parent topic

Security descriptor XML file


+

Search Tips   |   Advanced Search