|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISecurityManager
The ISecurityManager has methods to check the access
of a user to a special application.
| 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. |
| Method Detail |
|---|
void validateAuthentication(ISession pSession)
throws java.lang.Exception
pSession - the session which needs access
java.lang.Exception - if the access is denied (invalid username or password, password needs to be changed, ...)
void changePassword(ISession pSession)
throws java.lang.Exception
pSession - the session which wants to change the password
java.lang.Exception - if it's not possible to change the passwordvoid logout(ISession pSession)
pSession - the session which performs the logout
IAccessController getAccessController(ISession pSession)
throws java.lang.Exception
pSession - 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 createdvoid release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||