Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 3d48fa3

Browse files
committed
Merge branch 'jwttoken_update' into dev
2 parents a248260 + 7be6dfc commit 3d48fa3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+716
-484
lines changed

build-dependencies.xml

+15-10
Original file line numberDiff line numberDiff line change
@@ -353,11 +353,11 @@
353353
<property name="asm-commons-5.2.jar" value="${ext_libdir}/asm/asm-commons-5.2.jar"/>
354354
<property name="asm-tree-5.2.jar" value="${ext_libdir}/asm/asm-tree-5.2.jar"/>
355355
<property name="aws-java-sdk.jar" value="${ext_libdir}/aws-java-sdk/aws-java-sdk-1.0.004.jar"/>
356-
<property name="jackson-core.jar" value="${ext_libdir}/jackson/1.9.7/jackson-core-asl.jar"/>
357-
<property name="jackson-mapper.jar" value="${ext_libdir}/jackson/1.9.7/jackson-mapper-asl.jar"/>
358-
<property name="jackson-annotations-2.3.0.jar" value="${ext_libdir}/jackson/1.9.7/jackson-annotations-2.3.0.jar"/>
359-
<property name="jackson-core-2.3.2.jar" value="${ext_libdir}/jackson/1.9.7/jackson-core-2.3.2.jar"/>
360-
<property name="jackson-databind-2.3.2.jar" value="${ext_libdir}/jackson/1.9.7/jackson-databind-2.3.2.jar"/>
356+
<property name="jackson-core.jar" value="${ext_libdir}/jackson/2.8.1/jackson-core-asl.jar"/>
357+
<property name="jackson-mapper.jar" value="${ext_libdir}/jackson/2.8.1/jackson-mapper-asl.jar"/>
358+
<property name="jackson-annotations-2.8.1.jar" value="${ext_libdir}/jackson/2.8.1/jackson-annotations-2.8.1.jar"/>
359+
<property name="jackson-core-2.8.1.jar" value="${ext_libdir}/jackson/2.8.1/jackson-core-2.8.1.jar"/>
360+
<property name="jackson-databind-2.8.1.jar" value="${ext_libdir}/jackson/2.8.1/jackson-databind-2.8.1.jar"/>
361361
<property name="axis.jar" value="${ext_libdir}/axis/1.3/axis.jar"/>
362362
<property name="commons-dbcp.jar" value="${ext_libdir}/commons-dbcp/commons-dbcp.jar"/>
363363
<property name="commons-discovery.jar" value="${ext_libdir}/commons-discovery/0.2/commons-discovery.jar"/>
@@ -442,7 +442,10 @@
442442
<property name="dom4j-1.6.1.jar" value="${poi_libdir}/ooxml-lib/dom4j-1.6.1.jar"/>
443443
<property name="xmlbeans-2.3.0.jar" value="${poi_libdir}/ooxml-lib/xmlbeans-2.3.0.jar"/>
444444

445-
<property name="java-jwt-1.0.0.jar" value="${ext_libdir}/jwt/java-jwt-1.0.0.jar"/>
445+
<property name="java-jwt-3.3.0.jar" value="${ext_libdir}/jwt/java-jwt-3.3.0.jar"/>
446+
<property name="jwks-rsa-0.3.0.jar" value="${ext_libdir}/jwt/jwks-rsa-0.3.0.jar"/>
447+
<property name="guava-19.0.jar" value="${ext_libdir}/jwt/guava-19.0.jar"/>
448+
<property name="commons-codec-1.9.jar" value="${ext_libdir}/jwt/commons-codec-1.9.jar"/>
446449

