How verify the message sent to my-secure-amf channel
hi all,
my problem bit odd.
we built application on remoteobject + blazeds + java ejb (jaas required).
there 2 target deployment environments, websphere 7 , jboss 5.1.0 ga , both environments work under http.
now want support https , got problem happend jboss following.
no matter https port used, firefox access application without issue.
ie8 works fine when using default 443 https port.
debug mode not work https default port 443.
i have set logger blazeds info level , information output in console when accessing. when set https port other 443, there no output blazeds.
i have concern client side not send proper message correct port.
i appreciate tell me how verify message sending.
we have configured 2 channel my-amf , my-secure-amf , configured default channels in remote-config.xml.
service-config.xml
<security>
<login-command class="flex.messaging.security.webspherelogincommand" server="websphere"/>
<login-command class="flex.messaging.security.tomcatlogincommand" server="jboss"/>
<security-constraint id="web-access">
<auth-method>custom</auth-method>
<roles>
<role>webaccessor</role>
</roles>
</security-constraint>
</security>
<channels>
<channel-definition id="my-amf" class="mx.messaging.channels.amfchannel">
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.amfendpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<!-- https requests don't work on ie when pragma "no-cache" headers set. -->
<add-no-cache-headers>false</add-no-cache-headers>
<!-- use limit client channel's connect attempt specified time interval. -->
<connect-timeout-seconds>5</connect-timeout-seconds>
<login-after-disconnect>false</login-after-disconnect>
<invalidate-session-on-disconnect>true</invalidate-session-on-disconnect>
<serialization>
<ignore-property-errors>true</ignore-property-errors>
<log-property-errors>true</log-property-errors>
</serialization>
</properties>
</channel-definition>
<channel-definition id="my-secure-amf" class="mx.messaging.channels.secureamfchannel">
<endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.secureamfendpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<add-no-cache-headers>false</add-no-cache-headers>
<connect-timeout-seconds>10</connect-timeout-seconds>
<login-after-disconnect>false</login-after-disconnect>
<invalidate-session-on-disconnect>true</invalidate-session-on-disconnect>
<serialization>
<ignore-property-errors>true</ignore-property-errors>
<log-property-errors>true</log-property-errors>
</serialization>
</properties>
</channel-definition>
<channel-definition id="my-polling-amf" class="mx.messaging.channels.amfchannel">
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.amfendpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>4</polling-interval-seconds>
</properties>
</channel-definition>
<channels>
remote-config.xml
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.javaadapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
<channel ref="my-secure-amf"/>
</default-channels>
<!-- enable security service calls -->
<default-security-constraint ref="web-access"/>
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment