| java.lang.Object com.sun.security.sasl.util.AbstractSaslImpl
All known Subclasses: com.sun.security.sasl.gsskerb.GssKrb5Base, com.sun.security.sasl.digest.DigestMD5Base,
AbstractSaslImpl | abstract public class AbstractSaslImpl (Code) | | The base class used by client and server implementations of SASL
mechanisms to process properties passed in the props argument
and strings with the same format (e.g., used in digest-md5).
Also contains utilities for doing int to network-byte-order
transformations.
author: Rosanna Lee |
Method Summary | |
final protected static byte | combineMasks(byte[] in) | final protected static byte | findPreferredMask(byte pref, byte[] in) | public Object | getNegotiatedProperty(String propName) Retrieves the negotiated property. | final protected static void | intToNetworkByteOrder(int num, byte[] buf, int start, int count) Encodes an integer into 4 bytes in network byte order in the buffer
supplied. | public boolean | isComplete() Determines whether this mechanism has completed. | final protected static int | networkByteOrderToInt(byte[] buf, int start, int count) Returns the integer represented by 4 bytes in network byte order. | final protected static byte[] | parseQop(String qop, String[] saveTokens, boolean ignore) | final protected static void | traceOutput(String srcClass, String srcMethod, String traceTag, byte[] output) | final protected static void | traceOutput(String srcClass, String srcMethod, String traceTag, byte[] output, int offset, int len) |
HIGH_STRENGTH | final protected static byte HIGH_STRENGTH(Code) | | |
INTEGRITY_ONLY_PROTECTION | final protected static byte INTEGRITY_ONLY_PROTECTION(Code) | | |
LOW_STRENGTH | final protected static byte LOW_STRENGTH(Code) | | |
MAX_SEND_BUF | final protected static String MAX_SEND_BUF(Code) | | |
MEDIUM_STRENGTH | final protected static byte MEDIUM_STRENGTH(Code) | | |
NO_PROTECTION | final protected static byte NO_PROTECTION(Code) | | |
PRIVACY_PROTECTION | final protected static byte PRIVACY_PROTECTION(Code) | | |
allQop | protected byte allQop(Code) | | |
completed | protected boolean completed(Code) | | |
integrity | protected boolean integrity(Code) | | |
logger | protected static Logger logger(Code) | | Logger for debug messages
|
privacy | protected boolean privacy(Code) | | |
rawSendSize | protected int rawSendSize(Code) | | |
recvMaxBufSize | protected int recvMaxBufSize(Code) | | |
sendMaxBufSize | protected int sendMaxBufSize(Code) | | |
strength | protected byte[] strength(Code) | | |
combineMasks | final protected static byte combineMasks(byte[] in)(Code) | | |
findPreferredMask | final protected static byte findPreferredMask(byte pref, byte[] in)(Code) | | |
getNegotiatedProperty | public Object getNegotiatedProperty(String propName)(Code) | | Retrieves the negotiated property.
exception: SaslException - if this authentication exchange has not completed |
intToNetworkByteOrder | final protected static void intToNetworkByteOrder(int num, byte[] buf, int start, int count)(Code) | | Encodes an integer into 4 bytes in network byte order in the buffer
supplied.
|
isComplete | public boolean isComplete()(Code) | | Determines whether this mechanism has completed.
true if has completed; false otherwise; |
networkByteOrderToInt | final protected static int networkByteOrderToInt(byte[] buf, int start, int count)(Code) | | Returns the integer represented by 4 bytes in network byte order.
|
traceOutput | final protected static void traceOutput(String srcClass, String srcMethod, String traceTag, byte[] output)(Code) | | Outputs a byte array and converts
|
traceOutput | final protected static void traceOutput(String srcClass, String srcMethod, String traceTag, byte[] output, int offset, int len)(Code) | | |
|
|