FileDocCategorySizeDatePackage
SecurityPermission.javaAPI DocAndroid 1.5 API1961Wed May 06 22:41:06 BST 2009java.security

SecurityPermission

public final class SecurityPermission extends BasicPermission
{@code SecurityPermission} objects guard access to the mechanisms which implement security. Security permissions have names, but not actions.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public SecurityPermission(String name)
Constructs a new instance of {@code SecurityPermission} with the given name.

param
name the name of the permission.
since
Android 1.0


                                          
       
        super(name);
    
public SecurityPermission(String name, String action)
Constructs a new instance of {@code SecurityPermission} with the given {@code name} and {@code action} list. The action list is ignored - it is existing for compatibility reasons only.

param
name the name of the permission.
param
action ignored.
since
Android 1.0

        super(name, action);
    
Methods Summary