All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.security.AccessController Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy