Class S3SecurityUtil

java.lang.Object
org.apache.hadoop.ozone.security.S3SecurityUtil

@Private @Evolving public final class S3SecurityUtil extends Object
Utility class which holds methods required for parse/validation of S3 Authentication Information which is part of OMRequest.
  • Method Details

    • validateS3Credential

      public static void validateS3Credential(org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMRequest omRequest, OzoneManager ozoneManager) throws com.google.protobuf.ServiceException, org.apache.hadoop.ozone.om.exceptions.OMException
      Validate S3 Credentials which are part of OzoneManagerProtocolProtos.OMRequest. If validation is successful returns, else throw exception.
      Throws:
      org.apache.hadoop.ozone.om.exceptions.OMException - validation failure ServiceException Server is not leader or not ready
      com.google.protobuf.ServiceException