Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 如何使通道安全?I';我正在使用Amf频道,如何为我的频道增加安全性_Apache Flex_Security_Blazeds_Lcds - Fatal编程技术网

Apache flex 如何使通道安全?I';我正在使用Amf频道,如何为我的频道增加安全性

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

我正在使用Amf频道,如何为我的频道添加安全性。

通过SSL发送并使用SecureAMFChannel。

通过SSL发送并使用SecureAMFChannel。

您需要更改频道定义,您可以在以下位置找到它们:

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。。???