447450
<!-- Http Client libs -->
448451
<property name="httpclient_libdir" value="${ext_libdir}/httpclient"/>
@@ -641,16 +644,18 @@
641644
<pathelement location="${yuicompressor.jar}"/>
642645
<pathelement location="${jackson-core.jar}"/>
643646
<pathelement location="${jackson-mapper.jar}"/>
644-
<pathelement location="${jackson-annotations-2.3.0.jar}"/>
645-
<pathelement location="${jackson-core-2.3.2.jar}"/>
646-
<pathelement location="${jackson-databind-2.3.2.jar}"/>
647+
<pathelement location="${jackson-annotations-2.8.1.jar}"/>
648+
<pathelement location="${jackson-core-2.8.1.jar}"/>
649+
<pathelement location="${jackson-databind-2.8.1.jar}"/>
647650
<pathelement location="${scribe.jar}"/>
648651
<pathelement location="${jedis.jar}"/>
649652
<!--
650653
<pathelement location="${jsr311.jar}"/>
651654
<pathelement location="${cxf.jar}"/>
652655
-->
653-
<pathelement location="${java-jwt-1.0.0.jar}"/>
656+
<pathelement location="${java-jwt-3.3.0.jar}"/>
657+
<pathelement location="${jwks-rsa-0.3.0.jar}"/>
658+
<pathelement location="${guava-19.0.jar}"/>
654659
</path>
655660

656661
</project>

build.xml

+10-5
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,17 @@
309309
</copy>
310310
<copy file="${jackson-core.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
311311
<copy file="${jackson-mapper.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
312-
<copy file="${jackson-annotations-2.3.0.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
313-
<copy file="${jackson-core-2.3.2.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
314-
<copy file="${jackson-databind-2.3.2.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
312+
<copy file="${jackson-annotations-2.8.1.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
313+
<copy file="${jackson-core-2.8.1.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
314+
<copy file="${jackson-databind-2.8.1.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
315315
<copy file="${encoder.jar}" todir="${ear_shared_libdir}" overwrite="true" />
316316

317317
<copy file="${yuicompressor.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
318-
<copy file="${java-jwt-1.0.0.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
319-
318+
<copy file="${java-jwt-3.3.0.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
319+
<copy file="${jwks-rsa-0.3.0.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
320+
<copy file="${guava-19.0.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
321+
<copy file="${commons-codec-1.9.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
322+
320323
<!-- EJB components -->
321324
<copy file="${catalog_services_id_generator.jar}" todir="${build_distdir}/ejb" overwrite="true"/>
322325
<copy file="${catalog_services.jar}" todir="${build_distdir}/ejb" overwrite="true"/>
@@ -569,6 +572,8 @@
569572
<include name="com/topcoder/management/payment/calculator/impl/ProjectPaymentAdjustmentCalculator.properties" />
570573
</fileset>
571574
</copy>
575+
576+
<copy file="${commons-codec-1.9.jar}" tofile="${jboss.home}/server/${server.name}/lib/commons-codec.jar" overwrite="true"/>
572577
<copy todir="${jboss.home}/server/${server.name}/lib" flatten="true" overwrite="true">
573578
<fileset dir="${ext_libdir}">
574579
<include name="aws-java-sdk/aws-java-sdk-1.0.004.jar" />

components/topcoder_cockpit_asset_services/build-dependencies.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<property name="spring-framework.dir" value="${ext_libdir}/spring/"/>
2424
<property name="commons-logging.jar" value="${ext_libdir}/commons-logging/1.1.1/commons-logging-1.1.1.jar"/>
2525
<property name="hibernate.dir" value="${ext_libdir}/hibernate"/>
26-
<property name="jackson.dir" value="${ext_libdir}/jackson/1.9.7"/>
26+
<property name="jackson.dir" value="${ext_libdir}/jackson/2.8.1"/>
2727
<property name="aspectj.dir" value="${ext_libdir}/aspectj/"/>
2828

2929
<path id="component.tcs-dependencies">
@@ -58,4 +58,4 @@
5858
<pathelement location="${ifxjdbc.jar}"/>
5959
</path>
6060

61-
</project>
61+
</project>

conf/ApplicationServer.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ SSO_COOKIE_KEY = @ApplicationServer.SSO_COOKIE_KEY@
4444
SSO_HASH_SECRET = @ApplicationServer.SSO_HASH_SECRET@
4545
SSO_DOMAIN = @ApplicationServer.SSO_DOMAIN@
4646

