eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::SwikiSecurityModule':

Home

everywhere
www.exept.de
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

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

o  process: request response: response shelf: shelf book: book

storage
o  asXml

o  fromXml: xml withDict: dict



ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 17 May 2012 16:32:07 GMT