English | Site Directory

Android - An Open Handset Alliance Project

java.security
public final class

java.security.AccessControlContext

java.lang.Object
java.security.AccessControlContext

Summary

Public Constructors

          AccessControlContext(AccessControlContext acc, DomainCombiner combiner)
          AccessControlContext(ProtectionDomain[] context)

Public Methods

        void  checkPermission(Permission perm)
        boolean  equals(Object obj)
Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.
        DomainCombiner  getDomainCombiner()
        int  hashCode()
Answers an integer hash code for the receiver.
Methods inherited from class java.lang.Object

Details

Public Constructors

public AccessControlContext(AccessControlContext acc, DomainCombiner combiner)

public AccessControlContext(ProtectionDomain[] context)

Public Methods

public void checkPermission(Permission perm)

public boolean equals(Object obj)

Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison. The implementation in Object answers true only if the argument is the exact same object as the receiver (==).

Parameters

obj Object the object to compare with this object.

public DomainCombiner getDomainCombiner()

public int hashCode()

Answers an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.
Build m5-rc15i - 10 Jun 2008 13:54