## [System.Security] element index

### Package indexes

- System.Caching
- System.Collections
- System.Data.ActiveRecord
- System.Data.ActiveRecord.Relations
- System.Data.ActiveReecord.Scaffold.InputBuilder
- System.Data.ActiveRecord.Scaffold
- System.Data.Common
- System.Data.Common.Pgsql
- System.Data.Common.Mssql
- System.Data.Common.Mysql
- System.Data.Commom.Sqlite
- System.Data.Common.Oracle
- System.Data.Common.Sqlite
- System.Data.DataGateway
- System.Data.SqlMap.Configuration
- System.Data.SqlMap.Statements
- System.Data.SqlMap
- System.Data
- System.Exceptions
- System.I18N
- System
- System.IO
- System.Util
- System.Web.Services
- System.Web
- System.Web.UI.ActiveControls
- System.Web.UI
- System.Web.UI.WebControls.assets
- System.Web.UI.WebControls
- System.Xml

All elements
_
top

__construct
  TUser::__construct() in TUser.php
  Constructor.
__construct
  TAuthorizationRule::__construct() in TAuthorizationRule.php
  Constructor.

c
top

computeHMAC
  TSecurityManager::computeHMAC() in TSecurityManager.php
  Computes the HMAC for the data with getValidationKey.
createDbConnection
  TDbUserManager::createDbConnection() in TDbUserManager.php
  Creates the DB connection.
createUser
  TDbUser::createUser() in TDbUserManager.php
  Creates a new user instance given the username.
createUserFromCookie
  TDbUser::createUserFromCookie() in TDbUserManager.php
  Creates a new user instance given the cookie containing auth data.

d
top

decrypt
  TSecurityManager::decrypt() in TSecurityManager.php
  Decrypts data with getEncryptionKey.
doAuthentication
  TAuthManager::doAuthentication() in TAuthManager.php
  Performs authentication.
doAuthorization
  TAuthManager::doAuthorization() in TAuthManager.php
  Performs authorization.
MD5
  TUserManagerPasswordMode::MD5 in TUserManager.php
MD5
  TSecurityManagerValidationMode::MD5 in TSecurityManager.php

e
top

encrypt
  TSecurityManager::encrypt() in TSecurityManager.php
  Encrypts data with getEncryptionKey.
RETURN_URL_VAR
  TAuthManager::RETURN_URL_VAR in TAuthManager.php
  GET variable name for return url

g
top

generateRandomKey
  TSecurityManager::generateRandomKey() in TSecurityManager.php
  Generates a random key.
generateUserKey
  TAuthManager::generateUserKey() in TAuthManager.php
getAction
  TAuthorizationRule::getAction() in TAuthorizationRule.php
getAllowAutoLogin
  TAuthManager::getAllowAutoLogin() in TAuthManager.php
getAuthenticatedApplied
  TAuthorizationRule::getAuthenticatedApplied() in TAuthorizationRule.php
getAuthExpire
  TAuthManager::getAuthExpire() in TAuthManager.php
getConnectionID
  TDbUserManager::getConnectionID() in TDbUserManager.php
getDbConnection
  TDbUser::getDbConnection() in TDbUserManager.php
  Returns a database connection that may be used to retrieve data from database.
getDbConnection
  TDbUserManager::getDbConnection() in TDbUserManager.php
getEncryption
  TSecurityManager::getEncryption() in TSecurityManager.php
getEncryptionKey
  TSecurityManager::getEncryptionKey() in TSecurityManager.php
getEveryoneApplied
  TAuthorizationRule::getEveryoneApplied() in TAuthorizationRule.php
getGuestApplied
  TAuthorizationRule::getGuestApplied() in TAuthorizationRule.php
getGuestName
  TUserManager::getGuestName() in TUserManager.php
getGuestName
  TDbUserManager::getGuestName() in TDbUserManager.php
getGuestName
  IUserManager::getGuestName() in IUserManager.php
getIPRules
  TAuthorizationRule::getIPRules() in TAuthorizationRule.php
getIsGuest
  TUser::getIsGuest() in TUser.php
getLoginPage
  TAuthManager::getLoginPage() in TAuthManager.php
getManager
  TUser::getManager() in TUser.php
getName
  TUser::getName() in TUser.php
getPasswordMode
  TUserManager::getPasswordMode() in TUserManager.php
getReturnUrl
  TAuthManager::getReturnUrl() in TAuthManager.php
getReturnUrlVarName
  TAuthManager::getReturnUrlVarName() in TAuthManager.php
