diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-11-09 14:10:08 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-11-09 15:31:19 +0100 |
commit | b5c049ae2e62f24c6dfce618b94f567671e238ea (patch) | |
tree | 5aeefdd1be842c6c7a3909914e5b139c4ac9b747 /make-test | |
parent | b68ce0313c9ff31354d2be621079522886f556e3 (diff) | |
download | freeipa-b5c049ae2e62f24c6dfce618b94f567671e238ea.tar.gz freeipa-b5c049ae2e62f24c6dfce618b94f567671e238ea.tar.xz freeipa-b5c049ae2e62f24c6dfce618b94f567671e238ea.zip |
Allow custom server backend encoding
Server framework does not support encoding of native Python type
values stored in Param classes and sub-classes. When backend (LDAP)
value encoding differs from Python type value representation user
has to has to hard-code the encoders in his processing.
This patch introduces a method Param.encode which is used in server
context to encode native Python Param values. The new encode method
is used for Bool parameter to convert native Python bool type value
(True, False) to LDAP value ("TRUE", "FALSE").
https://fedorahosted.org/freeipa/ticket/2039
Diffstat (limited to 'make-test')
0 files changed, 0 insertions, 0 deletions