formatting
This commit is contained in:
@@ -14,26 +14,23 @@
|
||||
<xsd:complexType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Defines security requirements for one or more
|
||||
message channels
|
||||
Defines security requirements for one or more Message Channels.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="channel-name-pattern" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="receive-access" type="xsd:string" />
|
||||
<xsd:attribute name="send-access" type="xsd:string" />
|
||||
<xsd:attribute name="send-access" type="xsd:string"/>
|
||||
<xsd:attribute name="receive-access" type="xsd:string"/>
|
||||
<xsd:attribute name="access-decision-manager" type="xsd:string" default="accessDecisionManager"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
|
||||
<xsd:element name="endpoint-security-policy">
|
||||
<xsd:complexType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Defines security requirements for one or more
|
||||
Targets
|
||||
Defines security requirements for one or more Message Endpoints.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:attribute name="access" type="xsd:string" use="required"/>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.integration.security;
|
||||
|
||||
import org.springframework.security.GrantedAuthority;
|
||||
@@ -22,9 +23,7 @@ import org.springframework.security.context.SecurityContextImpl;
|
||||
import org.springframework.security.providers.UsernamePasswordAuthenticationToken;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Jonas Partner
|
||||
*
|
||||
*/
|
||||
public class SecurityTestUtil {
|
||||
|
||||
@@ -44,4 +43,5 @@ public class SecurityTestUtil {
|
||||
ctxImpl.setAuthentication(authToken);
|
||||
return ctxImpl;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user