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

java.security.Permission Maven / Gradle / Ivy

package java.security;

public abstract class Permission implements Guard, java.io.Serializable {
	private String name;

	public Permission(String name) {
		this.name = name;
	}

	public void checkGuard(Object object) throws SecurityException {
	}

	public abstract boolean implies(Permission permission);

	//public abstract boolean equals(Object obj);

	//public abstract int hashCode();

	public final String getName() {
		return name;
	}

	public abstract String getActions();

	public PermissionCollection newPermissionCollection() {
		return null;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy