wt.httpgw
Class HTTPLogin

java.lang.Object
  extended bywt.httpgw.HTTPLogin
All Implemented Interfaces:
Externalizable, MethodAuthenticator, Serializable

public class HTTPLogin
extends Object
implements MethodAuthenticator, Externalizable

This is a bootstrapping authenticator used if server is willing to accept user names as authenticated by the HTTP server.

Supported API: true
Extendable: false

See Also:
Serialized Form

Field Summary
private static URL AUTH_URL
           
protected  String authUrl
           
protected  MethodAuthenticator nestedAuthenticator
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  Object server
           
private static char[] toBase64
           
private static boolean VERBOSE_CLIENT
           
private static String versionID
           
 
Constructor Summary
HTTPLogin()
          Supported API: true
HTTPLogin(String sessionId)
          Supported API: true
 
Method Summary
private static String encode(String str)
           
 MethodArgs endorse(MethodArgs args)
          Supported API: false
 boolean failure(MethodArgs args, AuthenticationException e)
          Supported API: false
 RemoteMethodServer getServer()
          Supported API: false
 boolean init()
          Supported API: false
private  InputStream newLoginInputStream(URL url)
           
 MethodArgs newMethodArgs()
          Supported API: false
 void readExternal(ObjectInput input_stream)
          Supported API: false
 void setServer(RemoteMethodServer server)
          Supported API: false
 void writeExternal(ObjectOutput output_stream)
          Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

AUTH_URL

private static final URL AUTH_URL

VERBOSE_CLIENT

private static final boolean VERBOSE_CLIENT

authUrl

protected String authUrl

nestedAuthenticator

protected MethodAuthenticator nestedAuthenticator

server

private Object server

toBase64

private static char[] toBase64
Constructor Detail

HTTPLogin

public HTTPLogin()
Supported API: true


HTTPLogin

public HTTPLogin(String sessionId)
Supported API: true

Method Detail

newMethodArgs

public MethodArgs newMethodArgs()
Supported API: false

Specified by:
newMethodArgs in interface MethodAuthenticator

endorse

public MethodArgs endorse(MethodArgs args)
Supported API: false

Specified by:
endorse in interface MethodAuthenticator

failure

public boolean failure(MethodArgs args,
                       AuthenticationException e)
Supported API: false

Specified by:
failure in interface MethodAuthenticator

init

public boolean init()
Supported API: false

Specified by:
init in interface MethodAuthenticator

newLoginInputStream

private InputStream newLoginInputStream(URL url)
                                 throws IOException
Throws:
IOException

readExternal

public void readExternal(ObjectInput input_stream)
                  throws IOException,
                         ClassNotFoundException
Supported API: false

Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput output_stream)
                   throws IOException
Supported API: false

Specified by:
writeExternal in interface Externalizable
Throws:
IOException

setServer

public void setServer(RemoteMethodServer server)
Supported API: false

Specified by:
setServer in interface MethodAuthenticator

getServer

public RemoteMethodServer getServer()
Supported API: false

Specified by:
getServer in interface MethodAuthenticator

encode

private static String encode(String str)
                      throws IOException
Throws:
IOException