def marshal(self): return '\t'.join([ 'v3', self._host, self._port, gui.boolToStr(self._ssl), self._username, self._password, self._timeout, self._ldapBase, self._userClass, self._userIdAttr, self._groupNameAttr, self._userNameAttr, self._altClass ])
def marshal(self): return '\t'.join([ 'v3', self._host, self._port, gui.boolToStr(self._ssl), self._username, self._password, self._timeout, self._ldapBase, self._userClass, self._userIdAttr, self._groupNameAttr, self._userNameAttr, self._altClass ]).encode('utf8')
def valuesDict(self): return { 'host': self._host, 'port': self._port, 'ssl': gui.boolToStr(self._ssl), 'username': self._username, 'password': self._password, 'timeout': self._timeout, 'ldapBase': self._ldapBase, 'userClass': self._userClass, 'userIdAttr': self._userIdAttr, 'groupNameAttr': self._groupNameAttr, 'userNameAttr': self._userNameAttr }
def marshal(self): return '\t'.join([ 'v1', self._host, self._port, gui.boolToStr(self._ssl), self._username, self._password, self._timeout, self._ldapBase, self._userClass, self._groupClass, self._userIdAttr, self._groupIdAttr, self._memberAttr, self._userNameAttr ]).encode('utf8')
def marshal(self): """ Serializes the transport data so we can store it in database """ return str.join('\t', [ 'v1', gui.boolToStr(self._useEmptyCreds), self._fixedName, self._fixedPassword, self._listenPort, self._connection, self._session, self._cacheDisk, self._cacheMem ]).encode('utf8')
def valuesDict(self): return { 'useEmptyCreds': gui.boolToStr(self._useEmptyCreds), 'fixedName': self._fixedName, 'fixedPassword': self._fixedPassword, 'listenPort': self._listenPort, 'connection': self._connection, 'session': self._session, 'cacheDisk': self._cacheDisk, 'cacheMem': self._cacheMem }
def marshal(self): ''' Serializes the transport data so we can store it in database ''' return str.join('\t', [ 'v1', gui.boolToStr( self._useEmptyCreds), self._fixedName, self._fixedPassword, self._listenPort, self._connection, self._session, self._cacheDisk, self._cacheMem, self._tunnelServer, self._tunnelCheckServer ])
def marshal(self): ''' Serializes the transport data so we can store it in database ''' return str.join('\t', [ 'v1', gui.boolToStr(self._useEmptyCreds), self._fixedName, self._fixedPassword, self._listenPort, self._connection, self._session, self._cacheDisk, self._cacheMem, self._tunnelServer, self._tunnelCheckServer ])
def marshal(self): """ Serializes the transport data so we can store it in database """ return str.join('\t', ['v1', gui.boolToStr(self._useEmptyCreds), self._fixedName, self._fixedPassword, self._listenPort, self._connection, self._session, self._cacheDisk, self._cacheMem]).encode('utf8')
def marshal(self): return '\t'.join(['v1', self._host, self._port, gui.boolToStr(self._ssl), self._username, self._password, self._timeout, self._ldapBase, self._userClass, self._groupClass, self._userIdAttr, self._groupIdAttr, self._memberAttr, self._userNameAttr])