|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.server.security.NoSecurityManager
public class NoSecurityManager
The NoSecurityManager is a dummy security manager that does nothing. Use it
in environments where you don't need authentication.
| Constructor Summary | |
|---|---|
NoSecurityManager()
Creates a new instance of NoSecurityManager. |
|
| 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoSecurityManager()
NoSecurityManager.
| Method Detail |
|---|
public void validateAuthentication(ISession pSession)
throws java.lang.Exception
validateAuthentication in interface ISecurityManagerpSession - the session which needs access
java.lang.Exception - if the access is denied (invalid username or password, password needs to be changed, ...)
public void changePassword(ISession pSession)
throws java.lang.Exception
changePassword in interface ISecurityManagerpSession - the session which wants to change the password
java.lang.Exception - if it's not possible to change the passwordpublic void logout(ISession pSession)
logout in interface ISecurityManagerpSession - the session which performs the logout
public IAccessController getAccessController(ISession pSession)
throws java.lang.Exception
getAccessController in interface ISecurityManagerpSession - the session for which the access controller is needed
null if no access controller should be used
java.lang.Exception - if the access controller could not be createdpublic void release()
release in interface ISecurityManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||