OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / javax / security / auth / Policy.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __javax_security_auth_Policy__
5 #define __javax_security_auth_Policy__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 extern "Java"
11 {
12   namespace java
13   {
14     namespace security
15     {
16         class CodeSource;
17         class PermissionCollection;
18     }
19   }
20   namespace javax
21   {
22     namespace security
23     {
24       namespace auth
25       {
26           class Policy;
27           class Subject;
28       }
29     }
30   }
31 }
32
33 class javax::security::auth::Policy : public ::java::lang::Object
34 {
35
36 public: // actually protected
37   Policy();
38 public:
39   static ::javax::security::auth::Policy * getPolicy();
40   static void setPolicy(::javax::security::auth::Policy *);
41   virtual ::java::security::PermissionCollection * getPermissions(::javax::security::auth::Subject *, ::java::security::CodeSource *) = 0;
42   virtual void refresh() = 0;
43 private:
44   static ::javax::security::auth::Policy * policy;
45 public:
46   static ::java::lang::Class class$;
47 };
48
49 #endif // __javax_security_auth_Policy__