# BasicPermission

public abstract class **BasicPermission** extends [Permission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html)  
implements [Serializable](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/Serializable.html)

|---|---|---|
| Known Direct Subclasses [LinkPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/LinkPermission.html), [LoggingPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/logging/LoggingPermission.html), [NetPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/NetPermission.html), [PropertyPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/PropertyPermission.html), [ReflectPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/ReflectPermission.html), [RuntimePermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/RuntimePermission.html), [SQLPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLPermission.html), [SecurityPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/SecurityPermission.html), [SerializablePermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/SerializablePermission.html) |---|---| | [LinkPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/LinkPermission.html) | The `Permission` class for link creation operations. | | [LoggingPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/logging/LoggingPermission.html) | Legacy security code; do not use. | | [NetPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/NetPermission.html) | Legacy security code; do not use. | | [PropertyPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/PropertyPermission.html) | Legacy security code; do not use. | | [ReflectPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/ReflectPermission.html) | Legacy security code; do not use. | | [RuntimePermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/RuntimePermission.html) | Legacy security code; do not use. | | [SQLPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLPermission.html) | Legacy security code; do not use. | | [SecurityPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/SecurityPermission.html) | Legacy security code; do not use. | | [SerializablePermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/SerializablePermission.html) | This legacy security is not supported on Android. | |||

Legacy security code; do not use.

### Public Constructor Summary

|---|---|
|   | [BasicPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/BasicPermission.html#BasicPermission(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) name) |
|   | [BasicPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/BasicPermission.html#BasicPermission(java.lang.String,%20java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) name, [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) actions) |

### Public Method Summary

|---|---|
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getActions](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/BasicPermission.html#getActions())() |
| boolean | [implies](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/BasicPermission.html#implies(java.security.Permission))([Permission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html) p) |

### Inherited Method Summary

From class [java.security.Permission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html)

|---|---|
| void | [checkGuard](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html#checkGuard(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) object) Determines whether or not to allow access to the guarded object `object`. |
| abstract [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getActions](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html#getActions())() |
| final [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getName](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html#getName())() |
| abstract boolean | [implies](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html#implies(java.security.Permission))([Permission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html) permission) |
| [PermissionCollection](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PermissionCollection.html) | [newPermissionCollection](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html#newPermissionCollection())() |

From class [java.lang.Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)

|---|---|
| [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#clone())() Creates and returns a copy of this `Object`. |
| boolean | [equals](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#equals(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) obj) Compares this instance with the specified object and indicates if they are equal. |
| void | [finalize](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#finalize())() Invoked when the garbage collector has detected that this instance is no longer reachable. |
| final [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> | [getClass](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#getClass())() Returns the unique instance of `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` that represents this object's class. |
| int | [hashCode](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#hashCode())() Returns an integer hash code for this object. |
| final void | [notify](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notify())() Causes a thread which is waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| final void | [notifyAll](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notifyAll())() Causes all threads which are waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [toString](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#toString())() Returns a string containing a concise, human-readable description of this object. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long,%20int))(long timeout, int nanos) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long))(long timeout) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait())() Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object. |

From interface [java.security.Guard](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Guard.html)

|---|---|
| abstract void | [checkGuard](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Guard.html#checkGuard(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) object) Determines whether or not to allow access to the guarded object `object`. |

## Public Constructors

#### public
**BasicPermission**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) name)

<br />

##### Parameters

| name |   |
|---|---|

#### public
**BasicPermission**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) name, [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) actions)

<br />

##### Parameters

| name |   |
| actions |   |
|---|---|

## Public Methods

#### public [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html)
**getActions**
()

<br />

#### public boolean
**implies**
([Permission](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Permission.html) p)

<br />

##### Parameters

| p |   |
|---|---|