diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/security/auth/login | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/gnu/javax/security/auth/login')
3 files changed, 191 insertions, 0 deletions
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__ |