Package com.swiftmq.auth
Class ChallengeResponseFactoryImpl
java.lang.Object
com.swiftmq.auth.ChallengeResponseFactoryImpl
- All Implemented Interfaces:
ChallengeResponseFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
createBytesChallenge
(String password) byte[]
createBytesResponse
(byte[] challenge, String password) createChallenge
(String password) createResponse
(Serializable challenge, String password) boolean
verifyBytesResponse
(byte[] challenge, byte[] response, String password) boolean
verifyResponse
(Serializable challenge, Serializable response, String password)
-
Constructor Details
-
ChallengeResponseFactoryImpl
public ChallengeResponseFactoryImpl()
-
-
Method Details
-
createChallenge
- Specified by:
createChallenge
in interfaceChallengeResponseFactory
-
createBytesChallenge
- Specified by:
createBytesChallenge
in interfaceChallengeResponseFactory
-
createResponse
- Specified by:
createResponse
in interfaceChallengeResponseFactory
-
createBytesResponse
- Specified by:
createBytesResponse
in interfaceChallengeResponseFactory
-
verifyResponse
- Specified by:
verifyResponse
in interfaceChallengeResponseFactory
-
verifyBytesResponse
- Specified by:
verifyBytesResponse
in interfaceChallengeResponseFactory
-