47-
JWT_COOKIE_KEY = @ApplicationServer.JWT_COOKIE_KEY@
4847
JWT_V3_COOKIE_KEY = @ApplicationServer.JWT_V3_COOKIE_KEY@
48+
JWT_COOKIE_KEY = @ApplicationServer.JWT_COOKIE_KEY@

conf/Direct.properties

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ JWT_EXPIRATION_SECONDS = @JWT_EXPIRATION_SECONDS@
1717
LDAP_AUTH0_CONNECTION_NAME = @LDAP_AUTH0_CONNECTION_NAME@
1818
REDIRECT_URL_AUTH0 = /reg2/callback.action
1919
REG_SERVER_NAME= @REG_SERVER_NAME@
20+
JWT_VALID_ISSUERS=@JWT_VALID_ISSUERS@
21+
JWT_V3_SECRET = @JWT_V3_SECRET@
2022

2123
#Parameter whether we use login processor or not
2224
USE_LOGIN_PROCESSOR = @useLoginProcessor@

conf/web/WEB-INF/applicationContext.xml

+1-8
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<property name="loginPageName" value="anonymous"/>
213213
<property name="userSessionIdentityKey" value="user"/>
214214
<property name="redirectBackUrlIdentityKey" value="redirectBackUrl"/>
215+
<property name="authorizationURL" value="@authorizationUrl@"/>
215216
</bean>
216217

217218
<!-- LoggingInterceptor -->
@@ -340,7 +341,6 @@
340341
<property name="contestFeeService" ref="contestFeeService"/>
341342
<property name="contestFeePercentageService" ref="contestFeePercentageService"/>
342343
<property name="userGroupsApiEndpoint" value="@userGroupsApiEndpoint@"/>
343-
<property name="jwtTokenUpdater" ref="jwtTokenUpdater" />
344344
</bean>
345345

346346
<bean id="projectAction" class="com.topcoder.direct.services.view.action.contest.launch.ProjectAction"
@@ -1504,13 +1504,11 @@
15041504
class="com.topcoder.direct.services.view.action.my.MyCreatedChallengesAction" scope="prototype">
15051505
<property name="serviceURL" value="@directChallengeServicesApiUrl@"/>
15061506
<property name="userService" ref="userService"/>
1507-
<property name="jwtTokenUpdater" ref="jwtTokenUpdater"/>
15081507
</bean>
15091508

15101509
<bean id="myChallengesAction"
15111510
class="com.topcoder.direct.services.view.action.my.MyChallengesAction" scope="prototype">
15121511
<property name="serviceURL" value="@directChallengeServicesApiUrl@"/>
1513-
<property name="jwtTokenUpdater" ref="jwtTokenUpdater"/>
15141512
</bean>
15151513

15161514
<bean id="xmlPhaseTemplatePersistence"
@@ -1555,10 +1553,5 @@
15551553
<bean id="getGroupMemberAction" class="com.topcoder.direct.services.view.action.contest.launch.GetGroupMemberAction"
15561554
scope="prototype" parent="baseDirectStrutsAction">
15571555
<property name="groupApiEndpoint" value="@groupMemberApiUrl@"/>
1558-
<property name="jwtTokenUpdater" ref="jwtTokenUpdater"/>
1559-
</bean>
1560-
<bean id="jwtTokenUpdater" class="com.topcoder.direct.services.view.util.JwtTokenUpdater" scope="prototype">
1561-
<property name="ssoLoginUrl" value="@ssoLoginUrl@"/>
1562-
<property name="authorizationURL" value="@authorizationUrl@"/>
15631556
</bean>
15641557
</beans>

conf/web/WEB-INF/struts.xml

