at.spardat.xma.security
Interface LoginModuleServerWithContextChange
- All Superinterfaces:
- LoginModuleServer
- public interface LoginModuleServerWithContextChange
- extends LoginModuleServer
This is the extended Interface for LoginModuleServers which supports any
changes in the XMAContext after the first login. Such changes can be
user switches, mandant switches or similar.
|
Method Summary |
boolean |
contextChanged(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
Do the context change on the server. |
contextChanged
public boolean contextChanged(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
- Do the context change on the server. This typically
validates the principals and credentials of the given subject.
- Parameters:
subject - the subject as returned by the corresponding LoginModule
Any changes in the subject are send back to the client by the runtime.session - the HttpSession
- Returns:
- true if the subject is successfully verified
false otherwise