fengxiang
2018-02-02 65669a27226805fc91f349512f5384729c2b5273
src/main/java/com/moral/security/auth/jwt/JwtTokenAuthenticationProcessingFilter.java
@@ -43,11 +43,6 @@
            throws AuthenticationException, IOException, ServletException {
        String tokenPayload = request.getHeader(WebSecurityConfig.AUTHENTICATION_HEADER_NAME);
        RawAccessJwtToken token = new RawAccessJwtToken(tokenExtractor.extract(tokenPayload));
        try {
            throw new Exception("11111111111111111");
        } catch (Exception e) {
            e.printStackTrace();
        }
        return getAuthenticationManager().authenticate(new JwtAuthenticationToken(token));
    }