Re:Re: compile a file written by C++ into apache

2010-11-30 Thread whut_jia
At 2010-11-30 20:57:24,Ben Noordhuis i...@bnoordhuis.nl wrote: 2010/11/30 whut_jia whut_...@163.com: I write a module by C++ supporting the generation of SAML assertion, so in my module I called the OpenSAML Library.The question is how I compile this source file written by c++ language

Re: compile a file written by C++ into apache

2010-11-30 Thread whut_jia
Hi,thank you for your reply.Because I called the third-party Library,so I want to write a module with c++ ,in which I can call the function directly.Can you give me some help how I compile module written by c++ into apache DSO file.I used apxs tool but it failed.This tool can't compiling c++

Re:Re: Re: compile a file written by C++ into apache

2010-11-30 Thread whut_jia
At 2010-11-30 21:58:56,Ben Noordhuis i...@bnoordhuis.nl wrote: 2010/11/30 whut_jia whut_...@163.com: In Apache2.2, I compile a c++ source file with g++ as below: g++ -fPIC -shared -o mod_validate.so mod_validate.cpp -I/usr/include/httpd -I/usr/include/apr-1 -I/opt/opensaml/include After

Re: how to add mod_session_crypto into apache

2010-11-25 Thread whut_jia
At 2010-11-25 18:05:55,Rainer Jung rainer.j...@kippdata.de wrote: On 25.11.2010 03:30, whut_jia wrote: At 2010-11-24 22:15:43,Rainer Jungrainer.j...@kippdata.de wrote: On 24.11.2010 13:57, whut_jia wrote: Hi, I want to add mod_session_crypto into my apache server, so I run this command

how to add mod_session_crypto into apache

2010-11-24 Thread whut_jia
Hi, I want to add mod_session_crypto into my apache server, so I run this command below for configuring the source tree: ./configur --prefix=/usr/local/apache2.3 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --enable-mods-shared=all session_crypto But there are always these errors

Re:Re: how to add mod_session_crypto into apache

2010-11-24 Thread whut_jia
At 2010-11-24 22:15:43,Rainer Jung rainer.j...@kippdata.de wrote: On 24.11.2010 13:57, whut_jia wrote: Hi, I want to add mod_session_crypto into my apache server, so I run this command below for configuring the source tree: ./configur --prefix=/usr/local/apache2.3 --with-apr=/usr/local

Re:Re: add cookie in handler process

2010-09-20 Thread whut_jia
I want to ask what kind of relationship between external redirect and subrequest ?? Thanks, Jia

add cookie in handler process

2010-09-19 Thread whut_jia
Hello, I am new to apache module development,and now I have a problem. Now,I am writing a handler module.In this module,I need validate username/password infomation sent by user.After validating,I set cookie into headers_out(apr_table_set(r-headers_out,Ser-Cookie,)),and then do external

Re:Re: add cookie in handler process

2010-09-19 Thread whut_jia
Thank you,According to your ways,I use r-err_headers_out .The question is resolved! But I want ask why?Why did I can't set cookie directly in the main request r-headers_out?? Thanks, Jia At 2010-09-20 02:09:54,Sorin Manolache sor...@gmail.com wrote: 2010/9/19 whut_jia whut_...@163.com

opensaml unmarshall Exception

2010-07-22 Thread whut_jia
Hi, Thank you for your suggestion and your concern ! That question last weekend have been resolved .But when I unmarshall DOM Document into SAML Object , there is an error : Caught an XMLSecurity exception while loading signature :OpenSSL : X509--Error transating Base64 DER encoding into

Re:Re: Re: a questions about calling opensaml lib

2010-07-19 Thread whut_jia
Ohh!You are right that my apache server work as a prefork MPM!Are there some examples?? You didn't mention what MPM you are using but I assume it's the prefork one. You need to register a hook with ap_hook_child_init() and call SAMLConfig::getConfig().init() from there.

Re:Re: a questions about calling opensaml lib

2010-07-17 Thread whut_jia
Ohh!Thank you for your answer! The OpenSAML Library I am using is a set of open source C++ libraries meant to support developers working with the Security Assertion Markup Language.You can see https://spaces.internet2.edu/display/OpenSAML/Home/ Is this with the prefork or threaded MPM? And