|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.mediumgrainedauthz.MediumGrainedAuthorization
Method Summary | |
void |
check(java.lang.String methodName)
Check if the method is allowed for this user. |
protected void |
checkAuthorization(java.lang.String methodName,
java.util.List roles)
Searches through the allowed methods for the given role. |
protected void |
init(java.util.Properties prop)
init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void check(java.lang.String methodName) throws MedAuthzException
methodName
- name of the method that the user wants to use
MedAuthzException
- if the method is not allowedprotected void init(java.util.Properties prop)
protected void checkAuthorization(java.lang.String methodName, java.util.List roles) throws MedAuthzException
methodName
- method to search for
MedAuthzException
- if the method is not allowed for the given role.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |