|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectauthentication.SaslRequest
public class SaslRequest
This class parses a SASL request from a SOAP message and holds it for other classes to use.
Field Summary | |
---|---|
private static long |
MAX_TIME_DEVIATION
|
private java.lang.String |
mechanism
|
private javax.xml.soap.SOAPMessage |
message
|
private java.lang.String |
messageid
|
private java.lang.String |
password
|
private java.util.Date |
timestamp
|
private java.lang.String |
userid
|
Constructor Summary | |
---|---|
SaslRequest(javax.xml.soap.SOAPMessage message)
The SaslRequest constructor. |
Method Summary | |
---|---|
java.lang.String |
getMechanism()
|
java.lang.String |
getMessageID()
|
java.lang.String |
getPassword()
|
java.util.Date |
getTimestamp()
|
java.lang.String |
getUserID()
|
private void |
parseBody(org.w3c.dom.Node node)
Parses the contents of the SASL request recursively and retrieves the values that are needed later. |
private void |
parseHead(javax.xml.soap.SOAPHeader header)
Parses and validates the header fields of the message. |
java.lang.String |
toString()
Returns a string representation of this request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long MAX_TIME_DEVIATION
private java.lang.String userid
private java.lang.String messageid
private java.lang.String password
private java.lang.String mechanism
private java.util.Date timestamp
private javax.xml.soap.SOAPMessage message
Constructor Detail |
---|
public SaslRequest(javax.xml.soap.SOAPMessage message) throws java.lang.Exception
message
- SOAPMessage The SOAP message containing the SASL request.
java.lang.Exception
- If something is wrong with the message.Method Detail |
---|
private void parseHead(javax.xml.soap.SOAPHeader header) throws java.lang.Exception
header
- SOAPHeader The header containing the header fields to be checked.
java.lang.Exception
- If there is something wrong with the header.private void parseBody(org.w3c.dom.Node node) throws java.lang.Exception
node
- Node The node that should be parsed next.
java.lang.Exception
- If there is something wrong with the request.public java.lang.String getMessageID()
public java.lang.String getUserID()
public java.lang.String getPassword()
public java.util.Date getTimestamp()
public java.lang.String getMechanism()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |