|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAdminRoles
The interface is implemented by the roles command.
It contains the methods for setting and reading application roles for
users.
| Method Summary | |
|---|---|
java.lang.String[] |
getGrants(java.lang.String applicationName,
java.lang.String user)
Returns the application roles assigned to an user. |
int |
setGrants(java.lang.String applicationName,
java.lang.String user,
java.lang.String[] roles)
Sets the application roles assigned to an user. |
| Method Detail |
|---|
int setGrants(java.lang.String applicationName,
java.lang.String user,
java.lang.String[] roles)
throws InvocationException
applicationName - The name of the application.user - The user name.roles - Array of roles to be assigned to the user.
InvocationException - When a remote error occurs,
for example the user invoking the method doesn't have the required privileges.
java.lang.String[] getGrants(java.lang.String applicationName,
java.lang.String user)
throws InvocationException
applicationName - The name of the application.user - The user name
InvocationException - When a remote error occurs,
for example the user invoking the method doesn't have the required privileges.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||