diff options
Diffstat (limited to 'libjava/javax/security/auth/login')
15 files changed, 628 insertions, 0 deletions
diff --git a/libjava/javax/security/auth/login/AccountException.h b/libjava/javax/security/auth/login/AccountException.h new file mode 100644 index 000000000..1ee771869 --- /dev/null +++ b/libjava/javax/security/auth/login/AccountException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AccountException__ +#define __javax_security_auth_login_AccountException__ + +#pragma interface + +#include <javax/security/auth/login/LoginException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AccountException; + } + } + } + } +} + +class javax::security::auth::login::AccountException : public ::javax::security::auth::login::LoginException +{ + +public: + AccountException(); + AccountException(::java::lang::String *); +private: + static const jlong serialVersionUID = -2112878680072211787LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AccountException__ diff --git a/libjava/javax/security/auth/login/AccountExpiredException.h b/libjava/javax/security/auth/login/AccountExpiredException.h new file mode 100644 index 000000000..76c921442 --- /dev/null +++ b/libjava/javax/security/auth/login/AccountExpiredException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AccountExpiredException__ +#define __javax_security_auth_login_AccountExpiredException__ + +#pragma interface + +#include <javax/security/auth/login/AccountException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AccountExpiredException; + } + } + } + } +} + +class javax::security::auth::login::AccountExpiredException : public ::javax::security::auth::login::AccountException +{ + +public: + AccountExpiredException(); + AccountExpiredException(::java::lang::String *); +private: + static const jlong serialVersionUID = -6064064890162661560LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AccountExpiredException__ diff --git a/libjava/javax/security/auth/login/AccountLockedException.h b/libjava/javax/security/auth/login/AccountLockedException.h new file mode 100644 index 000000000..e2d8a53df --- /dev/null +++ b/libjava/javax/security/auth/login/AccountLockedException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AccountLockedException__ +#define __javax_security_auth_login_AccountLockedException__ + +#pragma interface + +#include <javax/security/auth/login/AccountException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AccountLockedException; + } + } + } + } +} + +class javax::security::auth::login::AccountLockedException : public ::javax::security::auth::login::AccountException +{ + +public: + AccountLockedException(); + AccountLockedException(::java::lang::String *); +private: + static const jlong serialVersionUID = 8280345554014066334LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AccountLockedException__ diff --git a/libjava/javax/security/auth/login/AccountNotFoundException.h b/libjava/javax/security/auth/login/AccountNotFoundException.h new file mode 100644 index 000000000..e258fa0ea --- /dev/null +++ b/libjava/javax/security/auth/login/AccountNotFoundException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AccountNotFoundException__ +#define __javax_security_auth_login_AccountNotFoundException__ + +#pragma interface + +#include <javax/security/auth/login/AccountException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AccountNotFoundException; + } + } + } + } +} + +class javax::security::auth::login::AccountNotFoundException : public ::javax::security::auth::login::AccountException +{ + +public: + AccountNotFoundException(); + AccountNotFoundException(::java::lang::String *); +private: + static const jlong serialVersionUID = 1498349563916294614LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AccountNotFoundException__ diff --git a/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h b/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h new file mode 100644 index 000000000..b5ddbece9 --- /dev/null +++ b/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__ +#define __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry$LoginModuleControlFlag; + } + } + } + } +} + +class javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag : public ::java::lang::Object +{ + + AppConfigurationEntry$LoginModuleControlFlag(); +public: + virtual ::java::lang::String * toString(); + static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * OPTIONAL; + static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * REQUIRED; + static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * REQUISITE; + static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * SUFFICIENT; + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__ diff --git a/libjava/javax/security/auth/login/AppConfigurationEntry.h b/libjava/javax/security/auth/login/AppConfigurationEntry.h new file mode 100644 index 000000000..8ca23b3e3 --- /dev/null +++ b/libjava/javax/security/auth/login/AppConfigurationEntry.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AppConfigurationEntry__ +#define __javax_security_auth_login_AppConfigurationEntry__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry; + class AppConfigurationEntry$LoginModuleControlFlag; + } + } + } + } +} + +class javax::security::auth::login::AppConfigurationEntry : public ::java::lang::Object +{ + +public: + AppConfigurationEntry(::java::lang::String *, ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag *, ::java::util::Map *); + virtual ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * getControlFlag(); + virtual ::java::lang::String * getLoginModuleName(); + virtual ::java::util::Map * getOptions(); + virtual ::java::lang::String * toString(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) loginModuleName; + ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * controlFlag; + ::java::util::Map * options; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AppConfigurationEntry__ diff --git a/libjava/javax/security/auth/login/Configuration$1.h b/libjava/javax/security/auth/login/Configuration$1.h new file mode 100644 index 000000000..e1ace01d4 --- /dev/null +++ b/libjava/javax/security/auth/login/Configuration$1.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_Configuration$1__ +#define __javax_security_auth_login_Configuration$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class Configuration$1; + } + } + } + } +} + +class javax::security::auth::login::Configuration$1 : public ::java::lang::Object +{ + +public: // actually package-private + Configuration$1(); +public: + virtual ::java::lang::Object * run(); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_Configuration$1__ diff --git a/libjava/javax/security/auth/login/Configuration.h b/libjava/javax/security/auth/login/Configuration.h new file mode 100644 index 000000000..1da5bf713 --- /dev/null +++ b/libjava/javax/security/auth/login/Configuration.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_Configuration__ +#define __javax_security_auth_login_Configuration__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry; + class Configuration; + } + } + } + } +} + +class javax::security::auth::login::Configuration : public ::java::lang::Object +{ + +public: // actually protected + Configuration(); +public: + static ::javax::security::auth::login::Configuration * getConfiguration(); + static void setConfiguration(::javax::security::auth::login::Configuration *); + virtual JArray< ::javax::security::auth::login::AppConfigurationEntry * > * getAppConfigurationEntry(::java::lang::String *) = 0; + virtual void refresh() = 0; +public: // actually package-private + static ::javax::security::auth::login::Configuration * getConfig(); +private: + static ::javax::security::auth::login::Configuration * config; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_Configuration__ diff --git a/libjava/javax/security/auth/login/CredentialException.h b/libjava/javax/security/auth/login/CredentialException.h new file mode 100644 index 000000000..87b0c0683 --- /dev/null +++ b/libjava/javax/security/auth/login/CredentialException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_CredentialException__ +#define __javax_security_auth_login_CredentialException__ + +#pragma interface + +#include <javax/security/auth/login/LoginException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class CredentialException; + } + } + } + } +} + +class javax::security::auth::login::CredentialException : public ::javax::security::auth::login::LoginException +{ + +public: + CredentialException(); + CredentialException(::java::lang::String *); +private: + static const jlong serialVersionUID = -4772893876810601859LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_CredentialException__ diff --git a/libjava/javax/security/auth/login/CredentialExpiredException.h b/libjava/javax/security/auth/login/CredentialExpiredException.h new file mode 100644 index 000000000..a10aefa13 --- /dev/null +++ b/libjava/javax/security/auth/login/CredentialExpiredException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_CredentialExpiredException__ +#define __javax_security_auth_login_CredentialExpiredException__ + +#pragma interface + +#include <javax/security/auth/login/CredentialException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class CredentialExpiredException; + } + } + } + } +} + +class javax::security::auth::login::CredentialExpiredException : public ::javax::security::auth::login::CredentialException +{ + +public: + CredentialExpiredException(); + CredentialExpiredException(::java::lang::String *); +private: + static const jlong serialVersionUID = -5344739593859737937LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_CredentialExpiredException__ diff --git a/libjava/javax/security/auth/login/CredentialNotFoundException.h b/libjava/javax/security/auth/login/CredentialNotFoundException.h new file mode 100644 index 000000000..c60f3db8d --- /dev/null +++ b/libjava/javax/security/auth/login/CredentialNotFoundException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_CredentialNotFoundException__ +#define __javax_security_auth_login_CredentialNotFoundException__ + +#pragma interface + +#include <javax/security/auth/login/CredentialException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class CredentialNotFoundException; + } + } + } + } +} + +class javax::security::auth::login::CredentialNotFoundException : public ::javax::security::auth::login::CredentialException +{ + +public: + CredentialNotFoundException(); + CredentialNotFoundException(::java::lang::String *); +private: + static const jlong serialVersionUID = -7779934467214319475LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_CredentialNotFoundException__ diff --git a/libjava/javax/security/auth/login/FailedLoginException.h b/libjava/javax/security/auth/login/FailedLoginException.h new file mode 100644 index 000000000..014a472c6 --- /dev/null +++ b/libjava/javax/security/auth/login/FailedLoginException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_FailedLoginException__ +#define __javax_security_auth_login_FailedLoginException__ + +#pragma interface + +#include <javax/security/auth/login/LoginException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class FailedLoginException; + } + } + } + } +} + +class javax::security::auth::login::FailedLoginException : public ::javax::security::auth::login::LoginException +{ + +public: + FailedLoginException(); + FailedLoginException(::java::lang::String *); +private: + static const jlong serialVersionUID = 802556922354616286LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_FailedLoginException__ diff --git a/libjava/javax/security/auth/login/LoginContext.h b/libjava/javax/security/auth/login/LoginContext.h new file mode 100644 index 000000000..b6d39cd50 --- /dev/null +++ b/libjava/javax/security/auth/login/LoginContext.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_LoginContext__ +#define __javax_security_auth_login_LoginContext__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class Subject; + namespace callback + { + class CallbackHandler; + } + namespace login + { + class AppConfigurationEntry; + class Configuration; + class LoginContext; + } + namespace spi + { + class LoginModule; + } + } + } + } +} + +class javax::security::auth::login::LoginContext : public ::java::lang::Object +{ + +public: + LoginContext(::java::lang::String *); + LoginContext(::java::lang::String *, ::javax::security::auth::callback::CallbackHandler *); + LoginContext(::java::lang::String *, ::javax::security::auth::Subject *); + LoginContext(::java::lang::String *, ::javax::security::auth::Subject *, ::javax::security::auth::callback::CallbackHandler *); + LoginContext(::java::lang::String *, ::javax::security::auth::Subject *, ::javax::security::auth::callback::CallbackHandler *, ::javax::security::auth::login::Configuration *); + virtual ::javax::security::auth::Subject * getSubject(); + virtual void login(); + virtual void logout(); +private: + static ::javax::security::auth::callback::CallbackHandler * defaultHandler(); + ::javax::security::auth::spi::LoginModule * lookupModule(::javax::security::auth::login::AppConfigurationEntry *, ::javax::security::auth::Subject *, ::java::util::Map *); + static ::java::lang::String * OTHER; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + ::javax::security::auth::callback::CallbackHandler * cbHandler; + ::javax::security::auth::Subject * subject; + JArray< ::javax::security::auth::login::AppConfigurationEntry * > * entries; + JArray< ::javax::security::auth::spi::LoginModule * > * modules; + ::java::util::Map * sharedState; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_LoginContext__ diff --git a/libjava/javax/security/auth/login/LoginException.h b/libjava/javax/security/auth/login/LoginException.h new file mode 100644 index 000000000..e68060db7 --- /dev/null +++ b/libjava/javax/security/auth/login/LoginException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_LoginException__ +#define __javax_security_auth_login_LoginException__ + +#pragma interface + +#include <java/security/GeneralSecurityException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class LoginException; + } + } + } + } +} + +class javax::security::auth::login::LoginException : public ::java::security::GeneralSecurityException +{ + +public: + LoginException(); + LoginException(::java::lang::String *); +private: + static const jlong serialVersionUID = -4679091624035232488LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_LoginException__ diff --git a/libjava/javax/security/auth/login/NullConfiguration.h b/libjava/javax/security/auth/login/NullConfiguration.h new file mode 100644 index 000000000..5d73d7ff3 --- /dev/null +++ b/libjava/javax/security/auth/login/NullConfiguration.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_NullConfiguration__ +#define __javax_security_auth_login_NullConfiguration__ + +#pragma interface + +#include <javax/security/auth/login/Configuration.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry; + class NullConfiguration; + } + } + } + } +} + +class javax::security::auth::login::NullConfiguration : public ::javax::security::auth::login::Configuration +{ + +public: // actually package-private + NullConfiguration(); +public: + JArray< ::javax::security::auth::login::AppConfigurationEntry * > * getAppConfigurationEntry(::java::lang::String *); + void refresh(); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_NullConfiguration__ |