summaryrefslogtreecommitdiff
path: root/libjava/java/security/AccessControlContext.h
blob: e83852a7719286cb1f06000d19397236cc2787e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_AccessControlContext__
#define __java_security_AccessControlContext__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
        class AccessControlContext;
        class DomainCombiner;
        class Permission;
        class ProtectionDomain;
    }
  }
}

class java::security::AccessControlContext : public ::java::lang::Object
{

public:
  AccessControlContext(JArray< ::java::security::ProtectionDomain * > *);
  AccessControlContext(::java::security::AccessControlContext *, ::java::security::DomainCombiner *);
public: // actually package-private
  AccessControlContext(JArray< ::java::security::ProtectionDomain * > *, ::java::security::AccessControlContext *, ::java::security::DomainCombiner *);
public:
  ::java::security::DomainCombiner * getDomainCombiner();
  void checkPermission(::java::security::Permission *);
  jboolean equals(::java::lang::Object *);
  jint hashCode();
public: // actually package-private
  JArray< ::java::security::ProtectionDomain * > * getProtectionDomains();
private:
  JArray< ::java::security::ProtectionDomain * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) protectionDomains;
  ::java::security::DomainCombiner * combiner;
public:
  static ::java::lang::Class class$;
};

#endif // __java_security_AccessControlContext__