|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
Authenticates based on remote hostname/IP address.
| Field Summary | |
|---|---|
| bool | exact |
| bool | isHostMask |
| string | mask |
| Fields inherited from class ClintHeyer.Httpd.Lock |
|---|
| scheme |
| Constructor Summary | |
|---|---|
|
RemoteHostLock(string mask, bool isHostMask) Constructor. Uses substring matching |
|
|
RemoteHostLock(string mask, bool isHostMask, bool exactMatch) Constructor. Mask must match exactly |
|
| Method Summary | |
|---|---|
| string |
GetAuthString(ClintHeyer.Httpd.HttpRequest request) Get authentication string for user |
| bool |
Unlock(ClintHeyer.Httpd.HttpRequest request, object key) Unlocks a resource with this lock |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Field Detail |
|---|
private bool exact
private bool isHostMask
private string mask
| Constructor Detail |
|---|
public RemoteHostLock(string mask,
bool isHostMask)
Constructor. Uses substring matching
Parameters:
mask - Substring (either IP or hostname) to look forisHostMask - Set to true if mask is a hostnamepublic RemoteHostLock(string mask,
bool isHostMask,
bool exactMatch)
Constructor. Mask must match exactly
Parameters:
mask - Substring (either IP or hostname) to look forisHostMask - Set to true if mask is a hostnameexactMatch - Set true if only exact strings should match| Method Detail |
|---|
public string GetAuthString(ClintHeyer.Httpd.HttpRequest request)
Get authentication string for user
Parameters:
request - public bool Unlock(ClintHeyer.Httpd.HttpRequest request,
object key)
Unlocks a resource with this lock
Parameters:
request - Requestkey - Key
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||