|
LDAPJDK 4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.netscape.sasl.mechanisms.SaslExternal
This class provides the implementation of the EXTERNAL mechanism driver. This mechanism is passed in the SASL External bind request to retrieve the current result code from the server.
Constructor Summary | |
SaslExternal()
Default constructor |
Method Summary | |
byte[] |
createInitialResponse()
Retrieves the initial response. |
byte[] |
evaluateChallenge(byte[] challenge)
Evaluates the challenge data and generates a response. |
java.io.InputStream |
getInputStream(java.io.InputStream is)
Retrieves an input stream for the session. |
java.lang.String |
getMechanismName()
Returns the name of mechanism driver. |
java.io.OutputStream |
getOutputStream(java.io.OutputStream os)
Retrieves an output stream for the session. |
boolean |
isComplete()
The method may be called at any time to determine if the authentication process is finished. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SaslExternal()
Method Detail |
public byte[] createInitialResponse() throws SaslException
public byte[] evaluateChallenge(byte[] challenge) throws SaslException
challenge
- The non-null challenge sent from the server.public java.lang.String getMechanismName()
public boolean isComplete()
true
if authentication is complete. For this class,
always returns true
.public java.io.InputStream getInputStream(java.io.InputStream is) throws java.io.IOException
is
- The original input stream for reading from the server.public java.io.OutputStream getOutputStream(java.io.OutputStream os) throws java.io.IOException
is
- The original output stream for writing to the server.
|
LDAPJDK 4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |