diff options
Diffstat (limited to 'libjava/javax/security/sasl')
-rw-r--r-- | libjava/javax/security/sasl/AuthenticationException.h | 34 | ||||
-rw-r--r-- | libjava/javax/security/sasl/AuthorizeCallback.h | 45 | ||||
-rw-r--r-- | libjava/javax/security/sasl/RealmCallback.h | 33 | ||||
-rw-r--r-- | libjava/javax/security/sasl/RealmChoiceCallback.h | 34 | ||||
-rw-r--r-- | libjava/javax/security/sasl/Sasl.h | 64 | ||||
-rw-r--r-- | libjava/javax/security/sasl/SaslClient.h | 41 | ||||
-rw-r--r-- | libjava/javax/security/sasl/SaslClientFactory.h | 43 | ||||
-rw-r--r-- | libjava/javax/security/sasl/SaslException.h | 43 | ||||
-rw-r--r-- | libjava/javax/security/sasl/SaslServer.h | 41 | ||||
-rw-r--r-- | libjava/javax/security/sasl/SaslServerFactory.h | 43 |
10 files changed, 421 insertions, 0 deletions
diff --git a/libjava/javax/security/sasl/AuthenticationException.h b/libjava/javax/security/sasl/AuthenticationException.h new file mode 100644 index 000000000..1ab4491ac --- /dev/null +++ b/libjava/javax/security/sasl/AuthenticationException.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_AuthenticationException__ +#define __javax_security_sasl_AuthenticationException__ + +#pragma interface + +#include <javax/security/sasl/SaslException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class AuthenticationException; + } + } + } +} + +class javax::security::sasl::AuthenticationException : public ::javax::security::sasl::SaslException +{ + +public: + AuthenticationException(); + AuthenticationException(::java::lang::String *); + AuthenticationException(::java::lang::String *, ::java::lang::Throwable *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_AuthenticationException__ diff --git a/libjava/javax/security/sasl/AuthorizeCallback.h b/libjava/javax/security/sasl/AuthorizeCallback.h new file mode 100644 index 000000000..3ae14bdb4 --- /dev/null +++ b/libjava/javax/security/sasl/AuthorizeCallback.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_AuthorizeCallback__ +#define __javax_security_sasl_AuthorizeCallback__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class AuthorizeCallback; + } + } + } +} + +class javax::security::sasl::AuthorizeCallback : public ::java::lang::Object +{ + +public: + AuthorizeCallback(::java::lang::String *, ::java::lang::String *); + virtual ::java::lang::String * getAuthenticationID(); + virtual ::java::lang::String * getAuthorizationID(); + virtual jboolean isAuthorized(); + virtual void setAuthorized(jboolean); + virtual ::java::lang::String * getAuthorizedID(); + virtual void setAuthorizedID(::java::lang::String *); +private: + static const jlong serialVersionUID = -2353344186490470805LL; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) authenticationID; + ::java::lang::String * authorizationID; + ::java::lang::String * authorizedID; + jboolean authorized; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_AuthorizeCallback__ diff --git a/libjava/javax/security/sasl/RealmCallback.h b/libjava/javax/security/sasl/RealmCallback.h new file mode 100644 index 000000000..17dff3290 --- /dev/null +++ b/libjava/javax/security/sasl/RealmCallback.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_RealmCallback__ +#define __javax_security_sasl_RealmCallback__ + +#pragma interface + +#include <javax/security/auth/callback/TextInputCallback.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class RealmCallback; + } + } + } +} + +class javax::security::sasl::RealmCallback : public ::javax::security::auth::callback::TextInputCallback +{ + +public: + RealmCallback(::java::lang::String *); + RealmCallback(::java::lang::String *, ::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_RealmCallback__ diff --git a/libjava/javax/security/sasl/RealmChoiceCallback.h b/libjava/javax/security/sasl/RealmChoiceCallback.h new file mode 100644 index 000000000..c1ec2a20e --- /dev/null +++ b/libjava/javax/security/sasl/RealmChoiceCallback.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_RealmChoiceCallback__ +#define __javax_security_sasl_RealmChoiceCallback__ + +#pragma interface + +#include <javax/security/auth/callback/ChoiceCallback.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class RealmChoiceCallback; + } + } + } +} + +class javax::security::sasl::RealmChoiceCallback : public ::javax::security::auth::callback::ChoiceCallback +{ + +public: + RealmChoiceCallback(::java::lang::String *, JArray< ::java::lang::String * > *, jint, jboolean); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_RealmChoiceCallback__ diff --git a/libjava/javax/security/sasl/Sasl.h b/libjava/javax/security/sasl/Sasl.h new file mode 100644 index 000000000..16a0cf23d --- /dev/null +++ b/libjava/javax/security/sasl/Sasl.h @@ -0,0 +1,64 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_Sasl__ +#define __javax_security_sasl_Sasl__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class CallbackHandler; + } + } + namespace sasl + { + class Sasl; + class SaslClient; + class SaslServer; + } + } + } +} + +class javax::security::sasl::Sasl : public ::java::lang::Object +{ + + Sasl(); +public: + static ::javax::security::sasl::SaslClient * createSaslClient(JArray< ::java::lang::String * > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Map *, ::javax::security::auth::callback::CallbackHandler *); + static ::java::util::Enumeration * getSaslClientFactories(); + static ::javax::security::sasl::SaslServer * createSaslServer(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Map *, ::javax::security::auth::callback::CallbackHandler *); + static ::java::util::Enumeration * getSaslServerFactories(); + static ::java::lang::String * QOP; + static ::java::lang::String * STRENGTH; + static ::java::lang::String * SERVER_AUTH; + static ::java::lang::String * MAX_BUFFER; + static ::java::lang::String * RAW_SEND_SIZE; + static ::java::lang::String * POLICY_NOPLAINTEXT; + static ::java::lang::String * POLICY_NOACTIVE; + static ::java::lang::String * POLICY_NODICTIONARY; + static ::java::lang::String * POLICY_NOANONYMOUS; + static ::java::lang::String * POLICY_FORWARD_SECRECY; + static ::java::lang::String * POLICY_PASS_CREDENTIALS; + static ::java::lang::String * REUSE; +private: + static ::java::lang::String * CLIENT_FACTORY_SVC; + static ::java::lang::String * SERVER_FACTORY_SVC; + static ::java::lang::String * ALIAS; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_Sasl__ diff --git a/libjava/javax/security/sasl/SaslClient.h b/libjava/javax/security/sasl/SaslClient.h new file mode 100644 index 000000000..cad1cdaa8 --- /dev/null +++ b/libjava/javax/security/sasl/SaslClient.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslClient__ +#define __javax_security_sasl_SaslClient__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class SaslClient; + } + } + } +} + +class javax::security::sasl::SaslClient : public ::java::lang::Object +{ + +public: + virtual ::java::lang::String * getMechanismName() = 0; + virtual jboolean hasInitialResponse() = 0; + virtual JArray< jbyte > * evaluateChallenge(JArray< jbyte > *) = 0; + virtual jboolean isComplete() = 0; + virtual JArray< jbyte > * unwrap(JArray< jbyte > *, jint, jint) = 0; + virtual JArray< jbyte > * wrap(JArray< jbyte > *, jint, jint) = 0; + virtual ::java::lang::Object * getNegotiatedProperty(::java::lang::String *) = 0; + virtual void dispose() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_sasl_SaslClient__ diff --git a/libjava/javax/security/sasl/SaslClientFactory.h b/libjava/javax/security/sasl/SaslClientFactory.h new file mode 100644 index 000000000..ab603a104 --- /dev/null +++ b/libjava/javax/security/sasl/SaslClientFactory.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslClientFactory__ +#define __javax_security_sasl_SaslClientFactory__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class CallbackHandler; + } + } + namespace sasl + { + class SaslClient; + class SaslClientFactory; + } + } + } +} + +class javax::security::sasl::SaslClientFactory : public ::java::lang::Object +{ + +public: + virtual ::javax::security::sasl::SaslClient * createSaslClient(JArray< ::java::lang::String * > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Map *, ::javax::security::auth::callback::CallbackHandler *) = 0; + virtual JArray< ::java::lang::String * > * getMechanismNames(::java::util::Map *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_sasl_SaslClientFactory__ diff --git a/libjava/javax/security/sasl/SaslException.h b/libjava/javax/security/sasl/SaslException.h new file mode 100644 index 000000000..9cfd9fce3 --- /dev/null +++ b/libjava/javax/security/sasl/SaslException.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslException__ +#define __javax_security_sasl_SaslException__ + +#pragma interface + +#include <java/io/IOException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class SaslException; + } + } + } +} + +class javax::security::sasl::SaslException : public ::java::io::IOException +{ + +public: + SaslException(); + SaslException(::java::lang::String *); + SaslException(::java::lang::String *, ::java::lang::Throwable *); + virtual ::java::lang::Throwable * getCause(); + virtual void printStackTrace(); + virtual void printStackTrace(::java::io::PrintStream *); + virtual void printStackTrace(::java::io::PrintWriter *); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = 4579784287983423626LL; + ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::io::IOException)))) _exception; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_SaslException__ diff --git a/libjava/javax/security/sasl/SaslServer.h b/libjava/javax/security/sasl/SaslServer.h new file mode 100644 index 000000000..d1f6a89c6 --- /dev/null +++ b/libjava/javax/security/sasl/SaslServer.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslServer__ +#define __javax_security_sasl_SaslServer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class SaslServer; + } + } + } +} + +class javax::security::sasl::SaslServer : public ::java::lang::Object +{ + +public: + virtual ::java::lang::String * getMechanismName() = 0; + virtual JArray< jbyte > * evaluateResponse(JArray< jbyte > *) = 0; + virtual jboolean isComplete() = 0; + virtual ::java::lang::String * getAuthorizationID() = 0; + virtual JArray< jbyte > * unwrap(JArray< jbyte > *, jint, jint) = 0; + virtual JArray< jbyte > * wrap(JArray< jbyte > *, jint, jint) = 0; + virtual ::java::lang::Object * getNegotiatedProperty(::java::lang::String *) = 0; + virtual void dispose() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_sasl_SaslServer__ diff --git a/libjava/javax/security/sasl/SaslServerFactory.h b/libjava/javax/security/sasl/SaslServerFactory.h new file mode 100644 index 000000000..ceaf0016e --- /dev/null +++ b/libjava/javax/security/sasl/SaslServerFactory.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslServerFactory__ +#define __javax_security_sasl_SaslServerFactory__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class CallbackHandler; + } + } + namespace sasl + { + class SaslServer; + class SaslServerFactory; + } + } + } +} + +class javax::security::sasl::SaslServerFactory : public ::java::lang::Object +{ + +public: + virtual ::javax::security::sasl::SaslServer * createSaslServer(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Map *, ::javax::security::auth::callback::CallbackHandler *) = 0; + virtual JArray< ::java::lang::String * > * getMechanismNames(::java::util::Map *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_sasl_SaslServerFactory__ |