@ConfigurationProperties(prefix="security", ignoreUnknownFields=false) public class SecurityProperties extends Object implements SecurityPrequisite
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 |
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() |
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 |
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 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)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.