diff options
Diffstat (limited to 'libjava/gnu/javax/security/auth')
19 files changed, 1303 insertions, 0 deletions
diff --git a/libjava/gnu/javax/security/auth/Password.h b/libjava/gnu/javax/security/auth/Password.h new file mode 100644 index 000000000..76c282e23 --- /dev/null +++ b/libjava/gnu/javax/security/auth/Password.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_Password__ +#define __gnu_javax_security_auth_Password__ + +#pragma interface + +#include <gnu/java/security/util/ExpirableObject.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + class Password; + } + } + } + } +} + +class gnu::javax::security::auth::Password : public ::gnu::java::security::util::ExpirableObject +{ + +public: + Password(JArray< jchar > *); + Password(JArray< jchar > *, jlong); + Password(JArray< jchar > *, jint, jint); + Password(JArray< jchar > *, jint, jint, jlong); + Password(JArray< jbyte > *); + Password(JArray< jbyte > *, jlong); + Password(JArray< jbyte > *, jint, jint); + Password(JArray< jbyte > *, jint, jint, jlong); + JArray< jchar > * getPassword(); + JArray< jbyte > * getBytes(); +public: // actually protected + void doDestroy(); +public: + jboolean isDestroyed(); +private: + JArray< jchar > * __attribute__((aligned(__alignof__( ::gnu::java::security::util::ExpirableObject)))) password; + JArray< jbyte > * bPassword; + jboolean mIsDestroyed; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_Password__ diff --git a/libjava/gnu/javax/security/auth/callback/AWTCallbackHandler.h b/libjava/gnu/javax/security/auth/callback/AWTCallbackHandler.h new file mode 100644 index 000000000..5f3bb8287 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/AWTCallbackHandler.h @@ -0,0 +1,94 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_AWTCallbackHandler__ +#define __gnu_javax_security_auth_callback_AWTCallbackHandler__ + +#pragma interface + +#include <gnu/javax/security/auth/callback/AbstractCallbackHandler.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class AWTCallbackHandler; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + class WindowEvent; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ChoiceCallback; + class ConfirmationCallback; + class LanguageCallback; + class NameCallback; + class PasswordCallback; + class TextInputCallback; + class TextOutputCallback; + } + } + } + } +} + +class gnu::javax::security::auth::callback::AWTCallbackHandler : public ::gnu::javax::security::auth::callback::AbstractCallbackHandler +{ + +public: + AWTCallbackHandler(); +public: // actually protected + virtual void handleChoice(::javax::security::auth::callback::ChoiceCallback *); + virtual void handleConfirmation(::javax::security::auth::callback::ConfirmationCallback *); + virtual void handleLanguage(::javax::security::auth::callback::LanguageCallback *); + virtual void handleName(::javax::security::auth::callback::NameCallback *); + virtual void handlePassword(::javax::security::auth::callback::PasswordCallback *); + virtual void handleTextInput(::javax::security::auth::callback::TextInputCallback *); + virtual void handleTextOutput(::javax::security::auth::callback::TextOutputCallback *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + virtual void windowClosing(::java::awt::event::WindowEvent *); + virtual void windowOpened(::java::awt::event::WindowEvent *); + virtual void windowClosed(::java::awt::event::WindowEvent *); + virtual void windowIconified(::java::awt::event::WindowEvent *); + virtual void windowDeiconified(::java::awt::event::WindowEvent *); + virtual void windowActivated(::java::awt::event::WindowEvent *); + virtual void windowDeactivated(::java::awt::event::WindowEvent *); +public: // actually protected + ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::javax::security::auth::callback::AbstractCallbackHandler)))) actionCommand; +private: + static ::java::lang::String * ACTION_CANCEL; + static ::java::lang::String * ACTION_NO; + static ::java::lang::String * ACTION_NONE; + static ::java::lang::String * ACTION_OK; + static ::java::lang::String * ACTION_YES; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_AWTCallbackHandler__ diff --git a/libjava/gnu/javax/security/auth/callback/AbstractCallbackHandler.h b/libjava/gnu/javax/security/auth/callback/AbstractCallbackHandler.h new file mode 100644 index 000000000..f63c02f59 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/AbstractCallbackHandler.h @@ -0,0 +1,90 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_AbstractCallbackHandler__ +#define __gnu_javax_security_auth_callback_AbstractCallbackHandler__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class AbstractCallbackHandler; + } + } + } + } + } + namespace java + { + namespace security + { + class Provider; + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class Callback; + class CallbackHandler; + class ChoiceCallback; + class ConfirmationCallback; + class LanguageCallback; + class NameCallback; + class PasswordCallback; + class TextInputCallback; + class TextOutputCallback; + } + } + } + } +} + +class gnu::javax::security::auth::callback::AbstractCallbackHandler : public ::java::lang::Object +{ + +public: // actually protected + AbstractCallbackHandler(::java::lang::String *); +public: + static ::javax::security::auth::callback::CallbackHandler * getInstance(::java::lang::String *); + static ::javax::security::auth::callback::CallbackHandler * getInstance(::java::lang::String *, ::java::lang::String *); + static ::javax::security::auth::callback::CallbackHandler * getInstance(::java::lang::String *, ::java::security::Provider *); + virtual void handle(JArray< ::javax::security::auth::callback::Callback * > *); + virtual ::java::lang::String * getName(); +public: // actually protected + virtual void handleChoice(::javax::security::auth::callback::ChoiceCallback *) = 0; + virtual void handleConfirmation(::javax::security::auth::callback::ConfirmationCallback *) = 0; + virtual void handleLanguage(::javax::security::auth::callback::LanguageCallback *) = 0; + virtual void handleName(::javax::security::auth::callback::NameCallback *) = 0; + virtual void handlePassword(::javax::security::auth::callback::PasswordCallback *) = 0; + virtual void handleTextInput(::javax::security::auth::callback::TextInputCallback *) = 0; + virtual void handleTextOutput(::javax::security::auth::callback::TextOutputCallback *) = 0; + virtual void handleOther(::javax::security::auth::callback::Callback *); +private: + static ::java::lang::String * SERVICE; +public: // actually protected + ::java::util::ResourceBundle * __attribute__((aligned(__alignof__( ::java::lang::Object)))) messages; +private: + ::java::lang::String * name; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_AbstractCallbackHandler__ diff --git a/libjava/gnu/javax/security/auth/callback/CertificateCallback.h b/libjava/gnu/javax/security/auth/callback/CertificateCallback.h new file mode 100644 index 000000000..b416d0ca5 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/CertificateCallback.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_CertificateCallback__ +#define __gnu_javax_security_auth_callback_CertificateCallback__ + +#pragma interface + +#include <javax/security/auth/callback/ConfirmationCallback.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class CertificateCallback; + } + } + } + } + } + namespace java + { + namespace security + { + namespace cert + { + class Certificate; + } + } + } +} + +class gnu::javax::security::auth::callback::CertificateCallback : public ::javax::security::auth::callback::ConfirmationCallback +{ + +public: + CertificateCallback(::java::security::cert::Certificate *, ::java::lang::String *); +public: // actually package-private + static const jlong serialVersionUID = 8343869651419225634LL; +public: + ::java::security::cert::Certificate * __attribute__((aligned(__alignof__( ::javax::security::auth::callback::ConfirmationCallback)))) certificate; + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_CertificateCallback__ diff --git a/libjava/gnu/javax/security/auth/callback/ConsoleCallbackHandler.h b/libjava/gnu/javax/security/auth/callback/ConsoleCallbackHandler.h new file mode 100644 index 000000000..bd068a60d --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/ConsoleCallbackHandler.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_ConsoleCallbackHandler__ +#define __gnu_javax_security_auth_callback_ConsoleCallbackHandler__ + +#pragma interface + +#include <gnu/javax/security/auth/callback/AbstractCallbackHandler.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ConsoleCallbackHandler; + } + } + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ChoiceCallback; + class ConfirmationCallback; + class LanguageCallback; + class NameCallback; + class PasswordCallback; + class TextInputCallback; + class TextOutputCallback; + } + } + } + } +} + +class gnu::javax::security::auth::callback::ConsoleCallbackHandler : public ::gnu::javax::security::auth::callback::AbstractCallbackHandler +{ + +public: + ConsoleCallbackHandler(); + ConsoleCallbackHandler(::java::io::PrintStream *); +public: // actually protected + virtual void handleChoice(::javax::security::auth::callback::ChoiceCallback *); + virtual void handleConfirmation(::javax::security::auth::callback::ConfirmationCallback *); + virtual void handleLanguage(::javax::security::auth::callback::LanguageCallback *); + virtual void handleName(::javax::security::auth::callback::NameCallback *); + virtual void handlePassword(::javax::security::auth::callback::PasswordCallback *); + virtual void handleTextInput(::javax::security::auth::callback::TextInputCallback *); + virtual void handleTextOutput(::javax::security::auth::callback::TextOutputCallback *); +private: + ::java::io::PrintStream * __attribute__((aligned(__alignof__( ::gnu::javax::security::auth::callback::AbstractCallbackHandler)))) out; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_ConsoleCallbackHandler__ diff --git a/libjava/gnu/javax/security/auth/callback/DefaultCallbackHandler.h b/libjava/gnu/javax/security/auth/callback/DefaultCallbackHandler.h new file mode 100644 index 000000000..bd3d0dc14 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/DefaultCallbackHandler.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_DefaultCallbackHandler__ +#define __gnu_javax_security_auth_callback_DefaultCallbackHandler__ + +#pragma interface + +#include <gnu/javax/security/auth/callback/AbstractCallbackHandler.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class DefaultCallbackHandler; + } + } + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ChoiceCallback; + class ConfirmationCallback; + class LanguageCallback; + class NameCallback; + class PasswordCallback; + class TextInputCallback; + class TextOutputCallback; + } + } + } + } +} + +class gnu::javax::security::auth::callback::DefaultCallbackHandler : public ::gnu::javax::security::auth::callback::AbstractCallbackHandler +{ + +public: + DefaultCallbackHandler(); +public: // actually protected + virtual void handleChoice(::javax::security::auth::callback::ChoiceCallback *); + virtual void handleConfirmation(::javax::security::auth::callback::ConfirmationCallback *); + virtual void handleLanguage(::javax::security::auth::callback::LanguageCallback *); + virtual void handleName(::javax::security::auth::callback::NameCallback *); + virtual void handlePassword(::javax::security::auth::callback::PasswordCallback *); + virtual void handleTextInput(::javax::security::auth::callback::TextInputCallback *); + virtual void handleTextOutput(::javax::security::auth::callback::TextOutputCallback *); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_DefaultCallbackHandler__ diff --git a/libjava/gnu/javax/security/auth/callback/GnuCallbacks$1.h b/libjava/gnu/javax/security/auth/callback/GnuCallbacks$1.h new file mode 100644 index 000000000..0a037c719 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/GnuCallbacks$1.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_GnuCallbacks$1__ +#define __gnu_javax_security_auth_callback_GnuCallbacks$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class GnuCallbacks; + class GnuCallbacks$1; + } + } + } + } + } +} + +class gnu::javax::security::auth::callback::GnuCallbacks$1 : public ::java::lang::Object +{ + +public: // actually package-private + GnuCallbacks$1(::gnu::javax::security::auth::callback::GnuCallbacks *); +public: + virtual ::java::lang::Object * run(); +public: // actually package-private + ::gnu::javax::security::auth::callback::GnuCallbacks * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_GnuCallbacks$1__ diff --git a/libjava/gnu/javax/security/auth/callback/GnuCallbacks.h b/libjava/gnu/javax/security/auth/callback/GnuCallbacks.h new file mode 100644 index 000000000..d7bb1dfe6 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/GnuCallbacks.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_GnuCallbacks__ +#define __gnu_javax_security_auth_callback_GnuCallbacks__ + +#pragma interface + +#include <java/security/Provider.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class GnuCallbacks; + } + } + } + } + } +} + +class gnu::javax::security::auth::callback::GnuCallbacks : public ::java::security::Provider +{ + +public: + GnuCallbacks(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_GnuCallbacks__ diff --git a/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$1.h b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$1.h new file mode 100644 index 000000000..f9f09f29a --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$1.h @@ -0,0 +1,75 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_SwingCallbackHandler$1__ +#define __gnu_javax_security_auth_callback_SwingCallbackHandler$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class SwingCallbackHandler; + class SwingCallbackHandler$1; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ChoiceCallback; + } + } + } + namespace swing + { + class JDialog; + } + } +} + +class gnu::javax::security::auth::callback::SwingCallbackHandler$1 : public ::java::lang::Object +{ + +public: // actually package-private + SwingCallbackHandler$1(::gnu::javax::security::auth::callback::SwingCallbackHandler *, ::javax::security::auth::callback::ChoiceCallback *, jint, ::javax::swing::JDialog *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + ::gnu::javax::security::auth::callback::SwingCallbackHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +private: + ::javax::security::auth::callback::ChoiceCallback * val$callback; + jint val$defaultChoice; + ::javax::swing::JDialog * val$dialog; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_SwingCallbackHandler$1__ diff --git a/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$2.h b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$2.h new file mode 100644 index 000000000..174040e3a --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$2.h @@ -0,0 +1,77 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_SwingCallbackHandler$2__ +#define __gnu_javax_security_auth_callback_SwingCallbackHandler$2__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class SwingCallbackHandler; + class SwingCallbackHandler$2; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ChoiceCallback; + } + } + } + namespace swing + { + class JDialog; + class JList; + } + } +} + +class gnu::javax::security::auth::callback::SwingCallbackHandler$2 : public ::java::lang::Object +{ + +public: // actually package-private + SwingCallbackHandler$2(::gnu::javax::security::auth::callback::SwingCallbackHandler *, ::javax::security::auth::callback::ChoiceCallback *, ::javax::swing::JList *, jint, ::javax::swing::JDialog *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + ::gnu::javax::security::auth::callback::SwingCallbackHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +private: + ::javax::security::auth::callback::ChoiceCallback * val$callback; + ::javax::swing::JList * val$choicesList; + jint val$defaultChoice; + ::javax::swing::JDialog * val$dialog; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_SwingCallbackHandler$2__ diff --git a/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$3.h b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$3.h new file mode 100644 index 000000000..7f26a5186 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$3.h @@ -0,0 +1,77 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_SwingCallbackHandler$3__ +#define __gnu_javax_security_auth_callback_SwingCallbackHandler$3__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class SwingCallbackHandler; + class SwingCallbackHandler$3; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ConfirmationCallback; + } + } + } + namespace swing + { + class JDialog; + } + } +} + +class gnu::javax::security::auth::callback::SwingCallbackHandler$3 : public ::java::lang::Object +{ + +public: // actually package-private + SwingCallbackHandler$3(::gnu::javax::security::auth::callback::SwingCallbackHandler *, JArray< ::java::lang::String * > *, ::javax::security::auth::callback::ConfirmationCallback *, ::javax::swing::JDialog *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + ::gnu::javax::security::auth::callback::SwingCallbackHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +private: + JArray< ::java::lang::String * > * val$options; + ::javax::security::auth::callback::ConfirmationCallback * val$callback; + ::javax::swing::JDialog * val$dialog; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_SwingCallbackHandler$3__ diff --git a/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$4.h b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$4.h new file mode 100644 index 000000000..fcc46aa2f --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$4.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_SwingCallbackHandler$4__ +#define __gnu_javax_security_auth_callback_SwingCallbackHandler$4__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class SwingCallbackHandler; + class SwingCallbackHandler$4; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class NameCallback; + } + } + } + namespace swing + { + class JDialog; + class JTextField; + } + } +} + +class gnu::javax::security::auth::callback::SwingCallbackHandler$4 : public ::java::lang::Object +{ + +public: // actually package-private + SwingCallbackHandler$4(::gnu::javax::security::auth::callback::SwingCallbackHandler *, ::javax::security::auth::callback::NameCallback *, ::javax::swing::JTextField *, ::javax::swing::JDialog *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + ::gnu::javax::security::auth::callback::SwingCallbackHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +private: + ::javax::security::auth::callback::NameCallback * val$callback; + ::javax::swing::JTextField * val$name; + ::javax::swing::JDialog * val$dialog; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_SwingCallbackHandler$4__ diff --git a/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$5.h b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$5.h new file mode 100644 index 000000000..6975265c8 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$5.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_SwingCallbackHandler$5__ +#define __gnu_javax_security_auth_callback_SwingCallbackHandler$5__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class SwingCallbackHandler; + class SwingCallbackHandler$5; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class PasswordCallback; + } + } + } + namespace swing + { + class JDialog; + class JPasswordField; + } + } +} + +class gnu::javax::security::auth::callback::SwingCallbackHandler$5 : public ::java::lang::Object +{ + +public: // actually package-private + SwingCallbackHandler$5(::gnu::javax::security::auth::callback::SwingCallbackHandler *, ::javax::security::auth::callback::PasswordCallback *, ::javax::swing::JPasswordField *, ::javax::swing::JDialog *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + ::gnu::javax::security::auth::callback::SwingCallbackHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +private: + ::javax::security::auth::callback::PasswordCallback * val$callback; + ::javax::swing::JPasswordField * val$password; + ::javax::swing::JDialog * val$dialog; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_SwingCallbackHandler$5__ diff --git a/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$6.h b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$6.h new file mode 100644 index 000000000..8398e0588 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$6.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_SwingCallbackHandler$6__ +#define __gnu_javax_security_auth_callback_SwingCallbackHandler$6__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class SwingCallbackHandler; + class SwingCallbackHandler$6; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class TextInputCallback; + } + } + } + namespace swing + { + class JDialog; + class JTextArea; + } + } +} + +class gnu::javax::security::auth::callback::SwingCallbackHandler$6 : public ::java::lang::Object +{ + +public: // actually package-private + SwingCallbackHandler$6(::gnu::javax::security::auth::callback::SwingCallbackHandler *, ::javax::security::auth::callback::TextInputCallback *, ::javax::swing::JTextArea *, ::javax::swing::JDialog *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + ::gnu::javax::security::auth::callback::SwingCallbackHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +private: + ::javax::security::auth::callback::TextInputCallback * val$callback; + ::javax::swing::JTextArea * val$text; + ::javax::swing::JDialog * val$dialog; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_SwingCallbackHandler$6__ diff --git a/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$7.h b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$7.h new file mode 100644 index 000000000..83252d565 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler$7.h @@ -0,0 +1,74 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_SwingCallbackHandler$7__ +#define __gnu_javax_security_auth_callback_SwingCallbackHandler$7__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class SwingCallbackHandler; + class SwingCallbackHandler$7; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class TextOutputCallback; + } + } + } + namespace swing + { + class JDialog; + } + } +} + +class gnu::javax::security::auth::callback::SwingCallbackHandler$7 : public ::java::lang::Object +{ + +public: // actually package-private + SwingCallbackHandler$7(::gnu::javax::security::auth::callback::SwingCallbackHandler *, ::javax::swing::JDialog *, ::javax::security::auth::callback::TextOutputCallback *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + ::gnu::javax::security::auth::callback::SwingCallbackHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +private: + ::javax::swing::JDialog * val$dialog; + ::javax::security::auth::callback::TextOutputCallback * val$callback; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_SwingCallbackHandler$7__ diff --git a/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler.h b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler.h new file mode 100644 index 000000000..6d1f18c84 --- /dev/null +++ b/libjava/gnu/javax/security/auth/callback/SwingCallbackHandler.h @@ -0,0 +1,73 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_callback_SwingCallbackHandler__ +#define __gnu_javax_security_auth_callback_SwingCallbackHandler__ + +#pragma interface + +#include <gnu/javax/security/auth/callback/AbstractCallbackHandler.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class SwingCallbackHandler; + } + } + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class Callback; + class ChoiceCallback; + class ConfirmationCallback; + class LanguageCallback; + class NameCallback; + class PasswordCallback; + class TextInputCallback; + class TextOutputCallback; + } + } + } + namespace swing + { + class JDialog; + } + } +} + +class gnu::javax::security::auth::callback::SwingCallbackHandler : public ::gnu::javax::security::auth::callback::AbstractCallbackHandler +{ + +public: + SwingCallbackHandler(); +public: // actually protected + virtual void handleChoice(::javax::security::auth::callback::ChoiceCallback *); + virtual void handleConfirmation(::javax::security::auth::callback::ConfirmationCallback *); + virtual void handleLanguage(::javax::security::auth::callback::LanguageCallback *); + virtual void handleName(::javax::security::auth::callback::NameCallback *); + virtual void handlePassword(::javax::security::auth::callback::PasswordCallback *); + virtual void handleTextInput(::javax::security::auth::callback::TextInputCallback *); + virtual void handleTextOutput(::javax::security::auth::callback::TextOutputCallback *); +private: + void waitForInput(::javax::swing::JDialog *, ::javax::security::auth::callback::Callback *); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_callback_SwingCallbackHandler__ diff --git a/libjava/gnu/javax/security/auth/login/ConfigFileParser.h b/libjava/gnu/javax/security/auth/login/ConfigFileParser.h new file mode 100644 index 000000000..7daf71bd9 --- /dev/null +++ b/libjava/gnu/javax/security/auth/login/ConfigFileParser.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_login_ConfigFileParser__ +#define __gnu_javax_security_auth_login_ConfigFileParser__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class ConfigFileParser; + class ConfigFileTokenizer; + } + } + } + } + } +} + +class gnu::javax::security::auth::login::ConfigFileParser : public ::java::lang::Object +{ + +public: + ConfigFileParser(); + ::java::util::Map * getLoginModulesMap(); + void parse(::java::io::Reader *); +private: + void initParser(::java::io::Reader *); + jboolean parseAppOrOtherEntry(); + jboolean parseACE(::java::util::List *); + void abort(::java::lang::String *); + ::java::lang::String * validateClassName(::java::lang::String *); + ::java::lang::String * expandParamValue(::java::lang::String *); + static ::java::util::logging::Logger * log; + ::gnu::javax::security::auth::login::ConfigFileTokenizer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cft; + ::java::util::Map * map; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_login_ConfigFileParser__ diff --git a/libjava/gnu/javax/security/auth/login/ConfigFileTokenizer.h b/libjava/gnu/javax/security/auth/login/ConfigFileTokenizer.h new file mode 100644 index 000000000..28ac90d31 --- /dev/null +++ b/libjava/gnu/javax/security/auth/login/ConfigFileTokenizer.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_login_ConfigFileTokenizer__ +#define __gnu_javax_security_auth_login_ConfigFileTokenizer__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace lang + { + class CPStringBuilder; + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class ConfigFileTokenizer; + } + } + } + } + } +} + +class gnu::javax::security::auth::login::ConfigFileTokenizer : public ::java::lang::Object +{ + +public: // actually package-private + ConfigFileTokenizer(::java::io::Reader *); +public: + virtual jint nextToken(); + virtual void pushBack(); +private: + void init(); + void skipWhitespace(); + void abort(::java::lang::String *); + static ::java::util::logging::Logger * log; +public: + static const jint TT_EOF = -1; + static const jint TT_WORD = -3; +private: + static const jint TT_NONE = -4; +public: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sval; + jint ttype; +private: + ::java::io::BufferedReader * br; +public: // actually package-private + jboolean initialised; +private: + ::gnu::java::lang::CPStringBuilder * sb; + jint sbNdx; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_login_ConfigFileTokenizer__ diff --git a/libjava/gnu/javax/security/auth/login/GnuConfiguration.h b/libjava/gnu/javax/security/auth/login/GnuConfiguration.h new file mode 100644 index 000000000..42177491d --- /dev/null +++ b/libjava/gnu/javax/security/auth/login/GnuConfiguration.h @@ -0,0 +1,70 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_security_auth_login_GnuConfiguration__ +#define __gnu_javax_security_auth_login_GnuConfiguration__ + +#pragma interface + +#include <javax/security/auth/login/Configuration.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class ConfigFileParser; + class GnuConfiguration; + } + } + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry; + } + } + } + } +} + +class gnu::javax::security::auth::login::GnuConfiguration : public ::javax::security::auth::login::Configuration +{ + +public: + GnuConfiguration(); + JArray< ::javax::security::auth::login::AppConfigurationEntry * > * getAppConfigurationEntry(::java::lang::String *); + void refresh(); +private: + void init(); + jboolean processSecurityProperties(); + ::java::io::InputStream * getInputStreamFromURL(::java::lang::String *); + jboolean processSystemProperty(); + jboolean processUserHome(); + void parseConfig(::java::io::InputStream *); + void mergeLoginModules(::java::util::Map *); + ::java::io::File * getUserHome(); + ::java::io::File * getConfigFromUserHome(::java::io::File *, ::java::lang::String *); + static ::java::util::logging::Logger * log; + ::java::util::Map * __attribute__((aligned(__alignof__( ::javax::security::auth::login::Configuration)))) loginModulesMap; + ::gnu::javax::security::auth::login::ConfigFileParser * cp; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_security_auth_login_GnuConfiguration__ |