getRoles
  TUserManager::getRoles() in TUserManager.php
  Returns an array of user role information.
getRoles
  TAuthorizationRule::getRoles() in TAuthorizationRule.php
getRoles
  TUser::getRoles() in TUser.php
getState
  TUser::getState() in TUser.php
  Returns the value of a variable that is stored in user session.
getStateChanged
  TUser::getStateChanged() in TUser.php
getUser
  TUserManager::getUser() in TUserManager.php
  Returns a user instance given the user name.
getUser
  IUserManager::getUser() in IUserManager.php
  Returns a user instance given the user name.
getUser
  TDbUserManager::getUser() in TDbUserManager.php
  Returns a user instance given the user name.
getUserClass
  TDbUserManager::getUserClass() in TDbUserManager.php
getUserFile
  TUserManager::getUserFile() in TUserManager.php
getUserFromCookie
  TUserManager::getUserFromCookie() in TUserManager.php
  Returns a user instance according to auth data stored in a cookie.
getUserFromCookie
  IUserManager::getUserFromCookie() in IUserManager.php
  Returns a user instance according to auth data stored in a cookie.
getUserFromCookie
  TDbUserManager::getUserFromCookie() in TDbUserManager.php
  Returns a user instance according to auth data stored in a cookie.
getUserKey
  TAuthManager::getUserKey() in TAuthManager.php
getUserManager
  TAuthManager::getUserManager() in TAuthManager.php
getUsers
  TUserManager::getUsers() in TUserManager.php
  Returns an array of all users.
getUsers
  TAuthorizationRule::getUsers() in TAuthorizationRule.php
getValidation
  TSecurityManager::getValidation() in TSecurityManager.php
getValidationKey
  TSecurityManager::getValidationKey() in TSecurityManager.php
getVerb
  TAuthorizationRule::getVerb() in TAuthorizationRule.php

h
top

hashData
  TSecurityManager::hashData() in TSecurityManager.php
  Prefixes data with an HMAC.
SHA1
  TUserManagerPasswordMode::SHA1 in TUserManager.php
SHA1
  TSecurityManagerValidationMode::SHA1 in TSecurityManager.php

i
top

init
  TSecurityManager::init() in TSecurityManager.php
  Initializes the module.
init
  TAuthManager::init() in TAuthManager.php
  Initializes this module.
init
  TUserManager::init() in TUserManager.php
  Initializes the module.
init
  TDbUserManager::init() in TDbUserManager.php
  Initializes the module.
insertAt
  TAuthorizationRuleCollection::insertAt() in TAuthorizationRule.php
  Inserts an item at the specified position.
isInRole
  TUser::isInRole() in TUser.php
isUserAllowed
  TAuthorizationRuleCollection::isUserAllowed() in TAuthorizationRule.php
isUserAllowed
  TAuthorizationRule::isUserAllowed() in TAuthorizationRule.php
IUserManager
  IUserManager in IUserManager.php
  IUserManager interface
IUserManager.php
  IUserManager.php in IUserManager.php

l
top

Clear
  TUserManagerPasswordMode::Clear in TUserManager.php
leave
  TAuthManager::leave() in TAuthManager.php
  Performs login redirect if authorization fails.
loadFromString
  TUser::loadFromString() in TUser.php
loadUserData
  TUserManager::loadUserData() in TUserManager.php
  Loads user/role information from an XML node.
login
  TAuthManager::login() in TAuthManager.php
  Logs in a user with username and password.
logout
  TAuthManager::logout() in TAuthManager.php
  Logs out a user.

o
top

onAuthenticate
  TAuthManager::onAuthenticate() in TAuthManager.php
  Performs the real authentication work.
onAuthExpire
  TAuthManager::onAuthExpire() in TAuthManager.php
  Performs user logout on authentication expiration.
onAuthorize
  TAuthManager::onAuthorize() in TAuthManager.php
  Performs the real authorization work.

s
top

saveToString
  TUser::saveToString() in TUser.php
saveUserToCookie
  TDbUser::saveUserToCookie() in TDbUserManager.php
  Saves necessary auth data into a cookie.
saveUserToCookie
  IUserManager::saveUserToCookie() in IUserManager.php
  Saves user auth data into a cookie.
saveUserToCookie
  TDbUserManager::saveUserToCookie() in TDbUserManager.php
  Saves user auth data into a cookie.
saveUserToCookie
  TUserManager::saveUserToCookie() in TUserManager.php
  Saves user auth data into a cookie.
