|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.remote.message.SASLMessage
public class SASLMessage
A challenge or response exchanged between client and server during SASL authentication. This message encapsulates either a challenge or a response generated by the SASL mechanism during the SASL authentication exchanges taking place between the client and the server.
The challenges/responses (blobs) are generated by the SASL mechanism:
indication
as to why the operation failed.
At any time during the SASL handshake, if the client encounters a problem or
wants to abort the authentication exchange it can notify the server by
sending an indication
as to why the operation
failed or is aborted.
The profile name in this profile message is built by concatenating the prefix "SASL/" with the SASL mechanism name provided by the IANA SASL registry.
Examples of SASL profile names are:
HandshakeBeginMessage
,
Serialized FormField Summary | |
---|---|
static int |
COMPLETE
This status code is used by a server to indicate that the authentication exchange is complete and successful. |
static int |
CONTINUE
This status code is used by either a client or server to indicate that they require more interaction with the other peer in order to complete the authentication exchange. |
Constructor Summary | |
---|---|
SASLMessage(String mechanism,
int status,
byte[] blob)
Constructs a new SASLMessage with the specified SASL mechanism, status and generated blob. |
Method Summary | |
---|---|
byte[] |
getBlob()
The blob generated by the SASL mechanism. |
String |
getMechanism()
The SASL mechanism. |
String |
getProfileName()
The profile name. |
int |
getStatus()
The status of the current SASL authentication exchanges. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CONTINUE
public static final int COMPLETE
Constructor Detail |
---|
public SASLMessage(String mechanism, int status, byte[] blob)
mechanism
- the SASL mechanismstatus
- the status of the current SASL authentication
exchanges.blob
- the blob generated by the SASL mechanism.Method Detail |
---|
public String getMechanism()
public int getStatus()
CONTINUE
,
COMPLETE
public byte[] getBlob()
public String getProfileName()
getProfileName
in interface ProfileMessage
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |