Skip to content

managment.security.enabled=false load Spring Security #5441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
a-marcel opened this issue Mar 18, 2016 · 1 comment
Closed

managment.security.enabled=false load Spring Security #5441

a-marcel opened this issue Mar 18, 2016 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@a-marcel
Copy link

Hello,

i've a project, what's not using spring security but if i set:

management:
  port: <int>
  context-path: /
  security:
    enabled: false  

i always get:

Caused by: java.lang.NoClassDefFoundError: org/springframework/security/config/http/SessionCreationPolicy
#011at org.springframework.boot.actuate.autoconfigure.ManagementServerProperties$Security.<init>(ManagementServerProperties.java:166)

if i remove security.enabled: false - everything is working. But i guess, it's not the best solution. If i say please disable security, it should not load.

i'm using spring boot 1.3.3

Thanks

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 18, 2016
@a-marcel a-marcel changed the title managment.security.enabled.false load Spring Security managment.security.enabled=false load Spring Security Mar 18, 2016
@snicoll
Copy link
Member

snicoll commented Mar 18, 2016

Duplicates #3888

@snicoll snicoll closed this as completed Mar 18, 2016
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 18, 2016
@dsyer dsyer added status: waiting-for-triage An issue we've not yet triaged and removed status: duplicate A duplicate of another issue labels Mar 18, 2016
@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

5 participants