|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.media.jsdt.impl.JSDTObject | +--com.sun.media.jsdt.AuthenticationInfo
JSDT Authentication Information class.
This class contains all the information needed by a Client to determine what they are being asked to authenticate.
If a JSDT Manageable object (ByteArray, Channel, Session or Token) has a Manager attached to it, any Client that tries to join() that object will be authenticated, and asked to provide a response. If a Client is joined to a managed Session, and wishes to create or destroy a ByteArray, Channel or Token, the same authentication process takes place.
Field Summary | |
static char |
BYTEARRAY
The ByteArray authentication type. |
static char |
CHANNEL
The Channel authentication type. |
static int |
CREATE_BYTEARRAY
The create ByteArray authentication action. |
static int |
CREATE_CHANNEL
The create Channel authentication action. |
static int |
CREATE_TOKEN
The create Token authentication action. |
static int |
DESTROY_BYTEARRAY
The destroy ByteArray authentication action. |
static int |
DESTROY_CHANNEL
The destroy Channel authentication action. |
static int |
DESTROY_SESSION
The join authentication action. |
static int |
DESTROY_TOKEN
The destroy Token authentication action. |
static int |
JOIN
The join authentication action. |
static char |
SESSION
The Session authentication type. |
static char |
TOKEN
The Token authentication type. |
Fields inherited from class com.sun.media.jsdt.impl.JSDTObject |
giveTime,
httpTunnelPort,
maxQueueSize,
maxThreadPoolSize,
pingPeriod,
registryAddress,
registryPort,
registryTime,
showMessage,
showStack,
socketFactoryClass,
SSLCipher,
timeoutPeriod,
TTL,
versionString |
Constructor Summary | |
AuthenticationInfo(Session session,
int action,
java.lang.String name,
char type)
the constructor for the AuthenticationInfo class. |
Method Summary | |
int |
getAction()
get the authentication action (CREATE, DESTROY or JOIN). |
java.lang.Object |
getChallenge()
get the challenge given by the manager. |
java.lang.String |
getName()
Get the name of the object associated with this authentication operation. |
Session |
getSession()
get the Session associated with this authentication operation. |
char |
getType()
get the type of this manageable object (ByteArray, Channel, Session or Token). |
void |
setChallenge(java.lang.Object challenge)
set the challenge for this authentication. |
java.lang.String |
toString()
toString print a short description of this ByteArray event. |
Methods inherited from class com.sun.media.jsdt.impl.JSDTObject |
error,
getConnectionType,
setConnectionType |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final char BYTEARRAY
public static final char CHANNEL
public static final char SESSION
public static final char TOKEN
public static final int CREATE_BYTEARRAY
public static final int DESTROY_BYTEARRAY
public static final int CREATE_CHANNEL
public static final int DESTROY_CHANNEL
public static final int CREATE_TOKEN
public static final int DESTROY_TOKEN
public static final int JOIN
public static final int DESTROY_SESSION
Constructor Detail |
public AuthenticationInfo(Session session, int action, java.lang.String name, char type)
session
- the Session associated with this authentication
operation.action
- the authentication action.name
- the name of the manageable object.type
- the type of the manageable object.Method Detail |
public int getAction()
public java.lang.Object getChallenge()
public java.lang.String getName()
public Session getSession()
public char getType()
public void setChallenge(java.lang.Object challenge)
challenge
- the challenge. This object needs to be
serializable.public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |