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

Examples of org.springframework.security.oauth.examples.sparklr.mvc.AdminController


  // N.B. the @Qualifier here should not be necessary (gh-298) but lots of users report needing it.
  @Bean
  public AdminController adminController(TokenStore tokenStore,
      @Qualifier("consumerTokenServices") ConsumerTokenServices tokenServices,
      SparklrUserApprovalHandler userApprovalHandler) {
    AdminController adminController = new AdminController();
    adminController.setTokenStore(tokenStore);
    adminController.setTokenServices(tokenServices);
    adminController.setUserApprovalHandler(userApprovalHandler);
    return adminController;
  }
View Full Code Here


        return photoController;
    }

    @Bean
    public AdminController adminController(ConsumerTokenServices tokenServices, SparklrUserApprovalHandler userApprovalHandler) {
        AdminController adminController = new AdminController();
        adminController.setTokenServices(tokenServices);
        adminController.setUserApprovalHandler(userApprovalHandler);
        return adminController;
    }
View Full Code Here

TOP

Related Classes of org.springframework.security.oauth.examples.sparklr.mvc.AdminController

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.