DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Contains the information about the access control to a user from a defined connection protocol to the database. More...
Public Member Functions | |
UserProtocolAccess (string userName, string protocol, AccessPrivilege privilege) | |
Constructs a user access control that matches all the addresses for the given protocol. More... | |
UserProtocolAccess (string userName, string protocol, string address, AccessPrivilege privilege) | |
Constructs a user access control that matches the address for the given protocol. More... | |
Public Attributes | |
const string | AnyAddress = "%" |
Identifies an address as matching all possible ranges for the connection protocol. More... | |
Properties | |
string | UserName [get, private set] |
Gets the name of the user that holds the control. More... | |
string | Protocol [get, private set] |
Gets the connection protocol on which to apply the access control. More... | |
string | Address [get, private set] |
Gets the address on which to apply the access control for the user. More... | |
AccessPrivilege | Privilege [get, private set] |
Gets the kind of access privilege for the access control of the user. More... | |
bool | IsForAnyAddress [get] |
Gets a boolean value that indicates if this access control will be applied to all ranges of address of a protocol. More... | |
Contains the information about the access control to a user from a defined connection protocol to the database.
Definition at line 24 of file UserProtocolAccess.cs.
|
inline |
Constructs a user access control that matches all the addresses for the given protocol.
userName | The name of the user holding the control. |
protocol | The name of the protocol to control access to the database for a given user. |
privilege | The kind of access to provide to the user for the protocol given. |
Definition at line 41 of file UserProtocolAccess.cs.
|
inline |
Constructs a user access control that matches the address for the given protocol.
userName | The name of the user holding the control. |
protocol | The name of the protocol to control access to the database for a given user. |
address | The specific address to which to apply this control. |
privilege | The kind of access to provide to the user for the protocol given. |
Definition at line 55 of file UserProtocolAccess.cs.
const string Deveel.Data.Security.UserProtocolAccess.AnyAddress = "%" |
Identifies an address as matching all possible ranges for the connection protocol.
Definition at line 29 of file UserProtocolAccess.cs.
|
getprivate set |
Gets the address on which to apply the access control for the user.
Definition at line 80 of file UserProtocolAccess.cs.
|
get |
Gets a boolean value that indicates if this access control will be applied to all ranges of address of a protocol.
Definition at line 92 of file UserProtocolAccess.cs.
|
getprivate set |
Gets the kind of access privilege for the access control of the user.
Definition at line 85 of file UserProtocolAccess.cs.
|
getprivate set |
Gets the connection protocol on which to apply the access control.
Definition at line 75 of file UserProtocolAccess.cs.
|
getprivate set |
Gets the name of the user that holds the control.
Definition at line 70 of file UserProtocolAccess.cs.