@ConfigurationProperties(prefix="security") public class SecurityProperties extends Object implements SecurityPrerequisite
Modifier and Type | Class and Description |
---|---|
static class |
SecurityProperties.Basic |
static class |
SecurityProperties.Headers |
static class |
SecurityProperties.User |
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_OVERRIDE_ORDER
Order before the basic authentication access control provided by Boot.
|
static int |
BASIC_AUTH_ORDER
Order applied to the WebSecurityConfigurerAdapter that is used to configure basic
authentication for application endpoints.
|
static int |
DEFAULT_FILTER_ORDER
Default order of Spring Security's Filter in the servlet container (i.e.
|
static int |
IGNORED_ORDER
Order applied to the WebSecurityConfigurer that ignores standard static resource
paths.
|
Constructor and Description |
---|
SecurityProperties() |
Modifier and Type | Method and Description |
---|---|
SecurityProperties.Basic |
getBasic() |
Set<String> |
getFilterDispatcherTypes() |
int |
getFilterOrder() |
SecurityProperties.Headers |
getHeaders() |
List<String> |
getIgnored() |
org.springframework.security.config.http.SessionCreationPolicy |
getSessions() |
SecurityProperties.User |
getUser() |
boolean |
isEnableCsrf() |
boolean |
isRequireSsl() |
void |
setBasic(SecurityProperties.Basic basic) |
void |
setEnableCsrf(boolean enableCsrf) |
void |
setFilterDispatcherTypes(Set<String> filterDispatcherTypes) |
void |
setFilterOrder(int filterOrder) |
void |
setIgnored(List<String> ignored) |
void |
setRequireSsl(boolean requireSsl) |
void |
setSessions(org.springframework.security.config.http.SessionCreationPolicy sessions) |
public static final int ACCESS_OVERRIDE_ORDER
public static final int BASIC_AUTH_ORDER
public static final int IGNORED_ORDER
public static final int DEFAULT_FILTER_ORDER
@Order
on a WebSecurityConfigurer.public SecurityProperties.Headers getHeaders()
public SecurityProperties.User getUser()
public org.springframework.security.config.http.SessionCreationPolicy getSessions()
public void setSessions(org.springframework.security.config.http.SessionCreationPolicy sessions)
public SecurityProperties.Basic getBasic()
public void setBasic(SecurityProperties.Basic basic)
public boolean isRequireSsl()
public void setRequireSsl(boolean requireSsl)
public boolean isEnableCsrf()
public void setEnableCsrf(boolean enableCsrf)
public int getFilterOrder()
public void setFilterOrder(int filterOrder)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.