Class SCRAMServerSASL
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.sasl.scram.SCRAMServerSASL
- All Implemented Interfaces:
ServerSASL
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionSCRAMServerSASL(SCRAM mechanism) protectedSCRAMServerSASL(SCRAM mechanism, String nonce) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract UserDataaquireUserData(String userName) protected SubjectcreateSaslSubject(String userName, UserData userData) protected abstract voidgetName()booleanisEnded()byte[]processSASL(byte[] bytes) result()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServerSASL
done
-
Field Details
-
scram
-
mechanism
-
-
Constructor Details
-
SCRAMServerSASL
- Throws:
NoSuchAlgorithmException
-
SCRAMServerSASL
- Throws:
NoSuchAlgorithmException
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceServerSASL
-
processSASL
public byte[] processSASL(byte[] bytes) - Specified by:
processSASLin interfaceServerSASL
-
aquireUserData
- Throws:
LoginException
-
failed
-
createSaslSubject
-
result
- Specified by:
resultin interfaceServerSASL
-
isEnded
public boolean isEnded()
-