Skip to content

Commit a6bd8ab

Browse files
committed
DXE-3345 Convert existing tests to integration tests
1 parent ca98f9a commit a6bd8ab

File tree

5 files changed

+22
-363
lines changed

5 files changed

+22
-363
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ bin/
2424
.classpath
2525
.settings
2626
.project
27-
Secret.java
27+
target/
28+
*.iml

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
<configuration>
156156
<serverId>ossrh</serverId>
157157
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
158-
<!-- <stagingProfileId>21d1e18e25c8e4</stagingProfileId>-->
158+
<stagingProfileId>529a612879c689</stagingProfileId>
159159
</configuration>
160160
</plugin>
161161
</plugins>
@@ -180,7 +180,7 @@
180180
<plugin>
181181
<groupId>org.apache.maven.plugins</groupId>
182182
<artifactId>maven-enforcer-plugin</artifactId>
183-
<version>3.1.0</version>
183+
<version>3.4.1</version>
184184
<executions>
185185
<execution>
186186
<id>enforce-maven</id>

src/main/java/com/akamai/edgeauth/EdgeAuth.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,24 @@ public class EdgeAuth {
8686
/** print all parameters. */
8787
private boolean verbose;
8888

89+
/**
90+
* @param tokenType Not used
91+
* @param tokenName Name for the new token
92+
* @param key Secret required to generate the token. It must be hexadecimal digit string with even-length
93+
* @param algorithm Algorithm to use to generate the token (sha1, sha256, or md5)
94+
* @param salt Additional data validated by the token but NOT included in the token body. It will be deprecated
95+
* @param ip IP Address to restrict this token to. Troublesome in many cases (roaming, NAT, etc) so not often used
96+
* @param payload Additional text added to the calculated digest
97+
* @param sessionId The session identifier for single use tokens or other advanced cases
98+
* @param startTime What is the start time? ({@code NOW} for the current time)
99+
* @param endTime When does this token expire? It overrides {@code windowSeconds}
100+
* @param windowSeconds How long is this token valid for
101+
* @param fieldDelimiter Character used to delimit token body fields
102+
* @param aclDelimiter Character used to delimit acl
103+
* @param escapeEarly Causes strings to be url encoded before being used
104+
* @param verbose Print all parameters
105+
* @throws EdgeAuthException EdgeAuthException
106+
*/
89107
public EdgeAuth(
90108
String tokenType,
91109
String tokenName,

0 commit comments

Comments
 (0)