-2
Original file line numberDiff line numberDiff line change
@@ -1548,15 +1548,13 @@
15481548
<package name="my" namespace="/my" extends="base">
15491549
<action name="createdChallenges" class="myCreatedChallengesAction">
15501550
<result name="success">/WEB-INF/my/myCreatedChallenges.jsp</result>
1551-
<result name="forward" type="redirect">${ssoLoginUrl}</result>
15521551
</action>
15531552
<action name="getCreatedChallenges" method="getMyCreatedChallenges" class="myCreatedChallengesAction">
15541553
<result name="success" type="json"/>
15551554
<result name="error" type="json"/>
15561555
</action>
15571556
<action name="challenges" class="myChallengesAction">
15581557
<result name="success">/WEB-INF/my/myChallenges.jsp</result>
1559-
<result name="forward" type="redirect">${ssoLoginUrl}</result>
15601558
</action>
15611559
<action name="getMyChallenges" method="getMyChallenges" class="myChallengesAction">
15621560
<result name="success" type="json"/>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
258 KB
Binary file not shown.

lib/third_party/jwt/guava-19.0.jar

2.2 MB
Binary file not shown.

lib/third_party/jwt/java-jwt-0.2.jar

-4.92 KB
Binary file not shown.
-1.17 MB
Binary file not shown.
49.1 KB
Binary file not shown.
16.2 KB
Binary file not shown.

services/cloud_vm_service/build-dependencies.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@
167167
<property name="xerces.jar" value="${ext_libdir}/xerces/2.6.2/xerces.jar"/>
168168
<property name="commons-discovery.jar" value="${ext_libdir}/commons-discovery/0.2/commons-discovery.jar"/>
169169
<property name="aws-java" value="${ext_libdir}/aws-java-sdk/aws-java-sdk-1.0.004.jar"/>
170-
<property name="jackson-core" value="${ext_libdir}/jackson/1.9.7/jackson-core-asl.jar"/>
171-
<property name="jackson-mapper" value="${ext_libdir}/jackson/1.9.7/jackson-mapper-asl.jar"/>
170+
<property name="jackson-core" value="${ext_libdir}/jackson/2.8.1/jackson-core-asl.jar"/>
171+
<property name="jackson-mapper" value="${ext_libdir}/jackson/2.8.1/jackson-mapper-asl.jar"/>
172172

173173

174174
<path id="component.tcs-dependencies">

src/java/main/com/topcoder/direct/services/configs/ServerConfiguration.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class ServerConfiguration extends ApplicationServer {
5555
*
5656
* @since 1.1
5757
*/
58-
public static String JWT_COOOKIE_KEY = bundle.getProperty("JWT_COOKIE_KEY", "tcjwt");
59-
6058
public static String JWT_V3_COOKIE_KEY = bundle.getProperty("JWT_V3_COOKIE_KEY", "v3jwt");
59+
60+
public static String JWT_COOKIE_KEY = bundle.getProperty("JWT_COOKIE_KEY", "tcjwt");
6161
}

src/java/main/com/topcoder/direct/services/view/action/ServiceBackendDataTablesAction.java

+4-15
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
*/
44
package com.topcoder.direct.services.view.action;
55

