|
@@ -855,7 +855,13 @@
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
<xs:element name="messages">
|
|
<xs:element name="messages">
|
|
<xs:annotation>
|
|
<xs:annotation>
|
|
- <xs:documentation>Messages
|
|
|
|
|
|
+ <xs:documentation>Allows securing a Message Broker. There are two modes. If no id is specified: ensures that
|
|
|
|
+ any SimpAnnotationMethodMessageHandler has the AuthenticationPrincipalArgumentResolver
|
|
|
|
+ registered as a custom argument resolver; ensures that the
|
|
|
|
+ SecurityContextChannelInterceptor is automatically registered for the
|
|
|
|
+ clientInboundChannel; and that a ChannelSecurityInterceptor is registered with the
|
|
|
|
+ clientInboundChannel. If the id is specified, creates a ChannelSecurityInterceptor that
|
|
|
|
+ can be manually registered with the clientInboundChannel.
|
|
</xs:documentation>
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:complexType>
|
|
@@ -868,14 +874,20 @@
|
|
<xs:attributeGroup name="messages.attrlist">
|
|
<xs:attributeGroup name="messages.attrlist">
|
|
<xs:attribute name="id" type="xs:token">
|
|
<xs:attribute name="id" type="xs:token">
|
|
<xs:annotation>
|
|
<xs:annotation>
|
|
- <xs:documentation>the id
|
|
|
|
|
|
+ <xs:documentation>A bean identifier, used for referring to the bean elsewhere in the context. If specified,
|
|
|
|
+ explicit configuration within clientInboundChannel is required. If not specified, ensures
|
|
|
|
+ that any SimpAnnotationMethodMessageHandler has the
|
|
|
|
+ AuthenticationPrincipalArgumentResolver registered as a custom argument resolver; ensures
|
|
|
|
+ that the SecurityContextChannelInterceptor is automatically registered for the
|
|
|
|
+ clientInboundChannel; and that a ChannelSecurityInterceptor is registered with the
|
|
|
|
+ clientInboundChannel.
|
|
</xs:documentation>
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
</xs:attribute>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
<xs:element name="message-interceptor">
|
|
<xs:element name="message-interceptor">
|
|
<xs:annotation>
|
|
<xs:annotation>
|
|
- <xs:documentation>Message
|
|
|
|
|
|
+ <xs:documentation>Creates an authorization rule for a message.
|
|
</xs:documentation>
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:complexType>
|
|
@@ -885,13 +897,17 @@
|
|
<xs:attributeGroup name="message-interceptor.attrlist">
|
|
<xs:attributeGroup name="message-interceptor.attrlist">
|
|
<xs:attribute name="pattern" type="xs:token">
|
|
<xs:attribute name="pattern" type="xs:token">
|
|
<xs:annotation>
|
|
<xs:annotation>
|
|
- <xs:documentation>pattern
|
|
|
|
|
|
+ <xs:documentation>The destination ant pattern which will be mapped to the access attribute. For example, /**
|
|
|
|
+ matches any message with a destination, /admin/** matches any message that has a
|
|
|
|
+ destination that starts with admin.
|
|
</xs:documentation>
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
</xs:attribute>
|
|
<xs:attribute name="access" type="xs:token">
|
|
<xs:attribute name="access" type="xs:token">
|
|
<xs:annotation>
|
|
<xs:annotation>
|
|
- <xs:documentation>access
|
|
|
|
|
|
+ <xs:documentation>The access configuration attributes that apply for the configured message. For example,
|
|
|
|
+ permitAll grants access to anyone, hasRole('ROLE_ADMIN') requires the user have the role
|
|
|
|
+ 'ROLE_ADMIN'.
|
|
</xs:documentation>
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
</xs:attribute>
|