Package org.springframework.security.oauth.examples.sparklr.oauth

Examples of org.springframework.security.oauth.examples.sparklr.oauth.SparklrUserApprovalHandler


    @Bean
    @Lazy
    @Scope(proxyMode = ScopedProxyMode.TARGET_CLASS)
    public SparklrUserApprovalHandler userApprovalHandler() throws Exception {
      SparklrUserApprovalHandler handler = new SparklrUserApprovalHandler();
      handler.setApprovalStore(approvalStore());
      handler.setRequestFactory(new DefaultOAuth2RequestFactory(clientDetailsService));
      handler.setClientDetailsService(clientDetailsService);
      handler.setUseApprovalStore(true);
      return handler;
    }
View Full Code Here


    }

    @Bean
    @DependsOn("springSecurityFilterChain") // FIXME remove the need for @DependsOn
    public SparklrUserApprovalHandler userApprovalHandler() throws Exception {
        SparklrUserApprovalHandler handler = new SparklrUserApprovalHandler();
        handler.setTokenServices(tokenServices());
        return handler;
    }
View Full Code Here

TOP

Related Classes of org.springframework.security.oauth.examples.sparklr.oauth.SparklrUserApprovalHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.