mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
s3: deny anonymous type
This commit is contained in:
parent
f55f49970f
commit
48b7ad5fa8
|
@ -134,10 +134,14 @@ func (iam *IdentityAccessManagement) authRequest(r *http.Request, actions []Acti
|
||||||
glog.V(3).Infof("v4 auth type")
|
glog.V(3).Infof("v4 auth type")
|
||||||
identity, s3Err = iam.reqSignatureV4Verify(r)
|
identity, s3Err = iam.reqSignatureV4Verify(r)
|
||||||
case authTypePostPolicy:
|
case authTypePostPolicy:
|
||||||
return ErrNotImplemented;
|
glog.V(3).Infof("post policy auth type")
|
||||||
|
return ErrNotImplemented
|
||||||
case authTypeJWT:
|
case authTypeJWT:
|
||||||
return ErrNotImplemented;
|
glog.V(3).Infof("jwt auth type")
|
||||||
|
return ErrNotImplemented
|
||||||
case authTypeAnonymous:
|
case authTypeAnonymous:
|
||||||
|
return ErrAccessDenied
|
||||||
|
default:
|
||||||
return ErrNotImplemented
|
return ErrNotImplemented
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue