public class SimpleSaslServer
extends java.lang.Object
implements javax.security.sasl.SaslServer
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleSaslServer.SaslSimpleServerFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SIMPLE_SECURITY_MECH_NAME |
| Constructor and Description |
|---|
SimpleSaslServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
byte[] |
evaluateResponse(byte[] response) |
java.lang.String |
getAuthorizationID() |
java.lang.String |
getMechanismName() |
java.lang.Object |
getNegotiatedProperty(java.lang.String propName) |
boolean |
isComplete() |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
public static final java.lang.String SIMPLE_SECURITY_MECH_NAME
public void dispose()
throws javax.security.sasl.SaslException
dispose in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslExceptionpublic byte[] evaluateResponse(byte[] response)
throws javax.security.sasl.SaslException
evaluateResponse in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslExceptionpublic java.lang.String getAuthorizationID()
getAuthorizationID in interface javax.security.sasl.SaslServerpublic java.lang.String getMechanismName()
getMechanismName in interface javax.security.sasl.SaslServerpublic java.lang.Object getNegotiatedProperty(java.lang.String propName)
getNegotiatedProperty in interface javax.security.sasl.SaslServerpublic boolean isComplete()
isComplete in interface javax.security.sasl.SaslServerpublic byte[] unwrap(byte[] incoming,
int offset,
int len)
throws javax.security.sasl.SaslException
unwrap in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslExceptionpublic byte[] wrap(byte[] outgoing,
int offset,
int len)
throws javax.security.sasl.SaslException
wrap in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslException