|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.plugins.providers.multipart.FieldEnablerPrivilegedAction
public class FieldEnablerPrivilegedAction
Helper class to make a field accessible. Directly calling field.setAccessible(true); is not advised as it could be invoked in a context without security permissions. For more information please check java.security.AccessController API in JavaSE. Usage example: AccessController.doPrivileged(new FieldEnablerPrivilegedAction(field));
Constructor Summary | |
---|---|
FieldEnablerPrivilegedAction(java.lang.reflect.Field field)
|
Method Summary | |
---|---|
java.lang.Object |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldEnablerPrivilegedAction(java.lang.reflect.Field field)
Method Detail |
---|
public java.lang.Object run()
run
in interface java.security.PrivilegedAction<java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |