@ConfigurationProperties(prefix="security", ignoreUnknownFields=false) 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.
|
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() |
int |
getFilterOrder() |
SecurityProperties.Headers |
getHeaders() |
List<String> |
getIgnored() |
SessionCreationPolicy |
getSessions() |
SecurityProperties.User |
getUser() |
boolean |
isEnableCsrf() |
boolean |
isRequireSsl() |
void |
setBasic(SecurityProperties.Basic basic) |
void |
setEnableCsrf(boolean enableCsrf) |
void |
setFilterOrder(int filterOrder) |
void |
setIgnored(List<String> ignored) |
void |
setRequireSsl(boolean requireSsl) |
void |
setSessions(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
public SecurityProperties.Headers getHeaders()
public SecurityProperties.User getUser()
public SessionCreationPolicy getSessions()
public void setSessions(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 © 2015 Pivotal Software, Inc.. All rights reserved.