summaryrefslogtreecommitdiff
path: root/libjava/java/net/Authenticator.h
blob: b8e26606beabc520e20bee5eb749d3a5155f83b7 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_net_Authenticator__
#define __java_net_Authenticator__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace net
    {
        class Authenticator;
        class InetAddress;
        class PasswordAuthentication;
    }
  }
}

class java::net::Authenticator : public ::java::lang::Object
{

public:
  static void setDefault(::java::net::Authenticator *);
  static ::java::net::PasswordAuthentication * requestPasswordAuthentication(::java::net::InetAddress *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  static ::java::net::PasswordAuthentication * requestPasswordAuthentication(::java::lang::String *, ::java::net::InetAddress *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  Authenticator();
public: // actually protected
  virtual ::java::net::InetAddress * getRequestingSite();
  virtual ::java::lang::String * getRequestingHost();
  virtual jint getRequestingPort();
  virtual ::java::lang::String * getRequestingProtocol();
  virtual ::java::lang::String * getRequestingPrompt();
  virtual ::java::lang::String * getRequestingScheme();
  virtual ::java::net::PasswordAuthentication * getPasswordAuthentication();
private:
  static ::java::net::Authenticator * defaultAuthenticator;
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) host;
  ::java::net::InetAddress * addr;
  jint port;
  ::java::lang::String * protocol;
  ::java::lang::String * prompt;
  ::java::lang::String * scheme;
public:
  static ::java::lang::Class class$;
};

#endif // __java_net_Authenticator__