removed security references

This commit is contained in:
Jonas Partner
2008-06-25 17:30:12 +00:00
parent 5709c4e144
commit 9ed5cc6a61
2 changed files with 0 additions and 31 deletions

View File

@@ -49,9 +49,6 @@ public abstract class AbstractChannelParser extends AbstractSingleBeanDefinition
private static final String INTERCEPTORS_PROPERTY = "interceptors";
private static final String SECURED_ELEMENT ="secured";
@Override
protected boolean shouldGenerateId() {
return false;
@@ -85,10 +82,6 @@ public abstract class AbstractChannelParser extends AbstractSingleBeanDefinition
String ref = ((Element) child).getAttribute("ref");
interceptors.add(new RuntimeBeanReference(ref));
}
else if (SECURED_ELEMENT.equals(localName)) {
parserContext.getReaderContext().getNamespaceHandlerResolver().resolve(
element.getNamespaceURI()).parse((Element)child, parserContext);
}
}
}
String datatypeAttr = element.getAttribute(DATATYPE_ATTRIBUTE);

View File

@@ -120,7 +120,6 @@
<xsd:sequence>
<xsd:element ref="dispatcher-policy" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="interceptor" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="secured" type="securedType" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:ID" use="required"/>
<xsd:attribute name="publish-subscribe" type="xsd:boolean" default="false"/>
@@ -438,27 +437,4 @@
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="secure-channels" type="secureChannelsType"/>
<xsd:complexType name="securedType">
<xsd:annotation>
<xsd:documentation>
Defines a security interceptor.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="receive-access" type="xsd:string"/>
<xsd:attribute name="send-access" type="xsd:string"/>
<xsd:attribute name="access-decision-manager" type="xsd:string"/>
<xsd:attribute name="propagate" type="xsd:boolean" default="true"/>
</xsd:complexType>
<xsd:complexType name="secureChannelsType">
<xsd:annotation>
<xsd:documentation>
Defines a bean post processor which propagates the security context.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="propagate" type="xsd:boolean" default="true"/>
</xsd:complexType>
</xsd:schema>