java.security.AccessController Maven / Gradle / Ivy
package java.security;
public class AccessController
{
private static AccessControlContext context= new AccessControlContext();
public static AccessControlContext getContext()
{
return context;
}
public static T doPrivileged(PrivilegedAction action)
{
return action.run();
}
public static T doPrivileged(PrivilegedAction privilegedAction, AccessControlContext acc)
{
return privilegedAction.run();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy