I have a Flex web application that runs on j2ee server and
have configured it on server side to require a digital certificate.
What I want to do is parse some data from certificate and put
it in flex application for later use (fill in data such as name,
surname, etc.. in forms). Or maybe to have access to HTTPsession on
Flex side, so I could gather data there.
While I know how to parse a digital certificate using
java-j2ee, I dont know how to push that data to a Flex application.
I'm relatively new to Flex and am currently looking at Data
Services, JSON swf push, BlazeDS, but the data is overwhelming and
after a week of research I still don't know much.
You could have the flex app use an HTTPService on initialize
event, and the server's response would be to parse the certificate
data and return the result, which you assign to a global variable
in the app.