Class AMQP.Connection.Secure
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
-
- org.ow2.joram.mom.amqp.marshalling.AMQP.Connection.Secure
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AMQP.Connection
public static class AMQP.Connection.Secure extends AbstractMarshallingMethod
The SASL protocol works by exchanging challenges and responses until both peers have received sufficient information to authenticate each other. This method challenges the client to provide more information.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description LongStringchallengeChallenge information, a block of opaque binary data passed to the security mechanism.static intINDEXprivate static longserialVersionUID-
Fields inherited from class org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
channelNumber
-
-
Constructor Summary
Constructors Constructor Description Secure()Secure(LongString challenge)The SASL protocol works by exchanging challenges and responses until both peers have received sufficient information to authenticate each other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClassId()StringgetClassName()intgetMethodId()StringgetMethodName()voidreadFrom(AMQPInputStream in)StringtoString()voidwriteTo(AMQPOutputStream out)-
Methods inherited from class org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
read, toFrame
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
challenge
public LongString challenge
Challenge information, a block of opaque binary data passed to the security mechanism.
-
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Secure
public Secure(LongString challenge)
The SASL protocol works by exchanging challenges and responses until both peers have received sufficient information to authenticate each other. This method challenges the client to provide more information.
-
Secure
public Secure()
-
-
Method Detail
-
getMethodId
public int getMethodId()
- Specified by:
getMethodIdin classAbstractMarshallingMethod
-
getMethodName
public String getMethodName()
- Specified by:
getMethodNamein classAbstractMarshallingMethod
-
getClassId
public int getClassId()
- Specified by:
getClassIdin classAbstractMarshallingMethod
-
getClassName
public String getClassName()
- Specified by:
getClassNamein classAbstractMarshallingMethod
-
readFrom
public void readFrom(AMQPInputStream in) throws IOException
- Specified by:
readFromin classAbstractMarshallingMethod- Throws:
IOException
-
writeTo
public void writeTo(AMQPOutputStream out) throws IOException
- Specified by:
writeToin classAbstractMarshallingMethod- Throws:
IOException
-
-