diff options
Diffstat (limited to 'libjava/javax/security/auth/kerberos/KerberosPrincipal.h')
-rw-r--r-- | libjava/javax/security/auth/kerberos/KerberosPrincipal.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libjava/javax/security/auth/kerberos/KerberosPrincipal.h b/libjava/javax/security/auth/kerberos/KerberosPrincipal.h new file mode 100644 index 000000000..c945a5620 --- /dev/null +++ b/libjava/javax/security/auth/kerberos/KerberosPrincipal.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_KerberosPrincipal__ +#define __javax_security_auth_kerberos_KerberosPrincipal__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace kerberos + { + class KerberosPrincipal; + } + } + } + } +} + +class javax::security::auth::kerberos::KerberosPrincipal : public ::java::lang::Object +{ + +public: + KerberosPrincipal(::java::lang::String *); + KerberosPrincipal(::java::lang::String *, jint); +private: + ::java::lang::String * parseRealm(); +public: + ::java::lang::String * getName(); + ::java::lang::String * getRealm(); + jint getNameType(); + jint hashCode(); + jboolean equals(::java::lang::Object *); + ::java::lang::String * toString(); + static const jint KRB_NT_PRINCIPAL = 1; + static const jint KRB_NT_SRV_HST = 3; + static const jint KRB_NT_SRV_INST = 2; + static const jint KRB_NT_SRV_XHST = 4; + static const jint KRB_NT_UID = 5; + static const jint KRB_NT_UNKNOWN = 0; +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + jint type; + ::java::lang::String * realm; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_KerberosPrincipal__ |