diff options
Diffstat (limited to 'libjava/javax/security/auth/callback')
10 files changed, 467 insertions, 0 deletions
diff --git a/libjava/javax/security/auth/callback/Callback.h b/libjava/javax/security/auth/callback/Callback.h new file mode 100644 index 00000000000..ef069f63367 --- /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 00000000000..63f4bfb4164 --- /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 00000000000..80f4ccf2879 --- /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 00000000000..4e7443832a7 --- /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 00000000000..8580fa7a847 --- /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 00000000000..89e3ffdbce4 --- /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 00000000000..2055b7cc65e --- /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 00000000000..bf85c3544db --- /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 00000000000..048e8cf83e2 --- /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 00000000000..ec80fddcb56 --- /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__ |