Changed 'target-endpoint' to 'channel-adapter'.

This commit is contained in:
Mark Fisher
2008-07-05 20:07:35 +00:00
parent b2be3f4d58
commit 1a6448b3d8
2 changed files with 5 additions and 5 deletions

View File

@@ -14,15 +14,15 @@
<message-bus auto-create-channels="false" />
<beans:bean id="testTarget"
class="org.springframework.integration.security.endpoint.TestTarget" />
class="org.springframework.integration.security.endpoint.TestTarget"/>
<direct-channel id="testChannel"></direct-channel>
<direct-channel id="testChannel"/>
<target-endpoint target="testTarget" input-channel="testChannel">
<channel-adapter target="testTarget" channel="testChannel">
<interceptors>
<si-security:endpoint-security-policy access="ROLE_ADMIN" />
</interceptors>
</target-endpoint>
</channel-adapter>
<beans:bean id="accessDecisionManager"

View File

@@ -31,7 +31,7 @@ import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
@ContextConfiguration
public class EnpointSecurityIntegrationTest extends AbstractJUnit4SpringContextTests {
public class EndpointSecurityIntegrationTest extends AbstractJUnit4SpringContextTests {
@Autowired
MessageChannel channel;