javax.security.sasl.SaslServerpublic class ScramSaslServer
extends java.lang.Object
implements javax.security.sasl.SaslServer
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ScramSaslServer.ScramSaslServerFactory |
| Constructor | Description |
|---|---|
ScramSaslServer(ScramMechanism mechanism,
java.util.Map<java.lang.String,?> props,
javax.security.auth.callback.CallbackHandler callbackHandler) |
| Modifier and Type | Method | 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 ScramSaslServer(ScramMechanism mechanism, java.util.Map<java.lang.String,?> props, javax.security.auth.callback.CallbackHandler callbackHandler) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmExceptionpublic 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.SaslExceptionpublic void dispose()
throws javax.security.sasl.SaslException
dispose in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.