File tree Expand file tree Collapse file tree 8 files changed +24
-0
lines changed
ldap/src/integration-test/java/org/springframework/security/ldap Expand file tree Collapse file tree 8 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 26
26
import org .springframework .beans .factory .annotation .Autowired ;
27
27
import org .springframework .ldap .AuthenticationException ;
28
28
import org .springframework .ldap .core .support .AbstractContextSource ;
29
+ import org .springframework .test .annotation .DirtiesContext ;
29
30
import org .springframework .test .context .ContextConfiguration ;
30
31
import org .springframework .test .context .junit .jupiter .SpringExtension ;
31
32
39
40
*/
40
41
@ ExtendWith (SpringExtension .class )
41
42
@ ContextConfiguration (classes = UnboundIdContainerConfig .class )
43
+ // FIXME: See https://github.com/spring-projects/spring-security/issues/17543
44
+ @ DirtiesContext
42
45
public class DefaultSpringSecurityContextSourceTests {
43
46
44
47
@ Autowired
Original file line number Diff line number Diff line change 34
34
import org .springframework .ldap .UncategorizedLdapException ;
35
35
import org .springframework .ldap .core .ContextExecutor ;
36
36
import org .springframework .security .crypto .codec .Utf8 ;
37
+ import org .springframework .test .annotation .DirtiesContext ;
37
38
import org .springframework .test .context .ContextConfiguration ;
38
39
import org .springframework .test .context .junit .jupiter .SpringExtension ;
39
40
46
47
*/
47
48
@ ExtendWith (SpringExtension .class )
48
49
@ ContextConfiguration (classes = UnboundIdContainerConfig .class )
50
+ // FIXME: See https://github.com/spring-projects/spring-security/issues/17543
51
+ @ DirtiesContext
49
52
public class SpringSecurityLdapTemplateITests {
50
53
51
54
@ Autowired
Original file line number Diff line number Diff line change 36
36
import org .springframework .security .ldap .DefaultSpringSecurityContextSource ;
37
37
import org .springframework .security .ldap .UnboundIdContainerConfig ;
38
38
import org .springframework .security .ldap .search .FilterBasedLdapUserSearch ;
39
+ import org .springframework .test .annotation .DirtiesContext ;
39
40
import org .springframework .test .context .ContextConfiguration ;
40
41
import org .springframework .test .context .junit .jupiter .SpringExtension ;
41
42
54
55
*/
55
56
@ ExtendWith (SpringExtension .class )
56
57
@ ContextConfiguration (classes = UnboundIdContainerConfig .class )
58
+ // FIXME: See https://github.com/spring-projects/spring-security/issues/17543
59
+ @ DirtiesContext
57
60
public class BindAuthenticatorTests {
58
61
59
62
@ Autowired
Original file line number Diff line number Diff line change 32
32
import org .springframework .security .crypto .password .NoOpPasswordEncoder ;
33
33
import org .springframework .security .ldap .DefaultSpringSecurityContextSource ;
34
34
import org .springframework .security .ldap .UnboundIdContainerConfig ;
35
+ import org .springframework .test .annotation .DirtiesContext ;
35
36
import org .springframework .test .context .ContextConfiguration ;
36
37
import org .springframework .test .context .junit .jupiter .SpringExtension ;
37
38
47
48
*/
48
49
@ ExtendWith (SpringExtension .class )
49
50
@ ContextConfiguration (classes = UnboundIdContainerConfig .class )
51
+ // FIXME: See https://github.com/spring-projects/spring-security/issues/17543
52
+ @ DirtiesContext
50
53
public class PasswordComparisonAuthenticatorTests {
51
54
52
55
@ Autowired
Original file line number Diff line number Diff line change 27
27
import org .springframework .security .core .userdetails .UsernameNotFoundException ;
28
28
import org .springframework .security .ldap .DefaultSpringSecurityContextSource ;
29
29
import org .springframework .security .ldap .UnboundIdContainerConfig ;
30
+ import org .springframework .test .annotation .DirtiesContext ;
30
31
import org .springframework .test .context .ContextConfiguration ;
31
32
import org .springframework .test .context .junit .jupiter .SpringExtension ;
32
33
41
42
*/
42
43
@ ExtendWith (SpringExtension .class )
43
44
@ ContextConfiguration (classes = UnboundIdContainerConfig .class )
45
+ // FIXME: See https://github.com/spring-projects/spring-security/issues/17543
46
+ @ DirtiesContext
44
47
public class FilterBasedLdapUserSearchTests {
45
48
46
49
@ Autowired
Original file line number Diff line number Diff line change 33
33
import org .springframework .security .core .authority .AuthorityUtils ;
34
34
import org .springframework .security .ldap .SpringSecurityLdapTemplate ;
35
35
import org .springframework .security .ldap .UnboundIdContainerConfig ;
36
+ import org .springframework .test .annotation .DirtiesContext ;
36
37
import org .springframework .test .context .ContextConfiguration ;
37
38
import org .springframework .test .context .junit .jupiter .SpringExtension ;
38
39
45
46
*/
46
47
@ ExtendWith (SpringExtension .class )
47
48
@ ContextConfiguration (classes = UnboundIdContainerConfig .class )
49
+ // FIXME: See https://github.com/spring-projects/spring-security/issues/17543
50
+ @ DirtiesContext
48
51
@ SuppressWarnings ({ "deprecation" })
49
52
public class DefaultLdapAuthoritiesPopulatorTests {
50
53
Original file line number Diff line number Diff line change 37
37
import org .springframework .security .ldap .DefaultLdapUsernameToDnMapper ;
38
38
import org .springframework .security .ldap .SpringSecurityLdapTemplate ;
39
39
import org .springframework .security .ldap .UnboundIdContainerConfig ;
40
+ import org .springframework .test .annotation .DirtiesContext ;
40
41
import org .springframework .test .context .ContextConfiguration ;
41
42
import org .springframework .test .context .junit .jupiter .SpringExtension ;
42
43
53
54
*/
54
55
@ ExtendWith (SpringExtension .class )
55
56
@ ContextConfiguration (classes = UnboundIdContainerConfig .class )
57
+ // FIXME: See https://github.com/spring-projects/spring-security/issues/17543
58
+ @ DirtiesContext
56
59
public class LdapUserDetailsManagerTests {
57
60
58
61
@ Autowired
Original file line number Diff line number Diff line change 29
29
import org .springframework .ldap .core .DirContextAdapter ;
30
30
import org .springframework .security .core .GrantedAuthority ;
31
31
import org .springframework .security .ldap .UnboundIdContainerConfig ;
32
+ import org .springframework .test .annotation .DirtiesContext ;
32
33
import org .springframework .test .context .ContextConfiguration ;
33
34
import org .springframework .test .context .junit .jupiter .SpringExtension ;
34
35
40
41
*/
41
42
@ ExtendWith (SpringExtension .class )
42
43
@ ContextConfiguration (classes = UnboundIdContainerConfig .class )
44
+ // FIXME: See https://github.com/spring-projects/spring-security/issues/17543
45
+ @ DirtiesContext
43
46
public class NestedLdapAuthoritiesPopulatorTests {
44
47
45
48
@ Autowired
You can’t perform that action at this time.
0 commit comments