alexpeshkoff
35c23e7086
Misc enhancements in user management - thanks to Adriano
2013-12-26 10:59:25 +00:00
alexpeshkoff
64b4f89d43
Changed syntax of user definition operators according to discussion in devel
...
Added virtual table sec$user_attributes with parsed user's attributes
Implemented CORE-2004: Ability to alter user inactive/active
Implemented CORE-2063: Added CREATE OR ALTER USER operator
Implemented CORE-3931: Ability to set comment for the user
2013-12-17 14:20:25 +00:00
asfernandes
8e73b1cb28
Misc.
2013-12-14 23:59:55 +00:00
alexpeshkoff
40de1dabb0
Implemented CORE-4290: Extensible property support which can add properties (name-value pairs) to users
2013-12-06 17:10:10 +00:00
alexpeshkoff
dda3a37a88
Slightly reworked use of OO API in SRP server - avoid unneeded atomic ops. Thanks to Adriano.
2013-12-02 15:15:51 +00:00
alexpeshkoff
4a8fe5a0de
Implemented CORE-4273: Per-database control on access to database from remote stations
2013-11-22 15:21:11 +00:00
asfernandes
d543daf51a
Misc.
2013-11-21 01:17:08 +00:00
alexpeshkoff
83db69c849
Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type.
2013-11-18 12:20:23 +00:00
alexpeshkoff
dd73db4494
Fixed CORE-4200: An uncommitted select of the pseudo table sec$users blocks new database connections
2013-10-30 12:11:40 +00:00
alexpeshkoff
5a054cca16
Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
...
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
alexpeshkoff
3c090a2629
Enhanced diagnostics in authentication plugin
2013-07-15 13:06:57 +00:00
dimitr
476f907d32
Misc.
2013-06-30 19:21:02 +00:00
asfernandes
21b23ef28d
Misc.
2013-06-28 02:03:10 +00:00
alexpeshkoff
1de6b3de52
Authentication handshake improvements and fixes. Make debug output better readable.
2013-06-24 08:39:29 +00:00
alexpeshkoff
f3dc865cbf
Fixed one more incorrect GlobalPtr usage
2013-06-06 15:07:54 +00:00
alexpeshkoff
c3e6fe4632
Fixed some authentication errors
2013-05-22 07:31:34 +00:00
robocop
99c21b988d
Misc.
2013-05-21 21:46:28 +00:00
alexpeshkoff
508d61bba3
Cleanup
2013-04-22 09:43:34 +00:00
alexpeshkoff
b9a96911ca
Avoid extra atomic operations when assigning pointer to the object with pre-incremented counter (like returned from the function) to reference-counted pointer holder
2013-04-17 11:16:06 +00:00
dimitr
551e2416c6
Add interface support for scrollable DSQL cursors. Implementation will follow later.
2013-04-13 07:11:58 +00:00
alexpeshkoff
931b31c444
Fixed leak, found by Claudio. Fixed diagnostics.
2013-04-08 15:05:22 +00:00
alexpeshkoff
8780552b94
Added support for changing configuration (client and embedded) from API
2013-04-04 13:17:57 +00:00
dimitr
4f36232dec
For the consistency sake, let's explicitly release the result set.
2013-03-12 09:52:10 +00:00
asfernandes
bd237461db
Misc.
2013-03-08 02:37:40 +00:00
alexpeshkoff
e613f39389
Fixed segfault in user manager
2013-03-04 12:13:59 +00:00
asfernandes
0d299d455a
Remove FbMessage struct from the API.
...
This struct lost its main value (group various blr-related properties in a single parameter).
And since openCursor/fetch already split the message/buffer, it does not make sense anymore to have it.
2013-02-26 03:42:19 +00:00
asfernandes
53d4d58113
Change message buffers type to void*. It adds some casts, but avoid them in users' code.
2013-02-23 03:09:17 +00:00
asfernandes
ddc4d4eac3
Misc.
2013-02-17 23:06:40 +00:00
alexpeshkoff
fc12495d0e
Modified IStatement interface in our API:
...
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
alexpeshkoff
1ceb4847e1
Make plugins use passed instance of master interface, not one got from fb_get_master_interface(). This helps in case when >1 fbclient libraries is loaded by process.
2012-03-26 11:34:52 +00:00
alexpeshkoff
2a5e7e7f32
Implemented CORE-672: "Over the wire" connection encryption
2012-02-24 12:39:27 +00:00
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
robocop
e2914070b9
Misc.
2012-01-19 04:54:39 +00:00
alexpeshkoff
a0371269e2
Make SRP management plugin notify caller when user to alter/drop is missing
2012-01-03 16:14:41 +00:00
alexpeshkoff
c31aea58ed
Diagnostics
2011-12-26 16:06:00 +00:00
alexpeshkoff
ce026f29ec
Fixed init/fini order in srp
2011-12-26 14:33:59 +00:00
alexpeshkoff
6631bc93a9
Moved big integer implementation to common dir
2011-12-26 09:16:24 +00:00
dimitr
4ed4dae375
Correction.
2011-12-26 08:50:28 +00:00
asfernandes
359f74e73a
Misc.
2011-12-24 18:08:13 +00:00
alexpeshkoff
7fb8ebd3a9
Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation
2011-12-23 12:43:58 +00:00