public class PlainSaslClient extends Object implements SaslClient
Constructor and Description |
---|
PlainSaslClient(String authorizationID,
CallbackHandler cbh) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
byte[] |
evaluateChallenge(byte[] challenge) |
protected void |
finalize() |
String |
getMechanismName() |
Object |
getNegotiatedProperty(String propName) |
boolean |
hasInitialResponse() |
boolean |
isComplete() |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
public PlainSaslClient(String authorizationID, CallbackHandler cbh) throws SaslException
SaslException
public byte[] evaluateChallenge(byte[] challenge) throws SaslException
evaluateChallenge
in interface SaslClient
SaslException
public String getMechanismName()
getMechanismName
in interface SaslClient
public boolean hasInitialResponse()
hasInitialResponse
in interface SaslClient
public boolean isComplete()
isComplete
in interface SaslClient
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
unwrap
in interface SaslClient
SaslException
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
wrap
in interface SaslClient
SaslException
public Object getNegotiatedProperty(String propName)
getNegotiatedProperty
in interface SaslClient
public void dispose() throws SaslException
dispose
in interface SaslClient
SaslException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.