summaryrefslogtreecommitdiff
path: root/libjava/javax/security/auth/login/LoginContext.h
blob: b6d39cd50382b2c331b9a51a0dcbed5520f725c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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__