Class WebSecurityContext
java.lang.Object
org.apache.syncope.core.spring.security.WebSecurityContext
@EnableWebSecurity
@EnableMethodSecurity(prePostEnabled=true)
@Configuration(proxyBeanMethods=false)
public class WebSecurityContext
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthDataAccessor
(SecurityProperties securityProperties, RealmSearchDAO realmSearchDAO, UserDAO userDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, AccessTokenDAO accessTokenDAO, ConfParamOps confParamOps, RoleDAO roleDAO, DelegationDAO delegationDAO, ExternalResourceDAO resourceDAO, ConnectorManager connectorManager, AuditManager auditManager, MappingManager mappingManager, List<JWTSSOProvider> jwtSSOProviders) filterChain
(HttpSecurity http, UsernamePasswordAuthenticationProvider usernamePasswordAuthenticationProvider, AccessDeniedHandler accessDeniedHandler, AuthDataAccessor dataAccessor, DefaultCredentialChecker defaultCredentialChecker) usernamePasswordAuthenticationProvider
(SecurityProperties securityProperties, DomainOps domainOps, AuthDataAccessor dataAccessor, UserProvisioningManager provisioningManager, DefaultCredentialChecker credentialChecker) webSecurityCustomizer
(HttpFirewall allowUrlEncodedSlashHttpFirewall)
-
Constructor Details
-
WebSecurityContext
public WebSecurityContext()
-
-
Method Details
-
allowUrlEncodedSlashHttpFirewall
-
webSecurityCustomizer
@Bean public WebSecurityCustomizer webSecurityCustomizer(HttpFirewall allowUrlEncodedSlashHttpFirewall) -
filterChain
@Bean public SecurityFilterChain filterChain(HttpSecurity http, UsernamePasswordAuthenticationProvider usernamePasswordAuthenticationProvider, AccessDeniedHandler accessDeniedHandler, AuthDataAccessor dataAccessor, DefaultCredentialChecker defaultCredentialChecker) throws Exception - Throws:
Exception
-
usernamePasswordAuthenticationProvider
@ConditionalOnMissingBean @Bean public UsernamePasswordAuthenticationProvider usernamePasswordAuthenticationProvider(SecurityProperties securityProperties, DomainOps domainOps, AuthDataAccessor dataAccessor, UserProvisioningManager provisioningManager, DefaultCredentialChecker credentialChecker) -
accessDeniedHandler
-
authDataAccessor
@ConditionalOnMissingBean @Bean public AuthDataAccessor authDataAccessor(SecurityProperties securityProperties, RealmSearchDAO realmSearchDAO, UserDAO userDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, AccessTokenDAO accessTokenDAO, ConfParamOps confParamOps, RoleDAO roleDAO, DelegationDAO delegationDAO, ExternalResourceDAO resourceDAO, ConnectorManager connectorManager, AuditManager auditManager, MappingManager mappingManager, List<JWTSSOProvider> jwtSSOProviders)
-