|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface SecurityRegistryMBean
This interface provides information about various restrictions a user may have. It lets you query what rights a user is granted and whether he/she is authorized to execute a specific action.
| Method Summary | |
|---|---|
Boolean |
userCanExecuteAL(String aUserId,
String aConfigId,
String aAssemblyLine)
Returns whether specified user is allowed to execute given AL from a given configuration. |
Boolean |
userCanExecuteAll(String aUserId)
Returns whether specified user is allowed to execute everything. |
Boolean |
userCanExecuteConfig(String aUserId,
String aConfigId)
Returns whether specified user is allowed to execute given configuration. |
Boolean |
userCanExecuteConfigALs(String aUserId,
String aConfigId)
Returns whether specified user is allowed to execute assembly lines from a given configuration. |
Boolean |
userCanReadAll(String aUserId)
Returns whether specified user is allowed to read everything. |
Boolean |
userCanReadConfig(String aUserId,
String aConfigId)
Returns whether specified user is allowed to read given configuration. |
Boolean |
userIsAdmin(String aUserId)
Returns whether specified user is granted admin role. |
| Method Detail |
|---|
Boolean userIsAdmin(String aUserId)
throws DIException
aUserId - the id of the user
true if the user is granted the admin role
DIException - if Runtime or Security exception occurs
Boolean userCanReadConfig(String aUserId,
String aConfigId)
throws DIException
aUserId - the id of the useraConfigId - the id of the configuration
true only if aUserId is
allowed to read aConfigId.
DIException - if Runtime or Security exception occurs
Boolean userCanExecuteAL(String aUserId,
String aConfigId,
String aAssemblyLine)
throws DIException
aUserId - the id of the useraConfigId - the id of the configurationaAssemblyLine - the name of the assembly line
true only if aUserId is
allowed to execute aAssemblyLine from
configuration aConfigId.
DIException - if Runtime or Security exception occurs
Boolean userCanExecuteConfig(String aUserId,
String aConfigId)
throws DIException
aUserId - the id of the useraConfigId - the id of the configuration
true only if aUserId is
allowed to execute configuration aConfigId.
DIException - if Runtime or Security exception occurs
Boolean userCanExecuteConfigALs(String aUserId,
String aConfigId)
throws DIException
aUserId - the id of the useraConfigId - the id of the configuration
true only if aUserId is
allowed to execute assembly lines from configuration
aConfigId.
DIException - if Runtime or Security exception occurs
Boolean userCanExecuteAll(String aUserId)
throws DIException
aUserId - the id of the user
true only if aUserId is
allowed to execute everything.
DIException - if Runtime or Security exception occurs
Boolean userCanReadAll(String aUserId)
throws DIException
aUserId - the id of the user
true only if aUserId is
allowed to read everything.
DIException - if Runtime or Security exception occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||