{"action":"created","issue":{"url":"https://api.github.com/repos/upcrob/spring-security-otp/issues/1","repository_url":"https://api.github.com/repos/upcrob/spring-security-otp","labels_url":"https://api.github.com/repos/upcrob/spring-security-otp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/upcrob/spring-security-otp/issues/1/comments","events_url":"https://api.github.com/repos/upcrob/spring-security-otp/issues/1/events","html_url":"https://github.com/upcrob/spring-security-otp/issues/1","id":163406859,"number":1,"title":"Can not figure out appropriate configuration","user":{"login":"jengweneg","id":7010925,"avatar_url":"https://avatars.githubusercontent.com/u/7010925?v=3","gravatar_id":"","url":"https://api.github.com/users/jengweneg","html_url":"https://github.com/jengweneg","followers_url":"https://api.github.com/users/jengweneg/followers","following_url":"https://api.github.com/users/jengweneg/following{/other_user}","gists_url":"https://api.github.com/users/jengweneg/gists{/gist_id}","starred_url":"https://api.github.com/users/jengweneg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jengweneg/subscriptions","organizations_url":"https://api.github.com/users/jengweneg/orgs","repos_url":"https://api.github.com/users/jengweneg/repos","events_url":"https://api.github.com/users/jengweneg/events{/privacy}","received_events_url":"https://api.github.com/users/jengweneg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/upcrob/spring-security-otp/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-01T14:26:07Z","updated_at":"2016-07-01T22:20:32Z","closed_at":null,"body":"Hello , \r\nI have a spring implementation with the following user-context.xml file that handle user log in\r\nHow do i precisely modify it in order to integrate the OTP plugin configuration.\r\nThanx a lot\r\n\r\n-----------------------------------------------------\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\r\n   xmlns:mvc=\"http://www.springframework.org/schema/mvc\"\r\n    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n     xmlns:tx=\"http://www.springframework.org/schema/tx\"\r\n        xmlns:context=\"http://www.springframework.org/schema/context\"\r\n        xmlns:security=\"http://www.springframework.org/schema/security\"\r\n        xmlns:oauth=\"http://www.springframework.org/schema/security/oauth2\"\r\n        xsi:schemaLocation=\"http://www.springframework.org/schema/security/oauth2    \r\n        http://www.springframework.org/schema/security/spring-security-oauth2-2.0.xsd\r\n                http://www.springframework.org/schema/mvc   \r\n        http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd\r\n                http://www.springframework.org/schema/security \r\n       http://www.springframework.org/schema/security/spring-security-3.2.xsd\r\n                http://www.springframework.org/schema/beans \r\n      http://www.springframework.org/schema/beans/spring-beans-4.1.xsd\r\n                http://www.springframework.org/schema/tx \r\n      http://www.springframework.org/schema/tx/spring-tx-4.1.xsd\r\n                http://www.springframework.org/schema/context \r\n      http://www.springframework.org/schema/context/spring-context-4.1.xsd\">\r\n\r\n        <security:authentication-manager alias=\"authenticationManager\">\r\n                <security:authentication-provider>\r\n                        <security:jdbc-user-service data-source-ref=\"dataSource\"/>\r\n                </security:authentication-provider>\r\n        </security:authentication-manager>\r\n\r\n        <mvc:view-controller path=\"/login\" view-name=\"login\" />\r\n\r\n        <security:http disable-url-rewriting=\"true\" use-expressions=\"true\">\r\n                <security:form-login login-page=\"/login\" authentication-failure-url=\"/login?error=failure\" authentication-success-handler-ref=\"authenticationTimeStampe$\r\n                <security:intercept-url pattern=\"/authorize\" access=\"hasRole('ROLE_USER')\" />\r\n                <security:intercept-url pattern=\"/**\" access=\"permitAll\" />\r\n                <security:custom-filter ref=\"authRequestFilter\" after=\"SECURITY_CONTEXT_FILTER\" />\r\n                <security:custom-filter ref=\"resourceServerFilter\" before=\"PRE_AUTH_FILTER\" />\r\n                <security:logout logout-url=\"/logout\" />\r\n                <security:anonymous />\r\n                <security:expression-handler ref=\"oauthWebExpressionHandler\" />\r\n                <security:headers>\r\n                        <security:frame-options policy=\"DENY\" />\r\n                </security:headers>\r\n                <security:csrf />\r\n        </security:http>\r\n\r\n</beans>\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/upcrob/spring-security-otp/issues/comments/230059707","html_url":"https://github.com/upcrob/spring-security-otp/issues/1#issuecomment-230059707","issue_url":"https://api.github.com/repos/upcrob/spring-security-otp/issues/1","id":230059707,"user":{"login":"jengweneg","id":7010925,"avatar_url":"https://avatars.githubusercontent.com/u/7010925?v=3","gravatar_id":"","url":"https://api.github.com/users/jengweneg","html_url":"https://github.com/jengweneg","followers_url":"https://api.github.com/users/jengweneg/followers","following_url":"https://api.github.com/users/jengweneg/following{/other_user}","gists_url":"https://api.github.com/users/jengweneg/gists{/gist_id}","starred_url":"https://api.github.com/users/jengweneg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jengweneg/subscriptions","organizations_url":"https://api.github.com/users/jengweneg/orgs","repos_url":"https://api.github.com/users/jengweneg/repos","events_url":"https://api.github.com/users/jengweneg/events{/privacy}","received_events_url":"https://api.github.com/users/jengweneg/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T22:20:32Z","updated_at":"2016-07-01T22:20:32Z","body":"Hello,\r\nYes i did but the syntax is different to that of my file and i am lost.\r\nCould you have a quick look please?\r\nThanx"}}
{"actor":{"display_login":"jengweneg"}}