summaryrefslogtreecommitdiff
path: root/libjava/javax/security/auth
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/security/auth')
-rw-r--r--libjava/javax/security/auth/AuthPermission.h33
-rw-r--r--libjava/javax/security/auth/DestroyFailedException.h33
-rw-r--r--libjava/javax/security/auth/Destroyable.h33
-rw-r--r--libjava/javax/security/auth/Policy.h49
-rw-r--r--libjava/javax/security/auth/PrivateCredentialPermission$CredOwner.h41
-rw-r--r--libjava/javax/security/auth/PrivateCredentialPermission.h55
-rw-r--r--libjava/javax/security/auth/RefreshFailedException.h33
-rw-r--r--libjava/javax/security/auth/Refreshable.h33
-rw-r--r--libjava/javax/security/auth/Subject$SecureSet.h56
-rw-r--r--libjava/javax/security/auth/Subject.h66
-rw-r--r--libjava/javax/security/auth/SubjectDomainCombiner.h47
-rw-r--r--libjava/javax/security/auth/callback/Callback.h34
-rw-r--r--libjava/javax/security/auth/callback/CallbackHandler.h38
-rw-r--r--libjava/javax/security/auth/callback/ChoiceCallback.h53
-rw-r--r--libjava/javax/security/auth/callback/ConfirmationCallback.h72
-rw-r--r--libjava/javax/security/auth/callback/LanguageCallback.h40
-rw-r--r--libjava/javax/security/auth/callback/NameCallback.h47
-rw-r--r--libjava/javax/security/auth/callback/PasswordCallback.h48
-rw-r--r--libjava/javax/security/auth/callback/TextInputCallback.h47
-rw-r--r--libjava/javax/security/auth/callback/TextOutputCallback.h47
-rw-r--r--libjava/javax/security/auth/callback/UnsupportedCallbackException.h41
-rw-r--r--libjava/javax/security/auth/kerberos/DelegationPermission$1.h52
-rw-r--r--libjava/javax/security/auth/kerberos/DelegationPermission.h49
-rw-r--r--libjava/javax/security/auth/kerberos/KerberosKey.h58
-rw-r--r--libjava/javax/security/auth/kerberos/KerberosPrincipal.h56
-rw-r--r--libjava/javax/security/auth/kerberos/KerberosTicket.h97
-rw-r--r--libjava/javax/security/auth/kerberos/KeyImpl.h45
-rw-r--r--libjava/javax/security/auth/kerberos/ServicePermission$1.h52
-rw-r--r--libjava/javax/security/auth/kerberos/ServicePermission.h54
-rw-r--r--libjava/javax/security/auth/login/AccountException.h39
-rw-r--r--libjava/javax/security/auth/login/AccountExpiredException.h39
-rw-r--r--libjava/javax/security/auth/login/AccountLockedException.h39
-rw-r--r--libjava/javax/security/auth/login/AccountNotFoundException.h39
-rw-r--r--libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h40
-rw-r--r--libjava/javax/security/auth/login/AppConfigurationEntry.h45
-rw-r--r--libjava/javax/security/auth/login/Configuration$1.h37
-rw-r--r--libjava/javax/security/auth/login/Configuration.h48
-rw-r--r--libjava/javax/security/auth/login/CredentialException.h39
-rw-r--r--libjava/javax/security/auth/login/CredentialExpiredException.h39
-rw-r--r--libjava/javax/security/auth/login/CredentialNotFoundException.h39
-rw-r--r--libjava/javax/security/auth/login/FailedLoginException.h39
-rw-r--r--libjava/javax/security/auth/login/LoginContext.h66
-rw-r--r--libjava/javax/security/auth/login/LoginException.h39
-rw-r--r--libjava/javax/security/auth/login/NullConfiguration.h41
-rw-r--r--libjava/javax/security/auth/spi/LoginModule.h44
-rw-r--r--libjava/javax/security/auth/x500/X500Principal.h92
-rw-r--r--libjava/javax/security/auth/x500/X500PrivateCredential.h57
47 files changed, 2230 insertions, 0 deletions
diff --git a/libjava/javax/security/auth/AuthPermission.h b/libjava/javax/security/auth/AuthPermission.h
new file mode 100644
index 000000000..7be18bde9
--- /dev/null
+++ b/libjava/javax/security/auth/AuthPermission.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_AuthPermission__
+#define __javax_security_auth_AuthPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class AuthPermission;
+ }
+ }
+ }
+}
+
+class javax::security::auth::AuthPermission : public ::java::security::BasicPermission
+{
+
+public:
+ AuthPermission(::java::lang::String *);
+ AuthPermission(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_AuthPermission__
diff --git a/libjava/javax/security/auth/DestroyFailedException.h b/libjava/javax/security/auth/DestroyFailedException.h
new file mode 100644
index 000000000..7ee0fb6a2
--- /dev/null
+++ b/libjava/javax/security/auth/DestroyFailedException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_DestroyFailedException__
+#define __javax_security_auth_DestroyFailedException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class DestroyFailedException;
+ }
+ }
+ }
+}
+
+class javax::security::auth::DestroyFailedException : public ::java::lang::Exception
+{
+
+public:
+ DestroyFailedException();
+ DestroyFailedException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_DestroyFailedException__
diff --git a/libjava/javax/security/auth/Destroyable.h b/libjava/javax/security/auth/Destroyable.h
new file mode 100644
index 000000000..3afdb762f
--- /dev/null
+++ b/libjava/javax/security/auth/Destroyable.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_Destroyable__
+#define __javax_security_auth_Destroyable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class Destroyable;
+ }
+ }
+ }
+}
+
+class javax::security::auth::Destroyable : public ::java::lang::Object
+{
+
+public:
+ virtual void destroy() = 0;
+ virtual jboolean isDestroyed() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_security_auth_Destroyable__
diff --git a/libjava/javax/security/auth/Policy.h b/libjava/javax/security/auth/Policy.h
new file mode 100644
index 000000000..394a870d6
--- /dev/null
+++ b/libjava/javax/security/auth/Policy.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_Policy__
+#define __javax_security_auth_Policy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class CodeSource;
+ class PermissionCollection;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class Policy;
+ class Subject;
+ }
+ }
+ }
+}
+
+class javax::security::auth::Policy : public ::java::lang::Object
+{
+
+public: // actually protected
+ Policy();
+public:
+ static ::javax::security::auth::Policy * getPolicy();
+ static void setPolicy(::javax::security::auth::Policy *);
+ virtual ::java::security::PermissionCollection * getPermissions(::javax::security::auth::Subject *, ::java::security::CodeSource *) = 0;
+ virtual void refresh() = 0;
+private:
+ static ::javax::security::auth::Policy * policy;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_Policy__
diff --git a/libjava/javax/security/auth/PrivateCredentialPermission$CredOwner.h b/libjava/javax/security/auth/PrivateCredentialPermission$CredOwner.h
new file mode 100644
index 000000000..c877eddd1
--- /dev/null
+++ b/libjava/javax/security/auth/PrivateCredentialPermission$CredOwner.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_PrivateCredentialPermission$CredOwner__
+#define __javax_security_auth_PrivateCredentialPermission$CredOwner__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class PrivateCredentialPermission$CredOwner;
+ }
+ }
+ }
+}
+
+class javax::security::auth::PrivateCredentialPermission$CredOwner : public ::java::lang::Object
+{
+
+public: // actually package-private
+ PrivateCredentialPermission$CredOwner(::java::lang::String *, ::java::lang::String *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * getPrincipalClass();
+ virtual ::java::lang::String * getPrincipalName();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) principalClass;
+ ::java::lang::String * principalName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_PrivateCredentialPermission$CredOwner__
diff --git a/libjava/javax/security/auth/PrivateCredentialPermission.h b/libjava/javax/security/auth/PrivateCredentialPermission.h
new file mode 100644
index 000000000..157c1df79
--- /dev/null
+++ b/libjava/javax/security/auth/PrivateCredentialPermission.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_PrivateCredentialPermission__
+#define __javax_security_auth_PrivateCredentialPermission__
+
+#pragma interface
+
+#include <java/security/Permission.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class PrivateCredentialPermission;
+ }
+ }
+ }
+}
+
+class javax::security::auth::PrivateCredentialPermission : public ::java::security::Permission
+{
+
+public:
+ PrivateCredentialPermission(::java::lang::String *, ::java::lang::String *);
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::String * getActions();
+ ::java::lang::String * getCredentialClass();
+ JArray< JArray< ::java::lang::String * > * > * getPrincipals();
+ jint hashCode();
+ jboolean implies(::java::security::Permission *);
+ ::java::security::PermissionCollection * newPermissionCollection();
+private:
+ static const jlong serialVersionUID = 5284372143517237068LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::security::Permission)))) credentialClass;
+ ::java::util::Set * principals;
+ jboolean testing;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_PrivateCredentialPermission__
diff --git a/libjava/javax/security/auth/RefreshFailedException.h b/libjava/javax/security/auth/RefreshFailedException.h
new file mode 100644
index 000000000..c0fadb08d
--- /dev/null
+++ b/libjava/javax/security/auth/RefreshFailedException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_RefreshFailedException__
+#define __javax_security_auth_RefreshFailedException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class RefreshFailedException;
+ }
+ }
+ }
+}
+
+class javax::security::auth::RefreshFailedException : public ::java::lang::Exception
+{
+
+public:
+ RefreshFailedException();
+ RefreshFailedException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_RefreshFailedException__
diff --git a/libjava/javax/security/auth/Refreshable.h b/libjava/javax/security/auth/Refreshable.h
new file mode 100644
index 000000000..5c065c5aa
--- /dev/null
+++ b/libjava/javax/security/auth/Refreshable.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_Refreshable__
+#define __javax_security_auth_Refreshable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class Refreshable;
+ }
+ }
+ }
+}
+
+class javax::security::auth::Refreshable : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean isCurrent() = 0;
+ virtual void refresh() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_security_auth_Refreshable__
diff --git a/libjava/javax/security/auth/Subject$SecureSet.h b/libjava/javax/security/auth/Subject$SecureSet.h
new file mode 100644
index 000000000..854176ce9
--- /dev/null
+++ b/libjava/javax/security/auth/Subject$SecureSet.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_Subject$SecureSet__
+#define __javax_security_auth_Subject$SecureSet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class Subject;
+ class Subject$SecureSet;
+ }
+ }
+ }
+}
+
+class javax::security::auth::Subject$SecureSet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ Subject$SecureSet(::javax::security::auth::Subject *, jint, ::java::util::Collection *);
+ Subject$SecureSet(::javax::security::auth::Subject *, jint);
+public:
+ virtual jint size();
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ virtual void clear();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 7911754171111800359LL;
+public: // actually package-private
+ static const jint PRINCIPALS = 0;
+ static const jint PUBLIC_CREDENTIALS = 1;
+ static const jint PRIVATE_CREDENTIALS = 2;
+private:
+ ::javax::security::auth::Subject * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) subject;
+ ::java::util::LinkedList * elements;
+ jint type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_Subject$SecureSet__
diff --git a/libjava/javax/security/auth/Subject.h b/libjava/javax/security/auth/Subject.h
new file mode 100644
index 000000000..de9165199
--- /dev/null
+++ b/libjava/javax/security/auth/Subject.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_Subject__
+#define __javax_security_auth_Subject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AccessControlContext;
+ class PrivilegedAction;
+ class PrivilegedExceptionAction;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class Subject;
+ class Subject$SecureSet;
+ }
+ }
+ }
+}
+
+class javax::security::auth::Subject : public ::java::lang::Object
+{
+
+public:
+ Subject();
+ Subject(jboolean, ::java::util::Set *, ::java::util::Set *, ::java::util::Set *);
+ static ::javax::security::auth::Subject * getSubject(::java::security::AccessControlContext *);
+ static ::java::lang::Object * doAs(::javax::security::auth::Subject *, ::java::security::PrivilegedAction *);
+ static ::java::lang::Object * doAs(::javax::security::auth::Subject *, ::java::security::PrivilegedExceptionAction *);
+ static ::java::lang::Object * doAsPrivileged(::javax::security::auth::Subject *, ::java::security::PrivilegedAction *, ::java::security::AccessControlContext *);
+ static ::java::lang::Object * doAsPrivileged(::javax::security::auth::Subject *, ::java::security::PrivilegedExceptionAction *, ::java::security::AccessControlContext *);
+ jboolean equals(::java::lang::Object *);
+ ::java::util::Set * getPrincipals();
+ ::java::util::Set * getPrincipals(::java::lang::Class *);
+ ::java::util::Set * getPrivateCredentials();
+ ::java::util::Set * getPrivateCredentials(::java::lang::Class *);
+ ::java::util::Set * getPublicCredentials();
+ ::java::util::Set * getPublicCredentials(::java::lang::Class *);
+ jint hashCode();
+ jboolean isReadOnly();
+ void setReadOnly();
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -8308522755600156056LL;
+ ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) principals;
+ jboolean readOnly;
+ ::javax::security::auth::Subject$SecureSet * pubCred;
+ ::javax::security::auth::Subject$SecureSet * privCred;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_Subject__
diff --git a/libjava/javax/security/auth/SubjectDomainCombiner.h b/libjava/javax/security/auth/SubjectDomainCombiner.h
new file mode 100644
index 000000000..bda871c92
--- /dev/null
+++ b/libjava/javax/security/auth/SubjectDomainCombiner.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_SubjectDomainCombiner__
+#define __javax_security_auth_SubjectDomainCombiner__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class ProtectionDomain;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class Subject;
+ class SubjectDomainCombiner;
+ }
+ }
+ }
+}
+
+class javax::security::auth::SubjectDomainCombiner : public ::java::lang::Object
+{
+
+public:
+ SubjectDomainCombiner(::javax::security::auth::Subject *);
+ virtual JArray< ::java::security::ProtectionDomain * > * combine(JArray< ::java::security::ProtectionDomain * > *, JArray< ::java::security::ProtectionDomain * > *);
+ virtual ::javax::security::auth::Subject * getSubject();
+private:
+ ::javax::security::auth::Subject * __attribute__((aligned(__alignof__( ::java::lang::Object)))) subject;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_SubjectDomainCombiner__
diff --git a/libjava/javax/security/auth/callback/Callback.h b/libjava/javax/security/auth/callback/Callback.h
new file mode 100644
index 000000000..ef069f633
--- /dev/null
+++ b/libjava/javax/security/auth/callback/Callback.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_Callback__
+#define __javax_security_auth_callback_Callback__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class Callback;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::Callback : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_security_auth_callback_Callback__
diff --git a/libjava/javax/security/auth/callback/CallbackHandler.h b/libjava/javax/security/auth/callback/CallbackHandler.h
new file mode 100644
index 000000000..63f4bfb41
--- /dev/null
+++ b/libjava/javax/security/auth/callback/CallbackHandler.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_CallbackHandler__
+#define __javax_security_auth_callback_CallbackHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class Callback;
+ class CallbackHandler;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::CallbackHandler : public ::java::lang::Object
+{
+
+public:
+ virtual void handle(JArray< ::javax::security::auth::callback::Callback * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_security_auth_callback_CallbackHandler__
diff --git a/libjava/javax/security/auth/callback/ChoiceCallback.h b/libjava/javax/security/auth/callback/ChoiceCallback.h
new file mode 100644
index 000000000..80f4ccf28
--- /dev/null
+++ b/libjava/javax/security/auth/callback/ChoiceCallback.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_ChoiceCallback__
+#define __javax_security_auth_callback_ChoiceCallback__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class ChoiceCallback;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::ChoiceCallback : public ::java::lang::Object
+{
+
+public:
+ ChoiceCallback(::java::lang::String *, JArray< ::java::lang::String * > *, jint, jboolean);
+ virtual ::java::lang::String * getPrompt();
+ virtual JArray< ::java::lang::String * > * getChoices();
+ virtual jint getDefaultChoice();
+ virtual jboolean allowMultipleSelections();
+ virtual void setSelectedIndex(jint);
+ virtual void setSelectedIndexes(JArray< jint > *);
+ virtual JArray< jint > * getSelectedIndexes();
+private:
+ void setPrompt(::java::lang::String *);
+ void setChoices(JArray< ::java::lang::String * > *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt;
+ JArray< ::java::lang::String * > * choices;
+ jint defaultChoice;
+ jboolean multipleSelectionsAllowed;
+ JArray< jint > * selections;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_callback_ChoiceCallback__
diff --git a/libjava/javax/security/auth/callback/ConfirmationCallback.h b/libjava/javax/security/auth/callback/ConfirmationCallback.h
new file mode 100644
index 000000000..4e7443832
--- /dev/null
+++ b/libjava/javax/security/auth/callback/ConfirmationCallback.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_ConfirmationCallback__
+#define __javax_security_auth_callback_ConfirmationCallback__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class ConfirmationCallback;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::ConfirmationCallback : public ::java::lang::Object
+{
+
+public:
+ ConfirmationCallback(jint, jint, jint);
+ ConfirmationCallback(jint, JArray< ::java::lang::String * > *, jint);
+ ConfirmationCallback(::java::lang::String *, jint, jint, jint);
+ ConfirmationCallback(::java::lang::String *, jint, JArray< ::java::lang::String * > *, jint);
+ virtual ::java::lang::String * getPrompt();
+ virtual jint getMessageType();
+ virtual jint getOptionType();
+ virtual JArray< ::java::lang::String * > * getOptions();
+ virtual jint getDefaultOption();
+ virtual void setSelectedIndex(jint);
+ virtual jint getSelectedIndex();
+private:
+ void setMessageType(jint);
+ void setOptionType(jint, jint);
+ void setOptions(JArray< ::java::lang::String * > *, jint);
+ void setPrompt(::java::lang::String *);
+public:
+ static const jint UNSPECIFIED_OPTION = -1;
+ static const jint YES_NO_OPTION = 0;
+ static const jint YES_NO_CANCEL_OPTION = 1;
+ static const jint OK_CANCEL_OPTION = 2;
+ static const jint YES = 0;
+ static const jint NO = 1;
+ static const jint CANCEL = 2;
+ static const jint OK = 3;
+ static const jint INFORMATION = 0;
+ static const jint WARNING = 1;
+ static const jint ERROR = 2;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt;
+ jint messageType;
+ jint optionType;
+ jint defaultOption;
+ JArray< ::java::lang::String * > * options;
+ jint selection;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_callback_ConfirmationCallback__
diff --git a/libjava/javax/security/auth/callback/LanguageCallback.h b/libjava/javax/security/auth/callback/LanguageCallback.h
new file mode 100644
index 000000000..8580fa7a8
--- /dev/null
+++ b/libjava/javax/security/auth/callback/LanguageCallback.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_LanguageCallback__
+#define __javax_security_auth_callback_LanguageCallback__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class LanguageCallback;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::LanguageCallback : public ::java::lang::Object
+{
+
+public:
+ LanguageCallback();
+ virtual void setLocale(::java::util::Locale *);
+ virtual ::java::util::Locale * getLocale();
+private:
+ ::java::util::Locale * __attribute__((aligned(__alignof__( ::java::lang::Object)))) locale;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_callback_LanguageCallback__
diff --git a/libjava/javax/security/auth/callback/NameCallback.h b/libjava/javax/security/auth/callback/NameCallback.h
new file mode 100644
index 000000000..89e3ffdbc
--- /dev/null
+++ b/libjava/javax/security/auth/callback/NameCallback.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_NameCallback__
+#define __javax_security_auth_callback_NameCallback__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class NameCallback;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::NameCallback : public ::java::lang::Object
+{
+
+public:
+ NameCallback(::java::lang::String *);
+ NameCallback(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getPrompt();
+ virtual ::java::lang::String * getDefaultName();
+ virtual void setName(::java::lang::String *);
+ virtual ::java::lang::String * getName();
+private:
+ void setPrompt(::java::lang::String *);
+ void setDefaultName(::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt;
+ ::java::lang::String * defaultName;
+ ::java::lang::String * inputName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_callback_NameCallback__
diff --git a/libjava/javax/security/auth/callback/PasswordCallback.h b/libjava/javax/security/auth/callback/PasswordCallback.h
new file mode 100644
index 000000000..2055b7cc6
--- /dev/null
+++ b/libjava/javax/security/auth/callback/PasswordCallback.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_PasswordCallback__
+#define __javax_security_auth_callback_PasswordCallback__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class PasswordCallback;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::PasswordCallback : public ::java::lang::Object
+{
+
+public:
+ PasswordCallback(::java::lang::String *, jboolean);
+ virtual ::java::lang::String * getPrompt();
+ virtual jboolean isEchoOn();
+ virtual void setPassword(JArray< jchar > *);
+ virtual JArray< jchar > * getPassword();
+ virtual void clearPassword();
+private:
+ void setPrompt(::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt;
+ jboolean echoOn;
+ JArray< jchar > * inputPassword;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_callback_PasswordCallback__
diff --git a/libjava/javax/security/auth/callback/TextInputCallback.h b/libjava/javax/security/auth/callback/TextInputCallback.h
new file mode 100644
index 000000000..bf85c3544
--- /dev/null
+++ b/libjava/javax/security/auth/callback/TextInputCallback.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_TextInputCallback__
+#define __javax_security_auth_callback_TextInputCallback__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class TextInputCallback;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::TextInputCallback : public ::java::lang::Object
+{
+
+public:
+ TextInputCallback(::java::lang::String *);
+ TextInputCallback(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getPrompt();
+ virtual ::java::lang::String * getDefaultText();
+ virtual void setText(::java::lang::String *);
+ virtual ::java::lang::String * getText();
+private:
+ void setPrompt(::java::lang::String *);
+ void setDefaultText(::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt;
+ ::java::lang::String * defaultText;
+ ::java::lang::String * inputText;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_callback_TextInputCallback__
diff --git a/libjava/javax/security/auth/callback/TextOutputCallback.h b/libjava/javax/security/auth/callback/TextOutputCallback.h
new file mode 100644
index 000000000..048e8cf83
--- /dev/null
+++ b/libjava/javax/security/auth/callback/TextOutputCallback.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_TextOutputCallback__
+#define __javax_security_auth_callback_TextOutputCallback__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class TextOutputCallback;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::TextOutputCallback : public ::java::lang::Object
+{
+
+public:
+ TextOutputCallback(jint, ::java::lang::String *);
+ virtual jint getMessageType();
+ virtual ::java::lang::String * getMessage();
+private:
+ void setMessage(::java::lang::String *);
+public:
+ static const jint INFORMATION = 0;
+ static const jint WARNING = 1;
+ static const jint ERROR = 2;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) messageType;
+ ::java::lang::String * message;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_callback_TextOutputCallback__
diff --git a/libjava/javax/security/auth/callback/UnsupportedCallbackException.h b/libjava/javax/security/auth/callback/UnsupportedCallbackException.h
new file mode 100644
index 000000000..ec80fddcb
--- /dev/null
+++ b/libjava/javax/security/auth/callback/UnsupportedCallbackException.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_callback_UnsupportedCallbackException__
+#define __javax_security_auth_callback_UnsupportedCallbackException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace callback
+ {
+ class Callback;
+ class UnsupportedCallbackException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::callback::UnsupportedCallbackException : public ::java::lang::Exception
+{
+
+public:
+ UnsupportedCallbackException(::javax::security::auth::callback::Callback *);
+ UnsupportedCallbackException(::javax::security::auth::callback::Callback *, ::java::lang::String *);
+ virtual ::javax::security::auth::callback::Callback * getCallback();
+private:
+ ::javax::security::auth::callback::Callback * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) callback;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_callback_UnsupportedCallbackException__
diff --git a/libjava/javax/security/auth/kerberos/DelegationPermission$1.h b/libjava/javax/security/auth/kerberos/DelegationPermission$1.h
new file mode 100644
index 000000000..5a378b08e
--- /dev/null
+++ b/libjava/javax/security/auth/kerberos/DelegationPermission$1.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_kerberos_DelegationPermission$1__
+#define __javax_security_auth_kerberos_DelegationPermission$1__
+
+#pragma interface
+
+#include <java/security/PermissionCollection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace kerberos
+ {
+ class DelegationPermission;
+ class DelegationPermission$1;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::kerberos::DelegationPermission$1 : public ::java::security::PermissionCollection
+{
+
+public: // actually package-private
+ DelegationPermission$1(::javax::security::auth::kerberos::DelegationPermission *);
+public:
+ virtual void add(::java::security::Permission *);
+ virtual jboolean implies(::java::security::Permission *);
+ virtual ::java::util::Enumeration * elements();
+private:
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) permissions;
+public: // actually package-private
+ ::javax::security::auth::kerberos::DelegationPermission * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_kerberos_DelegationPermission$1__
diff --git a/libjava/javax/security/auth/kerberos/DelegationPermission.h b/libjava/javax/security/auth/kerberos/DelegationPermission.h
new file mode 100644
index 000000000..2b89ad700
--- /dev/null
+++ b/libjava/javax/security/auth/kerberos/DelegationPermission.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_kerberos_DelegationPermission__
+#define __javax_security_auth_kerberos_DelegationPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace kerberos
+ {
+ class DelegationPermission;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::kerberos::DelegationPermission : public ::java::security::BasicPermission
+{
+
+public:
+ DelegationPermission(::java::lang::String *);
+ DelegationPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static void checkSyntax(::java::lang::String *);
+public:
+ jboolean implies(::java::security::Permission *);
+ ::java::security::PermissionCollection * newPermissionCollection();
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_kerberos_DelegationPermission__
diff --git a/libjava/javax/security/auth/kerberos/KerberosKey.h b/libjava/javax/security/auth/kerberos/KerberosKey.h
new file mode 100644
index 000000000..ed0e93f29
--- /dev/null
+++ b/libjava/javax/security/auth/kerberos/KerberosKey.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_kerberos_KerberosKey__
+#define __javax_security_auth_kerberos_KerberosKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace kerberos
+ {
+ class KerberosKey;
+ class KerberosPrincipal;
+ class KeyImpl;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::kerberos::KerberosKey : public ::java::lang::Object
+{
+
+public:
+ KerberosKey(::javax::security::auth::kerberos::KerberosPrincipal *, JArray< jbyte > *, jint, jint);
+ KerberosKey(::javax::security::auth::kerberos::KerberosPrincipal *, JArray< jchar > *, ::java::lang::String *);
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::lang::String * getFormat();
+ virtual ::javax::security::auth::kerberos::KerberosPrincipal * getPrincipal();
+ virtual jint getKeyType();
+ virtual jint getVersionNumber();
+ virtual JArray< jbyte > * getEncoded();
+ virtual void destroy();
+ virtual jboolean isDestroyed();
+private:
+ void checkDestroyed();
+public:
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -4625402278148246993LL;
+ ::javax::security::auth::kerberos::KerberosPrincipal * __attribute__((aligned(__alignof__( ::java::lang::Object)))) principal;
+ jint versionNum;
+ ::javax::security::auth::kerberos::KeyImpl * key;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_kerberos_KerberosKey__
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__
diff --git a/libjava/javax/security/auth/kerberos/KerberosTicket.h b/libjava/javax/security/auth/kerberos/KerberosTicket.h
new file mode 100644
index 000000000..d92309354
--- /dev/null
+++ b/libjava/javax/security/auth/kerberos/KerberosTicket.h
@@ -0,0 +1,97 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_kerberos_KerberosTicket__
+#define __javax_security_auth_kerberos_KerberosTicket__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class SecretKey;
+ }
+ namespace security
+ {
+ namespace auth
+ {
+ namespace kerberos
+ {
+ class KerberosPrincipal;
+ class KerberosTicket;
+ class KeyImpl;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::kerberos::KerberosTicket : public ::java::lang::Object
+{
+
+public:
+ KerberosTicket(JArray< jbyte > *, ::javax::security::auth::kerberos::KerberosPrincipal *, ::javax::security::auth::kerberos::KerberosPrincipal *, JArray< jbyte > *, jint, JArray< jboolean > *, ::java::util::Date *, ::java::util::Date *, ::java::util::Date *, ::java::util::Date *, JArray< ::java::net::InetAddress * > *);
+ virtual void destroy();
+ virtual jboolean isDestroyed();
+ virtual jboolean isCurrent();
+ virtual void refresh();
+ virtual ::javax::security::auth::kerberos::KerberosPrincipal * getClient();
+ virtual ::javax::security::auth::kerberos::KerberosPrincipal * getServer();
+ virtual jboolean isForwardable();
+ virtual jboolean isForwarded();
+ virtual jboolean isProxiable();
+ virtual jboolean isProxy();
+ virtual jboolean isPostdated();
+ virtual jboolean isRenewable();
+ virtual jboolean isInitial();
+ virtual JArray< jboolean > * getFlags();
+ virtual ::java::util::Date * getAuthTime();
+ virtual ::java::util::Date * getStartTime();
+ virtual ::java::util::Date * getEndTime();
+ virtual ::java::util::Date * getRenewTill();
+ virtual JArray< ::java::net::InetAddress * > * getClientAddresses();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::javax::crypto::SecretKey * getSessionKey();
+private:
+ void checkDestroyed();
+public:
+ virtual ::java::lang::String * toString();
+ virtual jint getSessionKeyType();
+private:
+ static const jlong serialVersionUID = 7395334370157380539LL;
+ static const jint FORWARDABLE = 1;
+ static const jint FORWARDED = 2;
+ static const jint PROXIABLE = 3;
+ static const jint PROXY = 4;
+ static const jint POSTDATED = 6;
+ static const jint RENEWABLE = 8;
+ static const jint INITIAL = 9;
+ static const jint NUM_FLAGS = 12;
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) asn1Encoding;
+ ::javax::security::auth::kerberos::KeyImpl * sessionKey;
+ JArray< jboolean > * flags;
+ ::java::util::Date * authTime;
+ ::java::util::Date * startTime;
+ ::java::util::Date * endTime;
+ ::java::util::Date * renewTill;
+ ::javax::security::auth::kerberos::KerberosPrincipal * client;
+ ::javax::security::auth::kerberos::KerberosPrincipal * server;
+ JArray< ::java::net::InetAddress * > * clientAddresses;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_kerberos_KerberosTicket__
diff --git a/libjava/javax/security/auth/kerberos/KeyImpl.h b/libjava/javax/security/auth/kerberos/KeyImpl.h
new file mode 100644
index 000000000..4aa956313
--- /dev/null
+++ b/libjava/javax/security/auth/kerberos/KeyImpl.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_kerberos_KeyImpl__
+#define __javax_security_auth_kerberos_KeyImpl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace kerberos
+ {
+ class KeyImpl;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::kerberos::KeyImpl : public ::java::lang::Object
+{
+
+public:
+ KeyImpl(JArray< jbyte > *, jint);
+ KeyImpl(JArray< jchar > *, ::java::lang::String *);
+ ::java::lang::String * getAlgorithm();
+ JArray< jbyte > * getEncoded();
+ ::java::lang::String * getFormat();
+ ::java::lang::String * toString();
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) algorithm;
+ jint type;
+ JArray< jbyte > * key;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_kerberos_KeyImpl__
diff --git a/libjava/javax/security/auth/kerberos/ServicePermission$1.h b/libjava/javax/security/auth/kerberos/ServicePermission$1.h
new file mode 100644
index 000000000..2d420d562
--- /dev/null
+++ b/libjava/javax/security/auth/kerberos/ServicePermission$1.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_kerberos_ServicePermission$1__
+#define __javax_security_auth_kerberos_ServicePermission$1__
+
+#pragma interface
+
+#include <java/security/PermissionCollection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace kerberos
+ {
+ class ServicePermission;
+ class ServicePermission$1;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::kerberos::ServicePermission$1 : public ::java::security::PermissionCollection
+{
+
+public: // actually package-private
+ ServicePermission$1(::javax::security::auth::kerberos::ServicePermission *);
+public:
+ virtual void add(::java::security::Permission *);
+ virtual jboolean implies(::java::security::Permission *);
+ virtual ::java::util::Enumeration * elements();
+private:
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) permissions;
+public: // actually package-private
+ ::javax::security::auth::kerberos::ServicePermission * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_kerberos_ServicePermission$1__
diff --git a/libjava/javax/security/auth/kerberos/ServicePermission.h b/libjava/javax/security/auth/kerberos/ServicePermission.h
new file mode 100644
index 000000000..0abca5189
--- /dev/null
+++ b/libjava/javax/security/auth/kerberos/ServicePermission.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_kerberos_ServicePermission__
+#define __javax_security_auth_kerberos_ServicePermission__
+
+#pragma interface
+
+#include <java/security/Permission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace kerberos
+ {
+ class ServicePermission;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::kerberos::ServicePermission : public ::java::security::Permission
+{
+
+public:
+ ServicePermission(::java::lang::String *, ::java::lang::String *);
+ jboolean implies(::java::security::Permission *);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * getActions();
+ ::java::security::PermissionCollection * newPermissionCollection();
+private:
+ void parseActions(::java::lang::String *);
+ static const jint INITIATE = 1;
+ static const jint ACCEPT = 2;
+ jint __attribute__((aligned(__alignof__( ::java::security::Permission)))) flags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_kerberos_ServicePermission__
diff --git a/libjava/javax/security/auth/login/AccountException.h b/libjava/javax/security/auth/login/AccountException.h
new file mode 100644
index 000000000..1ee771869
--- /dev/null
+++ b/libjava/javax/security/auth/login/AccountException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_AccountException__
+#define __javax_security_auth_login_AccountException__
+
+#pragma interface
+
+#include <javax/security/auth/login/LoginException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class AccountException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::AccountException : public ::javax::security::auth::login::LoginException
+{
+
+public:
+ AccountException();
+ AccountException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -2112878680072211787LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_AccountException__
diff --git a/libjava/javax/security/auth/login/AccountExpiredException.h b/libjava/javax/security/auth/login/AccountExpiredException.h
new file mode 100644
index 000000000..76c921442
--- /dev/null
+++ b/libjava/javax/security/auth/login/AccountExpiredException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_AccountExpiredException__
+#define __javax_security_auth_login_AccountExpiredException__
+
+#pragma interface
+
+#include <javax/security/auth/login/AccountException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class AccountExpiredException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::AccountExpiredException : public ::javax::security::auth::login::AccountException
+{
+
+public:
+ AccountExpiredException();
+ AccountExpiredException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -6064064890162661560LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_AccountExpiredException__
diff --git a/libjava/javax/security/auth/login/AccountLockedException.h b/libjava/javax/security/auth/login/AccountLockedException.h
new file mode 100644
index 000000000..e2d8a53df
--- /dev/null
+++ b/libjava/javax/security/auth/login/AccountLockedException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_AccountLockedException__
+#define __javax_security_auth_login_AccountLockedException__
+
+#pragma interface
+
+#include <javax/security/auth/login/AccountException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class AccountLockedException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::AccountLockedException : public ::javax::security::auth::login::AccountException
+{
+
+public:
+ AccountLockedException();
+ AccountLockedException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8280345554014066334LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_AccountLockedException__
diff --git a/libjava/javax/security/auth/login/AccountNotFoundException.h b/libjava/javax/security/auth/login/AccountNotFoundException.h
new file mode 100644
index 000000000..e258fa0ea
--- /dev/null
+++ b/libjava/javax/security/auth/login/AccountNotFoundException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_AccountNotFoundException__
+#define __javax_security_auth_login_AccountNotFoundException__
+
+#pragma interface
+
+#include <javax/security/auth/login/AccountException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class AccountNotFoundException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::AccountNotFoundException : public ::javax::security::auth::login::AccountException
+{
+
+public:
+ AccountNotFoundException();
+ AccountNotFoundException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 1498349563916294614LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_AccountNotFoundException__
diff --git a/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h b/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h
new file mode 100644
index 000000000..b5ddbece9
--- /dev/null
+++ b/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__
+#define __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class AppConfigurationEntry$LoginModuleControlFlag;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag : public ::java::lang::Object
+{
+
+ AppConfigurationEntry$LoginModuleControlFlag();
+public:
+ virtual ::java::lang::String * toString();
+ static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * OPTIONAL;
+ static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * REQUIRED;
+ static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * REQUISITE;
+ static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * SUFFICIENT;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__
diff --git a/libjava/javax/security/auth/login/AppConfigurationEntry.h b/libjava/javax/security/auth/login/AppConfigurationEntry.h
new file mode 100644
index 000000000..8ca23b3e3
--- /dev/null
+++ b/libjava/javax/security/auth/login/AppConfigurationEntry.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_AppConfigurationEntry__
+#define __javax_security_auth_login_AppConfigurationEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class AppConfigurationEntry;
+ class AppConfigurationEntry$LoginModuleControlFlag;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::AppConfigurationEntry : public ::java::lang::Object
+{
+
+public:
+ AppConfigurationEntry(::java::lang::String *, ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag *, ::java::util::Map *);
+ virtual ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * getControlFlag();
+ virtual ::java::lang::String * getLoginModuleName();
+ virtual ::java::util::Map * getOptions();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) loginModuleName;
+ ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * controlFlag;
+ ::java::util::Map * options;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_AppConfigurationEntry__
diff --git a/libjava/javax/security/auth/login/Configuration$1.h b/libjava/javax/security/auth/login/Configuration$1.h
new file mode 100644
index 000000000..e1ace01d4
--- /dev/null
+++ b/libjava/javax/security/auth/login/Configuration$1.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_Configuration$1__
+#define __javax_security_auth_login_Configuration$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class Configuration$1;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::Configuration$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Configuration$1();
+public:
+ virtual ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_Configuration$1__
diff --git a/libjava/javax/security/auth/login/Configuration.h b/libjava/javax/security/auth/login/Configuration.h
new file mode 100644
index 000000000..1da5bf713
--- /dev/null
+++ b/libjava/javax/security/auth/login/Configuration.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_Configuration__
+#define __javax_security_auth_login_Configuration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class AppConfigurationEntry;
+ class Configuration;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::Configuration : public ::java::lang::Object
+{
+
+public: // actually protected
+ Configuration();
+public:
+ static ::javax::security::auth::login::Configuration * getConfiguration();
+ static void setConfiguration(::javax::security::auth::login::Configuration *);
+ virtual JArray< ::javax::security::auth::login::AppConfigurationEntry * > * getAppConfigurationEntry(::java::lang::String *) = 0;
+ virtual void refresh() = 0;
+public: // actually package-private
+ static ::javax::security::auth::login::Configuration * getConfig();
+private:
+ static ::javax::security::auth::login::Configuration * config;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_Configuration__
diff --git a/libjava/javax/security/auth/login/CredentialException.h b/libjava/javax/security/auth/login/CredentialException.h
new file mode 100644
index 000000000..87b0c0683
--- /dev/null
+++ b/libjava/javax/security/auth/login/CredentialException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_CredentialException__
+#define __javax_security_auth_login_CredentialException__
+
+#pragma interface
+
+#include <javax/security/auth/login/LoginException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class CredentialException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::CredentialException : public ::javax::security::auth::login::LoginException
+{
+
+public:
+ CredentialException();
+ CredentialException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4772893876810601859LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_CredentialException__
diff --git a/libjava/javax/security/auth/login/CredentialExpiredException.h b/libjava/javax/security/auth/login/CredentialExpiredException.h
new file mode 100644
index 000000000..a10aefa13
--- /dev/null
+++ b/libjava/javax/security/auth/login/CredentialExpiredException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_CredentialExpiredException__
+#define __javax_security_auth_login_CredentialExpiredException__
+
+#pragma interface
+
+#include <javax/security/auth/login/CredentialException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class CredentialExpiredException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::CredentialExpiredException : public ::javax::security::auth::login::CredentialException
+{
+
+public:
+ CredentialExpiredException();
+ CredentialExpiredException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -5344739593859737937LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_CredentialExpiredException__
diff --git a/libjava/javax/security/auth/login/CredentialNotFoundException.h b/libjava/javax/security/auth/login/CredentialNotFoundException.h
new file mode 100644
index 000000000..c60f3db8d
--- /dev/null
+++ b/libjava/javax/security/auth/login/CredentialNotFoundException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_CredentialNotFoundException__
+#define __javax_security_auth_login_CredentialNotFoundException__
+
+#pragma interface
+
+#include <javax/security/auth/login/CredentialException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class CredentialNotFoundException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::CredentialNotFoundException : public ::javax::security::auth::login::CredentialException
+{
+
+public:
+ CredentialNotFoundException();
+ CredentialNotFoundException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -7779934467214319475LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_CredentialNotFoundException__
diff --git a/libjava/javax/security/auth/login/FailedLoginException.h b/libjava/javax/security/auth/login/FailedLoginException.h
new file mode 100644
index 000000000..014a472c6
--- /dev/null
+++ b/libjava/javax/security/auth/login/FailedLoginException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_FailedLoginException__
+#define __javax_security_auth_login_FailedLoginException__
+
+#pragma interface
+
+#include <javax/security/auth/login/LoginException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class FailedLoginException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::FailedLoginException : public ::javax::security::auth::login::LoginException
+{
+
+public:
+ FailedLoginException();
+ FailedLoginException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 802556922354616286LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_FailedLoginException__
diff --git a/libjava/javax/security/auth/login/LoginContext.h b/libjava/javax/security/auth/login/LoginContext.h
new file mode 100644
index 000000000..b6d39cd50
--- /dev/null
+++ b/libjava/javax/security/auth/login/LoginContext.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_LoginContext__
+#define __javax_security_auth_login_LoginContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class Subject;
+ namespace callback
+ {
+ class CallbackHandler;
+ }
+ namespace login
+ {
+ class AppConfigurationEntry;
+ class Configuration;
+ class LoginContext;
+ }
+ namespace spi
+ {
+ class LoginModule;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::LoginContext : public ::java::lang::Object
+{
+
+public:
+ LoginContext(::java::lang::String *);
+ LoginContext(::java::lang::String *, ::javax::security::auth::callback::CallbackHandler *);
+ LoginContext(::java::lang::String *, ::javax::security::auth::Subject *);
+ LoginContext(::java::lang::String *, ::javax::security::auth::Subject *, ::javax::security::auth::callback::CallbackHandler *);
+ LoginContext(::java::lang::String *, ::javax::security::auth::Subject *, ::javax::security::auth::callback::CallbackHandler *, ::javax::security::auth::login::Configuration *);
+ virtual ::javax::security::auth::Subject * getSubject();
+ virtual void login();
+ virtual void logout();
+private:
+ static ::javax::security::auth::callback::CallbackHandler * defaultHandler();
+ ::javax::security::auth::spi::LoginModule * lookupModule(::javax::security::auth::login::AppConfigurationEntry *, ::javax::security::auth::Subject *, ::java::util::Map *);
+ static ::java::lang::String * OTHER;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::javax::security::auth::callback::CallbackHandler * cbHandler;
+ ::javax::security::auth::Subject * subject;
+ JArray< ::javax::security::auth::login::AppConfigurationEntry * > * entries;
+ JArray< ::javax::security::auth::spi::LoginModule * > * modules;
+ ::java::util::Map * sharedState;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_LoginContext__
diff --git a/libjava/javax/security/auth/login/LoginException.h b/libjava/javax/security/auth/login/LoginException.h
new file mode 100644
index 000000000..e68060db7
--- /dev/null
+++ b/libjava/javax/security/auth/login/LoginException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_LoginException__
+#define __javax_security_auth_login_LoginException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class LoginException;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::LoginException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ LoginException();
+ LoginException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4679091624035232488LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_LoginException__
diff --git a/libjava/javax/security/auth/login/NullConfiguration.h b/libjava/javax/security/auth/login/NullConfiguration.h
new file mode 100644
index 000000000..5d73d7ff3
--- /dev/null
+++ b/libjava/javax/security/auth/login/NullConfiguration.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_login_NullConfiguration__
+#define __javax_security_auth_login_NullConfiguration__
+
+#pragma interface
+
+#include <javax/security/auth/login/Configuration.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace login
+ {
+ class AppConfigurationEntry;
+ class NullConfiguration;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::login::NullConfiguration : public ::javax::security::auth::login::Configuration
+{
+
+public: // actually package-private
+ NullConfiguration();
+public:
+ JArray< ::javax::security::auth::login::AppConfigurationEntry * > * getAppConfigurationEntry(::java::lang::String *);
+ void refresh();
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_login_NullConfiguration__
diff --git a/libjava/javax/security/auth/spi/LoginModule.h b/libjava/javax/security/auth/spi/LoginModule.h
new file mode 100644
index 000000000..413c684f0
--- /dev/null
+++ b/libjava/javax/security/auth/spi/LoginModule.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_spi_LoginModule__
+#define __javax_security_auth_spi_LoginModule__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ class Subject;
+ namespace callback
+ {
+ class CallbackHandler;
+ }
+ namespace spi
+ {
+ class LoginModule;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::spi::LoginModule : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean abort() = 0;
+ virtual jboolean commit() = 0;
+ virtual void initialize(::javax::security::auth::Subject *, ::javax::security::auth::callback::CallbackHandler *, ::java::util::Map *, ::java::util::Map *) = 0;
+ virtual jboolean login() = 0;
+ virtual jboolean logout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_security_auth_spi_LoginModule__
diff --git a/libjava/javax/security/auth/x500/X500Principal.h b/libjava/javax/security/auth/x500/X500Principal.h
new file mode 100644
index 000000000..75cdb05e7
--- /dev/null
+++ b/libjava/javax/security/auth/x500/X500Principal.h
@@ -0,0 +1,92 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_x500_X500Principal__
+#define __javax_security_auth_x500_X500Principal__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500Principal;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::x500::X500Principal : public ::java::lang::Object
+{
+
+ X500Principal();
+public:
+ X500Principal(::java::lang::String *);
+ X500Principal(JArray< jbyte > *);
+ X500Principal(::java::io::InputStream *);
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ JArray< jbyte > * getEncoded();
+ ::java::lang::String * getName();
+ ::java::lang::String * getName(::java::lang::String *);
+ ::java::lang::String * toString();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ jint size();
+ ::java::lang::String * getComponent(::gnu::java::security::OID *, jint);
+ void encodeDer();
+ void parseString(::java::lang::String *);
+ ::java::lang::String * readAttributeType(::java::io::Reader *);
+ ::java::lang::String * readAttributeValue(::java::io::Reader *);
+ void parseDer(::java::io::InputStream *);
+ void newRelativeDistinguishedName();
+ void putComponent(::gnu::java::security::OID *, ::java::lang::String *);
+ void putComponent(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::String * compressWS(::java::lang::String *);
+ static JArray< jbyte > * toByteArray(::java::lang::String *);
+ static const jlong serialVersionUID = -500463348111345721LL;
+public:
+ static ::java::lang::String * CANONICAL;
+ static ::java::lang::String * RFC1779;
+ static ::java::lang::String * RFC2253;
+private:
+ static ::gnu::java::security::OID * CN;
+ static ::gnu::java::security::OID * C;
+ static ::gnu::java::security::OID * L;
+ static ::gnu::java::security::OID * ST;
+ static ::gnu::java::security::OID * STREET;
+ static ::gnu::java::security::OID * O;
+ static ::gnu::java::security::OID * OU;
+ static ::gnu::java::security::OID * DC;
+ static ::gnu::java::security::OID * UID;
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components;
+ ::java::util::Map * currentRdn;
+ jboolean fixed;
+ JArray< jbyte > * encoded;
+ jint sep;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_x500_X500Principal__
diff --git a/libjava/javax/security/auth/x500/X500PrivateCredential.h b/libjava/javax/security/auth/x500/X500PrivateCredential.h
new file mode 100644
index 000000000..27ee30e4a
--- /dev/null
+++ b/libjava/javax/security/auth/x500/X500PrivateCredential.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_auth_x500_X500PrivateCredential__
+#define __javax_security_auth_x500_X500PrivateCredential__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivateKey;
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500PrivateCredential;
+ }
+ }
+ }
+ }
+}
+
+class javax::security::auth::x500::X500PrivateCredential : public ::java::lang::Object
+{
+
+public:
+ X500PrivateCredential(::java::security::cert::X509Certificate *, ::java::security::PrivateKey *);
+ X500PrivateCredential(::java::security::cert::X509Certificate *, ::java::security::PrivateKey *, ::java::lang::String *);
+ ::java::security::cert::X509Certificate * getCertificate();
+ ::java::security::PrivateKey * getPrivateKey();
+ ::java::lang::String * getAlias();
+ void destroy();
+ jboolean isDestroyed();
+private:
+ ::java::security::PrivateKey * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ ::java::security::cert::X509Certificate * certificate;
+ ::java::lang::String * alias;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_auth_x500_X500PrivateCredential__