summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/sasl/plain
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/javax/crypto/sasl/plain')
-rw-r--r--libjava/gnu/javax/crypto/sasl/plain/PasswordFile.h56
-rw-r--r--libjava/gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.h48
-rw-r--r--libjava/gnu/javax/crypto/sasl/plain/PlainClient.h49
-rw-r--r--libjava/gnu/javax/crypto/sasl/plain/PlainRegistry.h44
-rw-r--r--libjava/gnu/javax/crypto/sasl/plain/PlainServer.h50
5 files changed, 247 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/sasl/plain/PasswordFile.h b/libjava/gnu/javax/crypto/sasl/plain/PasswordFile.h
new file mode 100644
index 000000000..2269e4870
--- /dev/null
+++ b/libjava/gnu/javax/crypto/sasl/plain/PasswordFile.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_sasl_plain_PasswordFile__
+#define __gnu_javax_crypto_sasl_plain_PasswordFile__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace plain
+ {
+ class PasswordFile;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::sasl::plain::PasswordFile : public ::java::lang::Object
+{
+
+public:
+ PasswordFile();
+ PasswordFile(::java::io::File *);
+ PasswordFile(::java::lang::String *);
+ virtual void add(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *);
+ virtual void changePasswd(::java::lang::String *, ::java::lang::String *);
+ virtual JArray< ::java::lang::String * > * lookup(::java::lang::String *);
+ virtual jboolean contains(::java::lang::String *);
+private:
+ void update();
+ void checkCurrent();
+ void readPasswd(::java::io::InputStream *);
+ void savePasswd();
+ static ::java::lang::String * DEFAULT_FILE;
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) entries;
+ ::java::io::File * passwdFile;
+ jlong lastmod;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_sasl_plain_PasswordFile__
diff --git a/libjava/gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.h b/libjava/gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.h
new file mode 100644
index 000000000..179026d49
--- /dev/null
+++ b/libjava/gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_sasl_plain_PlainAuthInfoProvider__
+#define __gnu_javax_crypto_sasl_plain_PlainAuthInfoProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace plain
+ {
+ class PasswordFile;
+ class PlainAuthInfoProvider;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::sasl::plain::PlainAuthInfoProvider : public ::java::lang::Object
+{
+
+public:
+ PlainAuthInfoProvider();
+ virtual void activate(::java::util::Map *);
+ virtual void passivate();
+ virtual jboolean contains(::java::lang::String *);
+ virtual ::java::util::Map * lookup(::java::util::Map *);
+ virtual void update(::java::util::Map *);
+ virtual ::java::util::Map * getConfiguration(::java::lang::String *);
+private:
+ ::gnu::javax::crypto::sasl::plain::PasswordFile * __attribute__((aligned(__alignof__( ::java::lang::Object)))) passwordFile;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_sasl_plain_PlainAuthInfoProvider__
diff --git a/libjava/gnu/javax/crypto/sasl/plain/PlainClient.h b/libjava/gnu/javax/crypto/sasl/plain/PlainClient.h
new file mode 100644
index 000000000..0c3e6dd00
--- /dev/null
+++ b/libjava/gnu/javax/crypto/sasl/plain/PlainClient.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_sasl_plain_PlainClient__
+#define __gnu_javax_crypto_sasl_plain_PlainClient__
+
+#pragma interface
+
+#include <gnu/javax/crypto/sasl/ClientMechanism.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace plain
+ {
+ class PlainClient;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::sasl::plain::PlainClient : public ::gnu::javax::crypto::sasl::ClientMechanism
+{
+
+public:
+ PlainClient();
+public: // actually protected
+ virtual void initMechanism();
+ virtual void resetMechanism();
+public:
+ virtual jboolean hasInitialResponse();
+ virtual JArray< jbyte > * evaluateChallenge(JArray< jbyte > *);
+public: // actually protected
+ virtual ::java::lang::String * getNegotiatedQOP();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_sasl_plain_PlainClient__
diff --git a/libjava/gnu/javax/crypto/sasl/plain/PlainRegistry.h b/libjava/gnu/javax/crypto/sasl/plain/PlainRegistry.h
new file mode 100644
index 000000000..d141b1e71
--- /dev/null
+++ b/libjava/gnu/javax/crypto/sasl/plain/PlainRegistry.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_sasl_plain_PlainRegistry__
+#define __gnu_javax_crypto_sasl_plain_PlainRegistry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace plain
+ {
+ class PlainRegistry;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::sasl::plain::PlainRegistry : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::String * PASSWORD_FILE;
+ static ::java::lang::String * DEFAULT_PASSWORD_FILE;
+ static ::java::lang::String * UID_FIELD;
+ static ::java::lang::String * GID_FIELD;
+ static ::java::lang::String * GECOS_FIELD;
+ static ::java::lang::String * DIR_FIELD;
+ static ::java::lang::String * SHELL_FIELD;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_crypto_sasl_plain_PlainRegistry__
diff --git a/libjava/gnu/javax/crypto/sasl/plain/PlainServer.h b/libjava/gnu/javax/crypto/sasl/plain/PlainServer.h
new file mode 100644
index 000000000..a9214a2eb
--- /dev/null
+++ b/libjava/gnu/javax/crypto/sasl/plain/PlainServer.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_sasl_plain_PlainServer__
+#define __gnu_javax_crypto_sasl_plain_PlainServer__
+
+#pragma interface
+
+#include <gnu/javax/crypto/sasl/ServerMechanism.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace plain
+ {
+ class PlainServer;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::sasl::plain::PlainServer : public ::gnu::javax::crypto::sasl::ServerMechanism
+{
+
+public:
+ PlainServer();
+public: // actually protected
+ virtual void initMechanism();
+ virtual void resetMechanism();
+public:
+ virtual JArray< jbyte > * evaluateResponse(JArray< jbyte > *);
+public: // actually protected
+ virtual ::java::lang::String * getNegotiatedQOP();
+private:
+ JArray< jchar > * lookupPassword(::java::lang::String *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_sasl_plain_PlainServer__