public interface ClientQcloudObjectStorageProtocol
| Modifier and Type | Method and Description |
|---|---|
void |
cancelDelegationToken(org.apache.hadoop.security.token.Token<DelegationTokenIdentifier> token)
Cancel an existing delegation token.
|
org.apache.hadoop.fs.cosn.ranger.security.authorization.PermissionResponse |
checkPermission(org.apache.hadoop.fs.cosn.ranger.security.authorization.PermissionRequest request)
Check Permission.
|
org.apache.hadoop.fs.cosn.ranger.security.node.CosRangerNodeResponse |
getAvailableService()
Get Cos Ranger Leader Address And All Cos Ranger Address
|
org.apache.hadoop.security.token.Token<DelegationTokenIdentifier> |
getDelegationToken(org.apache.hadoop.io.Text renewer)
Get a valid Delegation Token.
|
org.apache.hadoop.fs.cosn.ranger.security.authorization.RangerAuthPolicyResponse |
getRangerAuthPolicy()
Get Ranger Auth And Policy URL
|
org.apache.hadoop.fs.cosn.ranger.security.sts.GetSTSResponse |
getSTS(org.apache.hadoop.fs.cosn.ranger.security.sts.GetSTSRequest request)
Check Permission.
|
long |
renewDelegationToken(org.apache.hadoop.security.token.Token<DelegationTokenIdentifier> token)
Renew an existing delegation token.
|
org.apache.hadoop.security.token.Token<DelegationTokenIdentifier> getDelegationToken(org.apache.hadoop.io.Text renewer) throws IOException
renewer - the designated renewer for the tokenIOExceptionlong renewDelegationToken(org.apache.hadoop.security.token.Token<DelegationTokenIdentifier> token) throws IOException
token - delegation token obtained earlierIOExceptionvoid cancelDelegationToken(org.apache.hadoop.security.token.Token<DelegationTokenIdentifier> token) throws IOException
token - delegation tokenIOExceptionorg.apache.hadoop.fs.cosn.ranger.security.authorization.PermissionResponse checkPermission(org.apache.hadoop.fs.cosn.ranger.security.authorization.PermissionRequest request)
throws IOException
request - permission requestIOExceptionorg.apache.hadoop.fs.cosn.ranger.security.sts.GetSTSResponse getSTS(org.apache.hadoop.fs.cosn.ranger.security.sts.GetSTSRequest request)
throws IOException
request - get sts requestIOExceptionorg.apache.hadoop.fs.cosn.ranger.security.authorization.RangerAuthPolicyResponse getRangerAuthPolicy()
throws IOException
IOExceptionorg.apache.hadoop.fs.cosn.ranger.security.node.CosRangerNodeResponse getAvailableService()
throws IOException
IOExceptionCopyright © 2022. All rights reserved.