|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.httpgw.HTTPLogin
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
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 |
private static final String versionID
private static final String RESOURCE
static final long serialVersionUID
private static final URL AUTH_URL
private static final boolean VERBOSE_CLIENT
protected String authUrl
protected MethodAuthenticator nestedAuthenticator
private Object server
private static char[] toBase64
Constructor Detail |
public HTTPLogin()
public HTTPLogin(String sessionId)
Method Detail |
public MethodArgs newMethodArgs()
newMethodArgs
in interface MethodAuthenticator
public MethodArgs endorse(MethodArgs args)
endorse
in interface MethodAuthenticator
public boolean failure(MethodArgs args, AuthenticationException e)
failure
in interface MethodAuthenticator
public boolean init()
init
in interface MethodAuthenticator
private InputStream newLoginInputStream(URL url) throws IOException
IOException
public void readExternal(ObjectInput input_stream) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput output_stream) throws IOException
writeExternal
in interface Externalizable
IOException
public void setServer(RemoteMethodServer server)
setServer
in interface MethodAuthenticator
public RemoteMethodServer getServer()
getServer
in interface MethodAuthenticator
private static String encode(String str) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |