|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.session.SimpleSessionAuthenticator
A MethodAuthenticator
that is used to associate method invocations with
previously identified session objects. This simple implementation just adds the
session id to each call.
Supported API: true
Extendable: false
Field Summary | |
(package private) static long |
serialVersionUID
|
private Object |
server
|
private String |
sessionId
|
private static String |
versionID
|
Constructor Summary | |
SimpleSessionAuthenticator()
Supported API: true |
|
SimpleSessionAuthenticator(String session_id)
Supported API: true |
Method Summary | |
MethodArgs |
endorse(MethodArgs args)
Supported API: false |
boolean |
failure(MethodArgs args,
AuthenticationException e)
Supported API: false |
RemoteMethodServer |
getServer()
Supported API: false |
String |
getSessionId()
Supported API: false |
boolean |
init()
Supported API: false |
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
static final long serialVersionUID
private String sessionId
private Object server
Constructor Detail |
public SimpleSessionAuthenticator()
public SimpleSessionAuthenticator(String session_id)
Method Detail |
public String getSessionId()
public MethodArgs newMethodArgs()
newMethodArgs
in interface MethodAuthenticator
public boolean init()
init
in interface MethodAuthenticator
public MethodArgs endorse(MethodArgs args)
endorse
in interface MethodAuthenticator
public boolean failure(MethodArgs args, AuthenticationException e)
failure
in interface MethodAuthenticator
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |