public interface SessionService
SessionService is the service layer that handles session operations.| Modifier and Type | Method and Description |
|---|---|
boolean |
canAdminister() |
boolean |
canManageOwnedCables() |
String |
getLoggedInName()
Returns the distinguished name of the logged in user.
|
String |
getVisibleName()
Returns the name of the logged in user, which should be used for all display purposes.
|
boolean |
isLoggedIn() |
se.esss.ics.rbac.loginmodules.service.Message |
login(String username,
String password)
Logs in with the given credentials.
|
se.esss.ics.rbac.loginmodules.service.Message |
logout()
Logs out the currently logged in user and returns the result as the message.
|
String getLoggedInName()
String getVisibleName()
boolean isLoggedIn()
se.esss.ics.rbac.loginmodules.service.Message login(String username, String password)
username - the user name to usepassword - the passwordse.esss.ics.rbac.loginmodules.service.Message logout()
boolean canAdminister()
boolean canManageOwnedCables()
Copyright © 2025 European Spallation Source. All rights reserved.