Package org.springframework.boot.autoconfigure.security

Examples of org.springframework.boot.autoconfigure.security.SecurityProperties


    SpringApplication.run(SampleActuatorUiApplication.class, args);
  }

  @Bean
  public SecurityProperties securityProperties() {
    SecurityProperties security = new SecurityProperties();
    security.getBasic().setPath(""); // empty so home page is unsecured
    return security;
  }
View Full Code Here


  // In case security auto configuration hasn't been included
  @Bean
  @ConditionalOnMissingBean
  @ConditionalOnClass(name = "org.springframework.security.config.annotation.web.configuration.EnableWebSecurity")
  public SecurityProperties securityProperties() {
    return new SecurityProperties();
  }
View Full Code Here

TOP

Related Classes of org.springframework.boot.autoconfigure.security.SecurityProperties

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.