| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
added support for converting xmlNode* as return type to PyString
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-11-01 17:02:26.261000+01:00
|
|
|
|
|
|
|
|
|
| |
don't return a value for methods that do not return a value, and convert
returned value to object for methods returning objects.
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-11-01 16:51:55.007000+01:00
|
|
|
|
|
|
|
|
| |
raise lasso.Error instead of base Exception on constructor error
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-11-01 16:46:34.882000+01:00
|
|
|
|
|
|
|
|
| |
raise exception when constructor fails
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-11-01 16:41:09.647000+01:00
|
|
|
|
|
|
|
|
| |
fixed setters for object members that are LassoNode
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-31 17:16:15.654000+01:00
|
|
|
|
|
|
|
|
| |
raise TypeError when assigning a Python list to a member expecting a tuple
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-31 17:10:08.047000+01:00
|
|
|
|
|
|
|
|
|
| |
moved identifier name formatting functions to their own module, so they are not
duplicated everywhere.
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-31 12:45:22.367000+01:00
|
|
|
|
|
|
|
|
|
|
|
| |
API compatibility with SWIG bindings which didn't have accessors for those
methods and used totally pythonified method name instead, such as
Logout::getNextProviderId; also improved python method naming converter
function to correctly translate ID to Id.
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-29 18:55:34.577000+01:00
|
|
|
|
|
|
|
|
| |
output warning to stderr
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-29 18:44:09.130000+01:00
|
|
|
|
|
|
|
|
| |
fixed two places which had not been converted to new cptr/type
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-28 20:20:51.103000+01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
added Makefile.am files; to integrate within lasso build tree (under a
bindings/ directory), this also requires to add those three lines to
configure.ac AC_OUTPUT:
bindings/Makefile
bindings/python/Makefile
bindings/php5/Makefile
also changed generation script to output files in the current directory
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-28 15:03:59.480000+01:00
|
|
|
|
|
|
|
|
| |
merged PHP5 support from Damien
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-28 14:28:49.939000+01:00
|
|
|
|
|
|
|
|
|
| |
build without ID-WSF support by default, adding a --enable-id-wsf parameter to
enable it. Also some generated C cleaning.
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-10 15:32:36.162000+02:00
|
|
|
|
|
|
|
|
| |
added licence header, help text, command-line options and renamed script
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-08 15:58:40.683000+02:00
|
|
|
|
|
|
|
|
| |
some support to generate python docstrings (on methods)
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-08 13:30:45.285000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
completed support for get/setters of list of objects
s = lasso.Saml2Assertion()
s2 = lasso.Saml2AuthnStatement()
s2.sessionIndex = 'plop'
s3 = lasso.Saml2AuthnStatement()
s3.sessionIndex = 'plop2'
s.authnStatement = (s2, s3)
print s.authnStatement
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-08 12:00:08.145000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setting of list of objects
s = lasso.Saml2Assertion()
s2 = lasso.Saml2AuthnStatement()
s2.sessionIndex = 'plop'
s3 = lasso.Saml2AuthnStatement()
s3.sessionIndex = 'plop2'
s.authnStatement = (s2, s3)
print s.dump()
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" SignType="0"
SignMethod="0" EncryptionActivated="false" EncryptionSymKeyType="0">
<saml:AuthnStatement SessionIndex="plop"/>
<saml:AuthnStatement SessionIndex="plop2"/>
</saml:Assertion>
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-08 11:40:35.875000+02:00
|
|
|
|
|
|
|
|
| |
support for getter/setter of list of strings (and partially done of objects)
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-08 11:03:56.732000+02:00
|
|
|
|
|
|
|
| |
fixing newFromDump constructors
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-06 20:58:17.081000+02:00
|
|
|
|
|
|
|
|
| |
added support for non-None optional args
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-06 20:39:19.031000+02:00
|
|
|
|
|
|
|
|
| |
bugfix for string members
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-06 20:01:32.249000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
support for exceptions, with a complete hierarchy of exceptions; and emulation
of swig binding behaviour (access to code via [0] and to error string via [1])
login = lasso.Login(server)
try:
login.initAuthnRequest('plop', lasso.HTTP_METHOD_REDIRECT)
except lasso.Error, error:
print error
# <lasso.ProviderNotFoundError(-201): ProviderID unknown to LassoServer.>
print error.code
# -201
print error[0]
# -201
print error[1]
# ProviderID unknown to LassoServer.
sys.exit(1)
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-06 19:24:52.095000+02:00
|
|
|
|
|
|
|
|
| |
fixed refcounting
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-06 17:53:45.416000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixed getters returning objects (getting the appropriate class for the given
type) (and a small issue with setter of strings); this is now working:
login = lasso.Login(server)
login.initAuthnRequest('https://idp1/metadata', lasso.HTTP_METHOD_REDIRECT)
login.request.isPassive = False
login.request.nameIDPolicy = 'federated'
login.buildAuthnRequestMsg()
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-06 00:39:06.565000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
| |
wrap constants & enums; is now possible:
login = lasso.Login(server)
login.initAuthnRequest('https://idp1/metadata', lasso.HTTP_METHOD_REDIRECT)
login.buildAuthnRequestMsg()
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 22:06:14.800000+02:00
|
|
|
|
|
|
|
|
| |
fixed attribute renaming, login.msgUrl now works
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 21:42:34.345000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
added support for optional arguments and fixed method calls with objects
now working:
server = lasso.Server('../../tests/data/sp1-la/metadata.xml')
server.addProvider(2, '../../tests/data/idp1-la/metadata.xml',
'../../tests/data/idp1-la/public-key.pem')
login = lasso.Login(server)
login.initAuthnRequest('https://idp1/metadata', 4)
login.buildAuthnRequestMsg()
print login.msg_url
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 21:37:55.914000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
member setters
import lasso
s = lasso.Samlp2AuthnRequest()
s.isPassive = True
print s.dump()
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 19:15:44.095000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
| |
generate wrapper for get accessors
import lasso
s = lasso.Samlp2AuthnRequest()
print s.isPassive
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 18:28:59.741000+02:00
|
|
|
|
|
|
|
|
|
|
|
|
| |
minimalistic functional module
$ python -c 'import lasso; print lasso.Samlp2AuthnRequest().dump()'
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
SignType="0" SignMethod="0" ForceAuthn="false" IsPassive="false"/>
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 17:55:11.508000+02:00
|
|
|
|
|
|
|
| |
(work in progress) some infra for python wrapper
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 14:53:51.026000+02:00
|
|
|
|
|
|
|
|
|
| |
create constructor for _new functions and class methods for _new_from_dump
methods
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 13:48:57.345000+02:00
|
|
python generation (classes, members & methods; missing constructors and layer
using python C API)
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-05 12:04:59.172000+02:00
|