public abstract class SCRAMServerSASL extends Object implements ServerSASL
| Modifier and Type | Field and Description |
|---|---|
protected SCRAM |
mechanism |
protected ScramServerFunctionality |
scram |
| Modifier | Constructor and Description |
|---|---|
|
SCRAMServerSASL(SCRAM mechanism) |
protected |
SCRAMServerSASL(SCRAM mechanism,
String nonce) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract UserData |
aquireUserData(String userName) |
protected Subject |
createSaslSubject(String userName,
UserData userData) |
protected abstract void |
failed(Exception e) |
String |
getName() |
boolean |
isEnded() |
byte[] |
processSASL(byte[] bytes) |
SASLResult |
result() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoneprotected final ScramServerFunctionality scram
protected final SCRAM mechanism
public SCRAMServerSASL(SCRAM mechanism) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionprotected SCRAMServerSASL(SCRAM mechanism, String nonce) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic String getName()
getName in interface ServerSASLpublic byte[] processSASL(byte[] bytes)
processSASL in interface ServerSASLprotected abstract UserData aquireUserData(String userName) throws LoginException
LoginExceptionprotected abstract void failed(Exception e)
public SASLResult result()
result in interface ServerSASLpublic boolean isEnded()
Copyright © 2021 The Apache Software Foundation. All rights reserved.