eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::SwikiSecurityModule':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: SwikiSecurityModule (in Comanche)


Inheritance:

   Object
   |
   +--Comanche::SwikiSecurityModule

Package:
stx:goodies/webServer/comanche/swiki
Category:
Comanche-Swiki-Modules
Version:
rev: 1.6 date: 2003/08/29 17:04:49
user: cg
file: SwikiSecurityModule.st directory: goodies/webServer/comanche/swiki
module: stx stc-classLibrary: swiki

Description:


SwikiSecurityModule

This is what a 'security.xml' file is supposed to look like:

**********************************************************
<?xml version="1.0"?>
<security>
<default priv="defaultPrivilege" />
<group priv="groupPrivilege">
<member>
<m type="user">userName</m>
<m type="password">passWord</m>
<m type="ip">IPNumber</m>
...
</member>
...
</group>
...
</security>
**********************************************************

'...'						means that there can be several of the type proceeding it.
defaultPrivilege			the privilege of the default group (for example: 'Read Only')
groupPrivilege			the privilege of the specific group (for example: 'Write')
userName				the user name that the user must enter
passWord				the password the user must enter
IPNumber				the IPNumber of the user


Class protocol:

instance creation
o  fromXml: xml withDict: dict

o  new

utility
o  encode: nameString password: pwdString
Encode per RFC1421 of the username:password combination.

o  isIpString: aString
Check for 0..255

o  toIpNumber: string

o  toIpString: int


Instance protocol:

accessing
o  aclDict

o  addACLMember: member

o  addIPMember: member

o  addMember: member

o  default

o  default: defaultMember

o  ipColl

o  members

initializing
o  initialize

processing
o  filterIP: request

o  process: request response: response shelf: shelf
Process by UserID

o  process: request response: response shelf: shelf book: book
Get Address

storage
o  asXml

o  fromXml: xml withDict: dict
Get Default Swiki Security Member



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 22 Sep 2018 07:03:58 GMT