Пример #1
0
 public java.lang.String validateSAuthUIDHeaderString(HttpRequest request) {
   return request.validateHeaderString(Header.SAuth.UID);
 }
Пример #2
0
 public java.lang.String validateSAuthNonceHeaderString(HttpRequest request) {
   java.lang.String re = request.validateHeaderString(Header.SAuth.Nonce);
   java.math.BigInteger value = request.getHeaderHex(Header.SAuth.Nonce);
   if (null != value && 14 < value.bitLength()) return re;
   else throw new alto.sys.BadRequestException(re);
 }
Пример #3
0
 public java.lang.String validateSAuthVersionHeaderString(HttpRequest request) {
   java.lang.String re = request.validateHeaderString(Header.SAuth.Version);
   if (null != re && re.equals(Header.SAuth.Value.Version.toString())) {
     return re;
   } else throw new alto.sys.BadRequestException(re);
 }