@Configuration
@ConditionalOnProperty(prefix="ums.oauth",
name="enabled",
havingValue="true")
@AutoConfigureAfter(value=Auth2AutoConfiguration.class)
public class Auth2AutoHttpSecurityAware
extends Object
implements HttpSecurityAware
ACCESS, ANONYMOUS, AUTHENTICATED, DENY_ALL, FULLY_AUTHENTICATED, HAS_ANY_AUTHORITY, HAS_ANY_ROLE, HAS_AUTHORITY, HAS_IP_ADDRESS, HAS_ROLE, PERMIT_ALL, REMEMBER_ME| 构造器和说明 |
|---|
Auth2AutoHttpSecurityAware(Auth2AutoConfigurer auth2AutoConfigurer,
Auth2Properties auth2Properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
void |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
Map<String,Map<UriHttpMethodTuple,Set<String>>> |
getAuthorizeRequestMap() |
void |
postConfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
preConfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpermitUrlFillingPermitAllMap, permitUrlsFillingPermitAllMappublic Auth2AutoHttpSecurityAware(Auth2AutoConfigurer auth2AutoConfigurer, Auth2Properties auth2Properties)
public void preConfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
preConfigure 在接口中 HttpSecurityAwareExceptionpublic void configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
configure 在接口中 HttpSecurityAwarepublic void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
throws Exception
configure 在接口中 HttpSecurityAwareExceptionpublic void postConfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
postConfigure 在接口中 HttpSecurityAwareExceptionpublic Map<String,Map<UriHttpMethodTuple,Set<String>>> getAuthorizeRequestMap()
getAuthorizeRequestMap 在接口中 HttpSecurityAwareCopyright © 2021. All rights reserved.