{"action":"created","comment":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/comments/51511048","id":51511048,"diff_hunk":"@@ -84,9 +94,9 @@ protected ViewModel doGet(HttpServletRequest request, HttpServletResponse respon\n         String sptoken = Strings.clean(request.getParameter(\"sptoken\"));\n \n         if (sptoken == null) {\n-            //safest thing to do if token is invalid or if there is an error (could be illegal access)\n-            String logoutUri = getLogoutUri();\n-            return new DefaultViewModel(logoutUri).setRedirect(true);\n+            //redirect to resend verification email form","path":"extensions/servlet/src/main/java/com/stormpath/sdk/servlet/mvc/VerifyController.java","position":37,"original_position":37,"commit_id":"9c244911fe3f8edaf87d31c2377274a162957f79","original_commit_id":"9c244911fe3f8edaf87d31c2377274a162957f79","user":{"login":"mrioan","id":717498,"avatar_url":"https://avatars.githubusercontent.com/u/717498?v=3","gravatar_id":"","url":"https://api.github.com/users/mrioan","html_url":"https://github.com/mrioan","followers_url":"https://api.github.com/users/mrioan/followers","following_url":"https://api.github.com/users/mrioan/following{/other_user}","gists_url":"https://api.github.com/users/mrioan/gists{/gist_id}","starred_url":"https://api.github.com/users/mrioan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrioan/subscriptions","organizations_url":"https://api.github.com/users/mrioan/orgs","repos_url":"https://api.github.com/users/mrioan/repos","events_url":"https://api.github.com/users/mrioan/events{/privacy}","received_events_url":"https://api.github.com/users/mrioan/received_events","type":"User","site_admin":false},"body":"//redirect to send verification email form","created_at":"2016-02-02T01:45:46Z","updated_at":"2016-02-02T01:45:46Z","html_url":"https://github.com/stormpath/stormpath-sdk-java/pull/459#discussion_r51511048","pull_request_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/459","_links":{"self":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/comments/51511048"},"html":{"href":"https://github.com/stormpath/stormpath-sdk-java/pull/459#discussion_r51511048"},"pull_request":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/459"}}},"pull_request":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/459","id":57458979,"html_url":"https://github.com/stormpath/stormpath-sdk-java/pull/459","diff_url":"https://github.com/stormpath/stormpath-sdk-java/pull/459.diff","patch_url":"https://github.com/stormpath/stormpath-sdk-java/pull/459.patch","issue_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/459","number":459,"state":"open","locked":false,"title":"Resend password verification","user":{"login":"dogeared","id":364562,"avatar_url":"https://avatars.githubusercontent.com/u/364562?v=3","gravatar_id":"","url":"https://api.github.com/users/dogeared","html_url":"https://github.com/dogeared","followers_url":"https://api.github.com/users/dogeared/followers","following_url":"https://api.github.com/users/dogeared/following{/other_user}","gists_url":"https://api.github.com/users/dogeared/gists{/gist_id}","starred_url":"https://api.github.com/users/dogeared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogeared/subscriptions","organizations_url":"https://api.github.com/users/dogeared/orgs","repos_url":"https://api.github.com/users/dogeared/repos","events_url":"https://api.github.com/users/dogeared/events{/privacy}","received_events_url":"https://api.github.com/users/dogeared/received_events","type":"User","site_admin":false},"body":"This implements #442 as outlined in https://github.com/stormpath/stormpath-framework-spec/blob/master/email-verification.md\r\n\r\nIt is implemented in Servlet, Spring and Spring Security","created_at":"2016-01-28T05:53:31Z","updated_at":"2016-02-02T01:45:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e2e0f9d64543445fe77fe6fb0bd9ea5b03c704e","assignee":{"login":"mrioan","id":717498,"avatar_url":"https://avatars.githubusercontent.com/u/717498?v=3","gravatar_id":"","url":"https://api.github.com/users/mrioan","html_url":"https://github.com/mrioan","followers_url":"https://api.github.com/users/mrioan/followers","following_url":"https://api.github.com/users/mrioan/following{/other_user}","gists_url":"https://api.github.com/users/mrioan/gists{/gist_id}","starred_url":"https://api.github.com/users/mrioan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrioan/subscriptions","organizations_url":"https://api.github.com/users/mrioan/orgs","repos_url":"https://api.github.com/users/mrioan/repos","events_url":"https://api.github.com/users/mrioan/events{/privacy}","received_events_url":"https://api.github.com/users/mrioan/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/milestones/44","html_url":"https://github.com/stormpath/stormpath-sdk-java/milestones/1.0.RC8.4","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/milestones/44/labels","id":1544289,"number":44,"title":"1.0.RC8.4","description":"","creator":{"login":"dogeared","id":364562,"avatar_url":"https://avatars.githubusercontent.com/u/364562?v=3","gravatar_id":"","url":"https://api.github.com/users/dogeared","html_url":"https://github.com/dogeared","followers_url":"https://api.github.com/users/dogeared/followers","following_url":"https://api.github.com/users/dogeared/following{/other_user}","gists_url":"https://api.github.com/users/dogeared/gists{/gist_id}","starred_url":"https://api.github.com/users/dogeared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogeared/subscriptions","organizations_url":"https://api.github.com/users/dogeared/orgs","repos_url":"https://api.github.com/users/dogeared/repos","events_url":"https://api.github.com/users/dogeared/events{/privacy}","received_events_url":"https://api.github.com/users/dogeared/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-01-26T15:26:54Z","updated_at":"2016-01-28T05:53:31Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/459/commits","review_comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/459/comments","review_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/459/comments","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/statuses/9c244911fe3f8edaf87d31c2377274a162957f79","head":{"label":"stormpath:resend_password_verification","ref":"resend_password_verification","sha":"9c244911fe3f8edaf87d31c2377274a162957f79","user":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"repo":{"id":3913468,"name":"stormpath-sdk-java","full_name":"stormpath/stormpath-sdk-java","owner":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stormpath/stormpath-sdk-java","description":"Official Java SDK for the Stormpath User Management REST API","fork":false,"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java","forks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/forks","keys_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/teams","hooks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/hooks","issue_events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/events{/number}","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/events","assignees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/assignees{/user}","branches_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/branches{/branch}","tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/tags","blobs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/statuses/{sha}","languages_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/languages","stargazers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/stargazers","contributors_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/contributors","subscribers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/subscribers","subscription_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/subscription","commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/contents/{+path}","compare_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/merges","archive_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/downloads","issues_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues{/number}","pulls_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls{/number}","milestones_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/milestones{/number}","notifications_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/labels{/name}","releases_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/releases{/id}","deployments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/deployments","created_at":"2012-04-03T01:22:09Z","updated_at":"2016-01-26T14:30:29Z","pushed_at":"2016-02-01T22:26:34Z","git_url":"git://github.com/stormpath/stormpath-sdk-java.git","ssh_url":"git@github.com:stormpath/stormpath-sdk-java.git","clone_url":"https://github.com/stormpath/stormpath-sdk-java.git","svn_url":"https://github.com/stormpath/stormpath-sdk-java","homepage":"","size":10854,"stargazers_count":67,"watchers_count":67,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":108,"forks":55,"open_issues":108,"watchers":67,"default_branch":"master"}},"base":{"label":"stormpath:master","ref":"master","sha":"aa3c340c19d38be52ee267abe322008b102bfc8a","user":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"repo":{"id":3913468,"name":"stormpath-sdk-java","full_name":"stormpath/stormpath-sdk-java","owner":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stormpath/stormpath-sdk-java","description":"Official Java SDK for the Stormpath User Management REST API","fork":false,"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java","forks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/forks","keys_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/teams","hooks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/hooks","issue_events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/events{/number}","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/events","assignees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/assignees{/user}","branches_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/branches{/branch}","tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/tags","blobs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/statuses/{sha}","languages_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/languages","stargazers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/stargazers","contributors_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/contributors","subscribers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/subscribers","subscription_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/subscription","commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/contents/{+path}","compare_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/merges","archive_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/downloads","issues_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues{/number}","pulls_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls{/number}","milestones_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/milestones{/number}","notifications_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/labels{/name}","releases_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/releases{/id}","deployments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/deployments","created_at":"2012-04-03T01:22:09Z","updated_at":"2016-01-26T14:30:29Z","pushed_at":"2016-02-01T22:26:34Z","git_url":"git://github.com/stormpath/stormpath-sdk-java.git","ssh_url":"git@github.com:stormpath/stormpath-sdk-java.git","clone_url":"https://github.com/stormpath/stormpath-sdk-java.git","svn_url":"https://github.com/stormpath/stormpath-sdk-java","homepage":"","size":10854,"stargazers_count":67,"watchers_count":67,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":108,"forks":55,"open_issues":108,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/459"},"html":{"href":"https://github.com/stormpath/stormpath-sdk-java/pull/459"},"issue":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/459"},"comments":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/459/comments"},"review_comments":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/459/comments"},"review_comment":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/459/commits"},"statuses":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/statuses/9c244911fe3f8edaf87d31c2377274a162957f79"}}}}