|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IJCUserLoginService
This capability can be obtained from schema if user has sufficient access rights.
| Method Summary | |
|---|---|
List<DFUserLoginInfo> |
getAllLogins()
Get the login states for all users of the system. |
DFUserLoginInfo |
getLogin(String username)
Get the login state for the specified user. |
GrantedAuthority[] |
getMyRoles()
Get the roles for the current user. |
String |
whoAmI()
Return my login name. |
| Method Detail |
|---|
String whoAmI()
GrantedAuthority[] getMyRoles()
@Secured(value={"ROLE_USER","ROLE_EDIT_DATA","ROLE_EDIT_SCHEMA","ROLE_ADMIN"})
@Transactional(readOnly=true)
List<DFUserLoginInfo> getAllLogins()
@Secured(value={"ROLE_USER","ROLE_EDIT_DATA","ROLE_EDIT_SCHEMA","ROLE_ADMIN"})
@Transactional(readOnly=true)
DFUserLoginInfo getLogin(String username)
username - The user
IllegalArgumentException - if the specified user is not a user of this
schema e.g they don't have an entry in the ijc_user table
|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||