Most visited

Recently visited

Added in API level 1

BasicPermission

public abstract class BasicPermission
extends Permission implements Serializable

java.lang.Object
   ↳ java.security.Permission
     ↳ java.security.BasicPermission
Known Direct Subclasses


Legacy security code; do not use.

Summary

Public constructors

BasicPermission(String name)
BasicPermission(String name, String actions)

Public methods

String getActions()
boolean implies(Permission p)

Inherited methods

From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public constructors

BasicPermission

Added in API level 1
BasicPermission (String name)

Parameters
name String

BasicPermission

Added in API level 1
BasicPermission (String name, 
                String actions)

Parameters
name String
actions String

Public methods

getActions

Added in API level 1
String getActions ()

Returns
String

implies

Added in API level 1
boolean implies (Permission p)

Parameters
p Permission
Returns
boolean

Hooray!