|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.server.security.AbstractSecurityManager
com.sibvisions.rad.server.security.XmlSecurityManager
public class XmlSecurityManager
The XmlSecurityManager uses a xml file to authenticate users. It requires
the following information:
| Constructor Summary | |
|---|---|
XmlSecurityManager()
|
|
| Method Summary | |
|---|---|
void |
changePassword(ISession pSession)
Changes the password for a user. |
IAccessController |
getAccessController(ISession pSession)
Gets the access controller for a session. |
void |
logout(ISession pSession)
Performs a manual or automatic logout. |
void |
release()
Releases all used resources. |
void |
validateAuthentication(ISession pSession)
Validates if a session has valid credentials to access an application. |
| Methods inherited from class com.sibvisions.rad.server.security.AbstractSecurityManager |
|---|
addHiddenPackage, checkPassword, comparePassword, createSecurityManager, createSecurityManager, getEncryptedPassword, getPasswordValidator, isHiddenPackage, isPasswordEncryptionEnabled, prepareException, prepareException, removeHiddenPackage, validatePassword |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlSecurityManager()
| Method Detail |
|---|
public void validateAuthentication(ISession pSession)
throws Exception
pSession - the session which needs access
Exception - if the access is denied (invalid username or password, password needs to be changed, ...)
public void changePassword(ISession pSession)
throws Exception
pSession - the session which wants to change the password
Exception - if it's not possible to change the passwordpublic void logout(ISession pSession)
pSession - the session which performs the logoutpublic IAccessController getAccessController(ISession pSession)
pSession - the session for which the access controller is needed
null if no access controller should be usedpublic void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||