@Order(value=-2147483647) @Configuration public class PermitedRequestConfiguration extends SecurityConfigurerAdapter<PermitedRequestConfiguration>
SpringBootWebSecurityConfiguration
IgnoredPathsWebSecurityConfigurerAdapter.
Created by zhanghaolun on 16/8/19.Modifier and Type | Field and Description |
---|---|
static int |
ORDER_PERMITED_REQUEST |
static String |
PERMITED_REQUEST_MATCHER |
static String |
PERMITED_REQUESTS |
COMPARATOR
Constructor and Description |
---|
PermitedRequestConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
last invoked.
|
void |
init(org.springframework.security.config.annotation.web.builders.WebSecurity web)
first invoked.
|
org.springframework.security.web.util.matcher.RequestMatcher |
permitedRequestMatcher() |
Map<String,List<String>> |
permitedRequests() |
configure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, getOrder
public static final String PERMITED_REQUESTS
public static final String PERMITED_REQUEST_MATCHER
public static final int ORDER_PERMITED_REQUEST
public void init(org.springframework.security.config.annotation.web.builders.WebSecurity web)
SecurityConfigurer
init
in interface SecurityConfigurer<PermitedRequestConfiguration>
init
in class SecurityConfigurerAdapter<PermitedRequestConfiguration>
web
- web security builderpublic void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
SecurityConfigurer
configure
in interface SecurityConfigurer<PermitedRequestConfiguration>
configure
in class SecurityConfigurerAdapter<PermitedRequestConfiguration>
http
- http security builder@Bean(name="permitedRequestMatcher") public org.springframework.security.web.util.matcher.RequestMatcher permitedRequestMatcher()
Copyright © 2017. All rights reserved.