Skip to content

Commit 5c09403

Browse files
author
soh boon keong
committed
clean
1 parent 11ae3a5 commit 5c09403

28 files changed

+7
-18367
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ A java helper utilities that form HTTP security header for authentication and ve
1515
+ [Gradle Build Option](#gradle-build-option)
1616
+ [Gradle Test](#gradle-test)
1717
* [Development](#development)
18-
+ [Constructing Signature BaseString](#constructing-signature-basestring)
19-
+ [Constructing HMAC256 L1 Header](#constructing-hmac256-l1-header)
20-
+ [Constructing RSA256 L2 Header](#constructing-rsa256-l2-header)
21-
+ [Preparing HTTP Signature Token](#preparing-http-signature-token)
18+
+ [How to create QueryData and FormData](#how-to-create-querydata-and-formdata)
19+
+ [Generate L1 Authorization Header](#generate-l1-authorization-header)
20+
+ [Generate L2 Authorization Header](#generate-l2-authorization-header)
21+
+ [Generate L21 Authorization Header](#generate-l21-authorization-header)
22+
+ [Generate L12 Authorization Header](#generate-l12-authorization-header)
2223
- [Release](#release)
2324
- [Contributing](#contributing)
2425
- [License](#license)
@@ -270,9 +271,9 @@ catch (ApiUtilException e)
270271
}
271272
```
272273

273-
### Using the QueryData and FormData Class
274+
### How to create QueryData and FormData
274275

275-
The ApiSecurity Library provide the utility class QueryData to construct request Query String and Form Data.
276+
The ApiSecurity Library provide the utility class ApiList and FormList to construct request Query String and Form Data.
276277

277278

278279

src/main/java/com/api/util/ApiSecurity/ApiList.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public String toString(Boolean isBaseString) {
3030
public String toString(String delimiter, Boolean sort, Boolean quote, Boolean isBaseString)
3131
{
3232
List<String> list = new ArrayList<String>();
33-
for (Entry<String,String> ent : this) {
34-
System.out.println("ToSTRING entry key:" + ent.getKey() + " val: " + ent.getValue());
35-
}
3633
final String format = (quote ? "%s=\"%s\"" : "%s=%s");
3734

3835
/* Sort key first then value*/

src/main/java/com/api/util/ApiSecurity/ApiList2.java

Lines changed: 0 additions & 73 deletions
This file was deleted.

src/main/java/com/api/util/ApiSecurity/FormList1.java

Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
 (0)