setAllowAutoLogin
  TAuthManager::setAllowAutoLogin() in TAuthManager.php
setAuthExpire
  TAuthManager::setAuthExpire() in TAuthManager.php
setConnectionID
  TDbUserManager::setConnectionID() in TDbUserManager.php
  Sets the ID of a TDataSourceConfig module.
setEncryption
  TSecurityManager::setEncryption() in TSecurityManager.php
setEncryptionKey
  TSecurityManager::setEncryptionKey() in TSecurityManager.php
setGuestName
  TUserManager::setGuestName() in TUserManager.php
setGuestName
  TDbUserManager::setGuestName() in TDbUserManager.php
setIsGuest
  TUser::setIsGuest() in TUser.php
setLoginPage
  TAuthManager::setLoginPage() in TAuthManager.php
  Sets the login page that the client browser will be redirected to if login is needed.
setName
  TUser::setName() in TUser.php
setPasswordMode
  TUserManager::setPasswordMode() in TUserManager.php
setReturnUrl
  TAuthManager::setReturnUrl() in TAuthManager.php
  Sets the URL that the browser should be redirected to when login succeeds.
setReturnUrlVarName
  TAuthManager::setReturnUrlVarName() in TAuthManager.php
setRoles
  TUser::setRoles() in TUser.php
setState
  TUser::setState() in TUser.php
  Stores a variable in user session.
setStateChanged
  TUser::setStateChanged() in TUser.php
setUserClass
  TDbUserManager::setUserClass() in TDbUserManager.php
setUserFile
  TUserManager::setUserFile() in TUserManager.php
setUserManager
  TAuthManager::setUserManager() in TAuthManager.php
setValidation
  TSecurityManager::setValidation() in TSecurityManager.php
setValidationKey
  TSecurityManager::setValidationKey() in TSecurityManager.php
switchToGuest
  TUserManager::switchToGuest() in TUserManager.php
  Sets a user as a guest.
switchUser
  TAuthManager::switchUser() in TAuthManager.php
  Switches to a new user.
USER_FILE_EXT
  TUserManager::USER_FILE_EXT in TUserManager.php
  extension name to the user file

t
top

TAuthManager.php
  TAuthManager.php in TAuthManager.php
TAuthorizationRule.php
  TAuthorizationRule.php in TAuthorizationRule.php
TDbUserManager.php
  TDbUserManager.php in TDbUserManager.php
TSecurityManager.php
  TSecurityManager.php in TSecurityManager.php
TUserManager.php
  TUserManager.php in TUserManager.php
TUser.php
  TUser.php in TUser.php
STATE_ENCRYPTION_KEY
  TSecurityManager::STATE_ENCRYPTION_KEY in TSecurityManager.php
STATE_VALIDATION_KEY
  TSecurityManager::STATE_VALIDATION_KEY in TSecurityManager.php
TAuthManager
  TAuthManager in TAuthManager.php
  TAuthManager class
TAuthorizationRule
  TAuthorizationRule in TAuthorizationRule.php
  TAuthorizationRule class
TAuthorizationRuleCollection
  TAuthorizationRuleCollection in TAuthorizationRule.php
  TAuthorizationRuleCollection class.
TDbUser
  TDbUser in TDbUserManager.php
  TDbUser class
TDbUserManager
  TDbUserManager in TDbUserManager.php
  TDbUserManager class
TSecurityManager
  TSecurityManager in TSecurityManager.php
  TSecurityManager class
TSecurityManagerValidationMode
  TSecurityManagerValidationMode in TSecurityManager.php
  TSecurityManagerValidationMode class.
TUser
  TUser in TUser.php
  TUser class
TUserManager
  TUserManager in TUserManager.php
  TUserManager class
TUserManagerPasswordMode
  TUserManagerPasswordMode in TUserManager.php
  TUserManagerPasswordMode class.

u
top

updateSessionUser
  TAuthManager::updateSessionUser() in TAuthManager.php
  Updates the user data stored in session.

v
top

validateData
  TSecurityManager::validateData() in TSecurityManager.php
  Validates if data is tampered.
validateUser
  TUserManager::validateUser() in TUserManager.php
  Validates if the username and password are correct.
validateUser
  TDbUserManager::validateUser() in TDbUserManager.php
  Validates if the username and password are correct.
validateUser
  TDbUser::validateUser() in TDbUserManager.php
  Validates if username and password are correct entries.
validateUser
  IUserManager::validateUser() in IUserManager.php
  Validates if the username and password are correct.