Apache flex 如何使通道安全?I';我正在使用Amf频道,如何为我的频道增加安全性
我正在使用Amf频道,如何为我的频道添加安全性。通过SSL发送并使用SecureAMFChannel。通过SSL发送并使用SecureAMFChannel。您需要更改频道定义,您可以在以下位置找到它们:Apache flex 如何使通道安全?I';我正在使用Amf频道,如何为我的频道增加安全性,apache-flex,security,blazeds,lcds,Apache Flex,Security,Blazeds,Lcds,我正在使用Amf频道,如何为我的频道添加安全性。通过SSL发送并使用SecureAMFChannel。通过SSL发送并使用SecureAMFChannel。您需要更改频道定义,您可以在以下位置找到它们: WEB-INF/flex/services-config.xml 更改或添加安全定义和端点-以下是一个示例: <channel-definition id="my-server" class="mx.messaging.channels.AMFChannel"> <e
WEB-INF/flex/services-config.xml
更改或添加安全定义和端点-以下是一个示例:
<channel-definition id="my-server" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}/{context.root}/amf" class="flex.messaging.endpoints.AMFEndpoint" />
</channel-definition>
<channel-definition id="my-server-secure" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://{server.name}:443/{context.root}/amf" class="flex.messaging.endpoints.SecureAMFEndpoint" />
</channel-definition>
注意,当您通过SSL(https/端口443)进行连接时,类必须不同
有意义吗?您需要更改通道def,您可以在以下位置找到它们:
WEB-INF/flex/services-config.xml
更改或添加安全定义和端点-以下是一个示例:
<channel-definition id="my-server" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}/{context.root}/amf" class="flex.messaging.endpoints.AMFEndpoint" />
</channel-definition>
<channel-definition id="my-server-secure" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://{server.name}:443/{context.root}/amf" class="flex.messaging.endpoints.SecureAMFEndpoint" />
</channel-definition>
注意,当您通过SSL(https/端口443)进行连接时,类必须不同
有意义吗?针对哪些攻击进行安全保护?针对哪些攻击进行安全保护?如何通过SSL发送?我以前从未这样做过,,,任何指向..的链接。。如何实现SSL..???如何通过SSL发送它?我以前从来没有这样做过,,任何指向..的链接。。如何实现SSL。。???