summaryrefslogtreecommitdiff
path: root/libjava/java/lang/SecurityManager.h
blob: 8abaa6a7e08ce4e5da34a129ce1b43764f24abbf (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_lang_SecurityManager__
#define __java_lang_SecurityManager__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace net
    {
        class InetAddress;
    }
    namespace security
    {
        class Permission;
    }
  }
}

class java::lang::SecurityManager : public ::java::lang::Object
{

public:
  SecurityManager();
  virtual jboolean getInCheck();
public: // actually protected
  virtual JArray< ::java::lang::Class * > * getClassContext();
  virtual ::java::lang::ClassLoader * currentClassLoader();
  virtual ::java::lang::Class * currentLoadedClass();
  virtual jint classDepth(::java::lang::String *);
  virtual jint classLoaderDepth();
  virtual jboolean inClass(::java::lang::String *);
  virtual jboolean inClassLoader();
public:
  virtual ::java::lang::Object * getSecurityContext();
  virtual void checkPermission(::java::security::Permission *);
  virtual void checkPermission(::java::security::Permission *, ::java::lang::Object *);
  virtual void checkCreateClassLoader();
  virtual void checkAccess(::java::lang::Thread *);
  virtual void checkAccess(::java::lang::ThreadGroup *);
  virtual void checkExit(jint);
  virtual void checkExec(::java::lang::String *);
  virtual void checkLink(::java::lang::String *);
  virtual void checkRead(::java::io::FileDescriptor *);
  virtual void checkRead(::java::lang::String *);
  virtual void checkRead(::java::lang::String *, ::java::lang::Object *);
  virtual void checkWrite(::java::io::FileDescriptor *);
  virtual void checkWrite(::java::lang::String *);
  virtual void checkDelete(::java::lang::String *);
  virtual void checkConnect(::java::lang::String *, jint);
  virtual void checkConnect(::java::lang::String *, jint, ::java::lang::Object *);
  virtual void checkListen(jint);
  virtual void checkAccept(::java::lang::String *, jint);
  virtual void checkMulticast(::java::net::InetAddress *);
  virtual void checkMulticast(::java::net::InetAddress *, jbyte);
  virtual void checkPropertiesAccess();
  virtual void checkPropertyAccess(::java::lang::String *);
  virtual jboolean checkTopLevelWindow(::java::lang::Object *);
  virtual void checkPrintJobAccess();
  virtual void checkSystemClipboardAccess();
  virtual void checkAwtEventQueueAccess();
  virtual void checkPackageAccess(::java::lang::String *);
  virtual void checkPackageDefinition(::java::lang::String *);
  virtual void checkSetFactory();
  virtual void checkMemberAccess(::java::lang::Class *, jint);
  virtual void checkSecurityAccess(::java::lang::String *);
  virtual ::java::lang::ThreadGroup * getThreadGroup();
public: // actually package-private
  virtual void checkPackageList(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  static ::java::lang::SecurityManager * volatile current;
public: // actually protected
  jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) inCheck;
public:
  static ::java::lang::Class class$;
};

#endif // __java_lang_SecurityManager__