TAILIEUCHUNG - ColdFusion Developer’s Guide phần 7

Để xác định các thông tin trong các điểm đến Flex, bạn chỉnh sửa các tập tin dữ liệu quản trong thư mụccủa máy chủ mà trên đó bạn chạy các ứng dụng Flex. Trong các yếu tố thuộc tính, bao gồm các yếu tố từ xa tên người dùng và mật khẩu từ xa, như sau: | ADOBE COLDFUSION 8 703 ColdFusion Developer s Guide Specifying credentials in the Flex destination Specifying credentials in ActionScript To specify credentials in ActionScript you use the setRemoteCredentials method as the following example shows ds new DataService mydest wilsont password Specifying credentials in the Flex destination To specify credentials in the Flex destination you edit the file that is in the WEB-INF flex folder of the server on which you run the Flex application. In the properties element you include the remote-username and remote-password elements as follows destination id cfcontact adapter ref coldfusion-dao channels channel ref cf-dataservice-rtmp channels properties source source scope application scope remote-username wilsont remote-username remote-password password remote-password . properties destination Enabling SSL You encrypt communication between ColdFusion and Flex by enabling Secure Sockets Layer SSL . Enabling SSL only makes sense if you are running LiveCycle Data Services ES remotely. To use SSL you must create a keystore file. The keystore is a self-signed certificate. You do not require a certificate signed by a Certificate Authority although if you do use one you do not have to configure Flex as indicated in the following steps. The information in the keystore is encrypted and can be accessed only with the password that you specify. To create the keystore you use the Java keytool utility which is included in your Java Runtime Environment JRE . To enable SSL you do the following Create the keystore Configure Flex Enable SSL in the ColdFusion Administrator Create the keystore 1 Generate the SSL server ColdFusion keystore file by using the keytool utility with a command similar to the following keytool -genkey -v -alias FlexAssembler -dname cn FlexAssembler -keystore -keypass mypassword -storepass mypassword The following table .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.