调整
This commit is contained in:
parent
e559446d08
commit
41c8480ae0
@ -1,7 +1,6 @@
|
|||||||
package cn.skcks.docking.gb28181.sip.utils;
|
package cn.skcks.docking.gb28181.sip.utils;
|
||||||
|
|
||||||
import cn.hutool.core.util.IdUtil;
|
import cn.hutool.core.util.IdUtil;
|
||||||
import cn.hutool.crypto.digest.DigestAlgorithm;
|
|
||||||
import cn.hutool.crypto.digest.DigestUtil;
|
import cn.hutool.crypto.digest.DigestUtil;
|
||||||
import cn.skcks.docking.gb28181.sip.generic.SipBuilder;
|
import cn.skcks.docking.gb28181.sip.generic.SipBuilder;
|
||||||
import lombok.*;
|
import lombok.*;
|
||||||
@ -274,7 +273,7 @@ public class DigestAuthenticationHelper {
|
|||||||
authorizationHeader.setNonce(nonce);
|
authorizationHeader.setNonce(nonce);
|
||||||
authorizationHeader.setURI(sipURI);
|
authorizationHeader.setURI(sipURI);
|
||||||
authorizationHeader.setResponse(response);
|
authorizationHeader.setResponse(response);
|
||||||
authorizationHeader.setAlgorithm(DigestAlgorithm.MD5.name());
|
authorizationHeader.setAlgorithm(DEFAULT_ALGORITHM);
|
||||||
if (qop != null) {
|
if (qop != null) {
|
||||||
authorizationHeader.setQop(qop);
|
authorizationHeader.setQop(qop);
|
||||||
authorizationHeader.setCNonce(cNonce);
|
authorizationHeader.setCNonce(cNonce);
|
||||||
|
Loading…
Reference in New Issue
Block a user