6+
import com.topcoder.direct.services.configs.ServerConfiguration;
67
import com.topcoder.direct.services.view.dto.contest.ContestStatus;
78
import com.topcoder.direct.services.view.dto.project.ProjectBriefDTO;
89
import com.topcoder.direct.services.view.util.DataProvider;
910
import com.topcoder.direct.services.view.util.DirectUtils;
10-
import com.topcoder.direct.services.view.util.JwtTokenUpdater;
1111
import com.topcoder.security.TCSubject;
1212
import org.apache.http.HttpEntity;
1313
import org.apache.http.HttpHeaders;
@@ -17,6 +17,7 @@
1717
import org.apache.http.client.utils.URIBuilder;
1818
import org.apache.http.impl.client.DefaultHttpClient;
1919
import org.apache.log4j.Logger;
20+
import org.apache.struts2.ServletActionContext;
2021
import org.codehaus.jackson.JsonNode;
2122
import org.codehaus.jackson.map.DeserializationConfig;
2223
import org.codehaus.jackson.map.ObjectMapper;
@@ -215,11 +216,6 @@ public abstract class ServiceBackendDataTablesAction extends AbstractAction {
215216
*/
216217
protected static final ObjectMapper objectMapper;
217218

218-
/**
219-
* JwtTokenUpdater
220-
*/
221-
private JwtTokenUpdater jwtTokenUpdater;
222-
223219
/**
224220
* <p>A static <code>Map</code> mapping the existing contest statuses to their textual presentations.</p>
225221
*
@@ -323,7 +319,8 @@ protected JsonNode getJsonResultFromAPI(URI apiEndPoint) throws Exception {
323319
// specify the get request
324320
HttpGet getRequest = new HttpGet(apiEndPoint);
325321

326-
String token = jwtTokenUpdater.check().getToken();
322+
String token = DirectUtils.getCookieFromRequest(ServletActionContext.getRequest(),
323+
ServerConfiguration.JWT_V3_COOKIE_KEY).getValue();
327324

328325
getRequest.setHeader(HttpHeaders.AUTHORIZATION,
329326
"Bearer " + token);
@@ -702,12 +699,4 @@ public String getEndDateTo() {
702699
public void setEndDateTo(String endDateTo) {
703700
this.endDateTo = endDateTo;
704701
}
705-
706-
public JwtTokenUpdater getJwtTokenUpdater() {
707-
return jwtTokenUpdater;
708-
}
709-
710-
public void setJwtTokenUpdater(JwtTokenUpdater jwtTokenUpdater) {
711-
this.jwtTokenUpdater = jwtTokenUpdater;
712-
}
713702
}

src/java/main/com/topcoder/direct/services/view/action/contest/launch/CommonAction.java

+1-11
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import com.topcoder.direct.services.view.util.AuthorizationProvider;
2121
import com.topcoder.direct.services.view.util.DataProvider;
2222
import com.topcoder.direct.services.view.util.DirectUtils;
23-
import com.topcoder.direct.services.view.util.JwtTokenUpdater;
2423
import com.topcoder.direct.services.view.util.challenge.CostCalculationService;
2524
import com.topcoder.management.project.ProjectGroup;
2625
import com.topcoder.security.TCSubject;
@@ -129,7 +128,6 @@ public class CommonAction extends BaseContestFeeAction {
129128
*/
130129
private String userGroupsApiEndpoint;
131130

132-
private JwtTokenUpdater jwtTokenUpdater;
133131

134132
/**
135133
* <p>
@@ -561,7 +559,7 @@ public void setCategoryId(long categoryId) {
561559
public String getGroups() {
562560
try {
563561
TCSubject tcSubject = DirectUtils.getTCSubjectFromSession();
564-
Set<ProjectGroup> projectGroups = DirectUtils.getGroups(tcSubject, jwtTokenUpdater, userGroupsApiEndpoint);
562+
Set<ProjectGroup> projectGroups = DirectUtils.getGroups(tcSubject, userGroupsApiEndpoint);
565563
setResult(projectGroups);
566564
} catch (Throwable e) {
567565
if (getModel() != null) {
@@ -578,12 +576,4 @@ public String getUserGroupsApiEndpoint() {
578576
public void setUserGroupsApiEndpoint(String userGroupsApiEndpoint) {
579577
this.userGroupsApiEndpoint = userGroupsApiEndpoint;
580578
}
581-
582-
public JwtTokenUpdater getJwtTokenUpdater() {
583-
return jwtTokenUpdater;
584-
}
585-
586-
public void setJwtTokenUpdater(JwtTokenUpdater jwtTokenUpdater) {
587-
this.jwtTokenUpdater = jwtTokenUpdater;
588-
}
589579
}

src/java/main/com/topcoder/direct/services/view/action/contest/launch/GetGroupMemberAction.java

+8-24
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
import com.topcoder.direct.services.configs.ServerConfiguration;
77
import com.topcoder.direct.services.view.dto.contest.GroupMember;
88
import com.topcoder.direct.services.view.dto.my.RestResult;
9-
import com.topcoder.direct.services.view.exception.JwtAuthenticationException;
109
import com.topcoder.direct.services.view.util.DirectUtils;
11-
import com.topcoder.direct.services.view.util.JwtTokenUpdater;
1210
import com.topcoder.direct.services.view.util.SortedCacheAddress;
1311
import com.topcoder.web.common.cache.CacheClient;
1412
import com.topcoder.web.common.cache.CacheClientFactory;
@@ -27,9 +25,13 @@
2725
import org.codehaus.jackson.map.DeserializationConfig;
2826
import org.codehaus.jackson.map.ObjectMapper;
2927

30-
import javax.servlet.http.Cookie;
3128
import java.net.URI;
32-
import java.util.*;
29+
import java.util.HashSet;
30+
import java.util.LinkedList;
31+
import java.util.List;
32+
import java.util.ListIterator;
33+
import java.util.Map;
34+
import java.util.Set;
3335

3436
/**
3537
* This action handle group member search for given list of groups and substringof user's handle
@@ -62,11 +64,6 @@ class GetGroupMemberAction extends ContestAction {
6264
*/
6365
private String handle;
6466

65-
/**
66-
* JwtTokenUpdater
67-
*/
68-
private JwtTokenUpdater jwtTokenUpdater;
69-
7067
/**
7168
* Json object mapper
7269
*/
@@ -188,13 +185,8 @@ private RestResult<GroupMember> getGroupMemberByGid(Long gid) throws Exception {
188185
try{
189186
URI groupApiEndpointUri = new URI(String.format(groupApiEndpoint, gid));
190187
HttpGet request = new HttpGet(groupApiEndpointUri);
191-
String jwtToken;
192-
try{
193-
jwtToken = jwtTokenUpdater.check().getToken();
194-
} catch (Exception e) {
195-
logger.error("Can't get jwt token");
196-
throw e;
197-
}
188+
String jwtToken = DirectUtils.getCookieFromRequest(ServletActionContext.getRequest(),
189+
ServerConfiguration.JWT_V3_COOKIE_KEY).getValue();
198190

199191
request.setHeader(HttpHeaders.AUTHORIZATION, "Bearer " + jwtToken);
200192
request.addHeader(HttpHeaders.ACCEPT, "application/json");
@@ -239,12 +231,4 @@ public String getHandle() {
239231
public void setHandle(String handle) {
240232
this.handle = handle;
241233
}
242-
243-
public JwtTokenUpdater getJwtTokenUpdater() {
244-
return jwtTokenUpdater;
245-
}
246-
247-
public void setJwtTokenUpdater(JwtTokenUpdater jwtTokenUpdater) {
248-
this.jwtTokenUpdater = jwtTokenUpdater;
249-
}
250234
}

src/java/main/com/topcoder/direct/services/view/action/my/MyChallengesAction.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@
66
import com.topcoder.direct.services.view.action.ServiceBackendDataTablesAction;
77
import com.topcoder.direct.services.view.dto.my.Challenge;
88
import com.topcoder.direct.services.view.dto.my.RestResult;
9-
import com.topcoder.direct.services.view.exception.JwtAuthenticationException;
109
import org.codehaus.jackson.JsonNode;
1110

1211
import java.text.DateFormat;
1312
import java.text.NumberFormat;
1413
import java.text.SimpleDateFormat;
15-
import java.util.*;
14+
import java.util.ArrayList;
15+
import java.util.HashMap;
16+
import java.util.List;
17+
import java.util.Locale;
18+
import java.util.Map;
19+
import java.util.TimeZone;
1620

1721
/**
1822
* <p>
@@ -46,12 +50,6 @@ public class MyChallengesAction extends ServiceBackendDataTablesAction {
4650
*/
4751
@Override
4852
public String execute() throws Exception {
49-
try {
50-
getJwtTokenUpdater().check();
51-
} catch (JwtAuthenticationException e) {
52-
return "forward";
53-
}
54-
5553
// populate filter data
5654
this.setupFilterPanel();
5755

0 commit comments

Comments
 (0)