|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.admin.util.AdminMethodRoleResolver
public class AdminMethodRoleResolver
Allows access to required role(s) for admin methods.
Field Summary | |
---|---|
static java.lang.String |
ANONYMOUS_ROLE
|
Constructor Summary | |
---|---|
AdminMethodRoleResolver()
|
Method Summary | |
---|---|
java.lang.String |
getRoleNameForMethod(java.lang.String methodName)
Determines the admin role required to call the given method . |
void |
init()
Could hard-code as they are now - all over. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ANONYMOUS_ROLE
Constructor Detail |
---|
public AdminMethodRoleResolver()
Method Detail |
---|
public java.lang.String getRoleNameForMethod(java.lang.String methodName) throws AdminException
method
.
methodName
- the name of the method for which the required admin role is sought.
AdminException
public void init() throws AdminException
AdminException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |