|
||||||||||
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 Exception
pSession
- the session which needs access
Exception
- if the access is denied (invalid username or password, password needs to be changed, ...)void changePassword(ISession pSession) throws Exception
pSession
- the session which wants to change the password
Exception
- if it's not possible to change the passwordvoid logout(ISession pSession)
pSession
- the session which performs the logoutIAccessController getAccessController(ISession pSession) throws Exception
pSession
- the session for which the access controller is needed
null
if no access controller should be used
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 |