summaryrefslogtreecommitdiffabout
AgeCommit message (Collapse)AuthorFilesLines
2008-06-25update libcurl.m4 to fix breakage with -Wl,--as-needed ld flagsMichael Krelin1-24/+55
Thanks to Samuli Suominen of Gentoo project for spotting it Signed-off-by: Michael Krelin <hacker@klever.net>
2008-06-25do not attempt to build programs dependent on absent librariesMichael Krelin1-1/+4
Thanks, Joseph, for spotting it! In addition, thanks for spotting it again in openid20 branch to Brian of Butterfat ;-) Conflicts: test/Makefile.am Signed-off-by: Michael Krelin <hacker@klever.net>
2008-04-06fix for discovery failing on some entities coming before the tag of interestMichael Krelin1-0/+1
One of the numerous opportunities to express my gratitude by means of commit message to Joseph Smarr of Plaxo for spotting it. Thanks, Joseph! Signed-off-by: Michael Krelin <hacker@klever.net>
2008-04-06Merge commit '1e3ed01c149aaeed5a64aacff218a5486128fc92' into devel/openid20Michael Krelin8-100/+157
2008-04-06empty trust_root is no trust root.Michael Krelin1-0/+6
work around some thoughtful and considerate RPs that take the pain of sending the trust_root parameter, but do not go into as much trouble as setting it to anything but an empty string. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-04added curl_slist wrapperMichael Krelin2-0/+40
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-04propagate results of libuuid detectionMichael Krelin2-1/+5
* add AC_DEFINE to configure.ac * add dependency to libopkele.pc.in Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03renamed basic_message to basic_fieldsMichael Krelin4-91/+97
since oauth fieldsets aren't really messages Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03removed basic_message::fields_t typedefMichael Krelin1-1/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03introduced base_message class as a base for basic_openid_messageMichael Krelin3-65/+73
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03added append_to() to basic_openid_messageMichael Krelin2-3/+7
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02aded util::url_decode()Michael Krelin2-1/+37
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02reinstated prefix handling in query buildingMichael Krelin2-11/+13
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02made util::url_encode refrain from encoding unreserved charsMichael Krelin1-6/+33
as per rfc 3986 Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02added missing include to util-internal.hMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-22fix the discovery for the case when identity URL points to XRDS document.Michael Krelin1-1/+7
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-19added an identifier normalization utility functionMichael Krelin5-12/+53
* moved iname leader characters and whitespace characters strings to opkele::data namespace * added opkele::util::normalize_identifier() function Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-19basic_RP: add methods for accessing identity information passed from OP.Michael Krelin2-2/+63
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-19use local array for hmac when calculating signatureMichael Krelin1-4/+7
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-16do not tidy XRD documentsMichael Krelin1-2/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-16moved some stuff out of the now installed util.h headerMichael Krelin8-82/+110
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-15small fix to openid message find_ns methodMichael Krelin1-2/+4
it foolishly failed in presence of ns field and absence of namespace in question. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-12slight api improvement to ease caching of discovery informationMichael Krelin4-4/+19
* added opend_endpoint_output_iterator to types.h * changed endpoint_discovery_iterator to the aforementioned iterator typedef * added discover() virtual to prequeue_RP and made use thereof. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-11more cleanupMichael Krelin1-1/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-11removed obsoleted functions in test RPMichael Krelin1-28/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-11allow to add prefix to generated htmlhiddensMichael Krelin2-6/+10
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-09OP fixesMichael Krelin1-3/+3
* allocate stateful handles when processing associate request * use the expiration from allocated handle, not empty shared_ptr Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08minor fixes and making compiler a bit happierMichael Krelin16-77/+77
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08a bit of doxygenation for prequeue_RPMichael Krelin1-1/+8
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08renamed verify_op to verify_OPMichael Krelin4-4/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08further doxygenation of basic_OP, extension_t and verify_OPMichael Krelin3-0/+21
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08further doxygenation of basic_OPMichael Krelin1-2/+75
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08renamed basic_op class to basic_OPMichael Krelin5-29/+134
and doxygenated basic_OP a bit. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08do not allocate stateless assoc ahead of timeMichael Krelin1-5/+4
that would just pollute the database Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-04reworked extensions frameworkMichael Krelin10-67/+121
* changed {checkid,id_res}_hook to {rp,op}_{checkid,id_res}_hook * deprecated older hooks, although implemented it in sreg and chain extensions * added extension processing to basic_op * added sreg to test OP Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03openid 1 compatibility fix in OPMichael Krelin1-0/+1
I shouldn't be failing if there's no claimed_id field for OpenID 1 request. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03added test OPMichael Krelin4-4/+452
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03added verify_op that performs discovery on the relying partyMichael Krelin4-6/+73
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03added provisions for discovery on RPMichael Krelin2-11/+39
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03moved openid_endpoint_t to types.hMichael Krelin2-18/+18
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03added return_to service type to uris.hMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02moved uri matching into separate procedureMichael Krelin3-32/+41
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02added missing basic_op.h headerMichael Krelin1-0/+68
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02check if return_to matches realmMichael Krelin2-0/+45
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02first rough cut on OP 2.0 implementationMichael Krelin4-1/+350
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02added util::attr_escapeMichael Krelin2-0/+26
escaping string for inclusion into x(ht)ml attributes Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02generate html form hiddens from the openid messageMichael Krelin2-0/+22
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-31fixed kingate_openid_message code in test areaMichael Krelin1-2/+3
rethrow kingate's notfound exceptions as opkele ones. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-31test: moved kingate_openid_message wrapper into a separate .hMichael Krelin2-109/+109
again, to be used in sample OP Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-31added util::change_mode_message_proxy classMichael Krelin2-19/+20
generatlized checkauth_message_proxy and added it to util namespace. To be later used for constructing setup url in 1.0 checkid_immediate reply. Signed-off-by: Michael Krelin <hacker@klever.net>