OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / javax / security / auth / kerberos / KerberosPrincipal.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __javax_security_auth_kerberos_KerberosPrincipal__
5 #define __javax_security_auth_kerberos_KerberosPrincipal__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 extern "Java"
11 {
12   namespace javax
13   {
14     namespace security
15     {
16       namespace auth
17       {
18         namespace kerberos
19         {
20             class KerberosPrincipal;
21         }
22       }
23     }
24   }
25 }
26
27 class javax::security::auth::kerberos::KerberosPrincipal : public ::java::lang::Object
28 {
29
30 public:
31   KerberosPrincipal(::java::lang::String *);
32   KerberosPrincipal(::java::lang::String *, jint);
33 private:
34   ::java::lang::String * parseRealm();
35 public:
36   ::java::lang::String * getName();
37   ::java::lang::String * getRealm();
38   jint getNameType();
39   jint hashCode();
40   jboolean equals(::java::lang::Object *);
41   ::java::lang::String * toString();
42   static const jint KRB_NT_PRINCIPAL = 1;
43   static const jint KRB_NT_SRV_HST = 3;
44   static const jint KRB_NT_SRV_INST = 2;
45   static const jint KRB_NT_SRV_XHST = 4;
46   static const jint KRB_NT_UID = 5;
47   static const jint KRB_NT_UNKNOWN = 0;
48 private:
49   ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
50   jint type;
51   ::java::lang::String * realm;
52 public:
53   static ::java::lang::Class class$;
54 };
55
56 #endif // __javax_security_auth_kerberos_KerberosPrincipal__