formatting

This commit is contained in:
Mark Fisher
2008-09-15 13:02:51 +00:00
parent a4daf1c0f7
commit 9b451eca65
2 changed files with 6 additions and 9 deletions

View File

@@ -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"/>

View File

@@ -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;
}
}