Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
34 0 0 0 100% 10.75 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.bremersee.spring.security.ldaptive.userdetails 6 0 0 0 100% 3.590 s
org.bremersee.spring.security.ldaptive.authentication 23 0 0 0 100% 7.140 s
org.bremersee.spring.security.ldaptive.authentication.provider 5 0 0 0 100% 0.020 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.bremersee.spring.security.ldaptive.userdetails

- Class Tests Errors Failures Skipped Success Rate Time
LdaptiveEvaluatedPasswordProviderTest 1 0 0 0 100% 0.006 s
LdaptiveUserDetailsServiceTest 3 0 0 0 100% 2.043 s
LdaptiveRememberMeTokenProviderTest 1 0 0 0 100% 0.005 s
LdaptivePwdLastSetPasswordProviderTest 1 0 0 0 100% 1.536 s

org.bremersee.spring.security.ldaptive.authentication

- Class Tests Errors Failures Skipped Success Rate Time
EmailToUsernameResolverByLdapAttributeTest 3 0 0 0 100% 0.143 s
ReactiveLdaptiveAuthenticationManagerTest 1 0 0 0 100% 0.189 s
LdaptiveAuthenticationManagerTest 13 0 0 0 100% 0.870 s
LdaptiveAuthenticationManagerSpringBootTest 3 0 0 0 100% 5.620 s
AccountControlEvaluatorPropertyTest 1 0 0 0 100% 0.133 s
LdaptiveTokenBasedRememberMeServicesTest 2 0 0 0 100% 0.185 s

org.bremersee.spring.security.ldaptive.authentication.provider

- Class Tests Errors Failures Skipped Success Rate Time
TemplateTest 1 0 0 0 100% 0.007 s
ActiveDirectoryAccountControlEvaluatorTest 4 0 0 0 100% 0.013 s

Test Cases

[Summary] [Package List] [Test Cases]

EmailToUsernameResolverByLdapAttributeTest

getUsernameByEmail 0.119 s
getNoUsernameByEmailBecauseOfLdapException 0.015 s
getNoUsernameByEmailBecauseOfMissingProperty 0.005 s

ReactiveLdaptiveAuthenticationManagerTest

initialize 0.187 s

LdaptiveEvaluatedPasswordProviderTest

getRememberMeToken 0.003 s

LdaptiveAuthenticationManagerTest

authenticateWithPasswordComparisonAndBadCredentials 0.063 s
supports 0.034 s
authenticateWithSimpleBindAndBadCredentials 0.208 s
isRefusedUsername(SoftAssertions) 0.003 s
init 0.060 s
authenticateWithPasswordComparison(SoftAssertions) 0.211 s
checkAccountControl(SoftAssertions) 0.190 s
authenticateWithSimpleBind(SoftAssertions) 0.011 s
getLdaptiveTemplate 0.002 s
rememberMeAuthenticationThrowsBadCredentialsExceptionWithInvalidKey 0.061 s
authenticateWithSimpleBindAndUsernameNotFound 0.008 s
getUserDetailsService 0.002 s
authenticateWithRefusedUsername 0.005 s

LdaptiveUserDetailsServiceTest

loadUserAndGroupsByUsername(SoftAssertions) 2.014 s
loadUserWithGroupsByUsername(SoftAssertions) 0.008 s
loadNotExistingUser 0.009 s

TemplateTest

applyTemplate(SoftAssertions) 0.006 s

LdaptiveAuthenticationManagerSpringBootTest

sayHelloEndpoint(SoftAssertions) 1.246 s
emailToUsername(SoftAssertions) 0.155 s
authenticate(SoftAssertions) 0.106 s

LdaptiveRememberMeTokenProviderTest

invalid 0.003 s

AccountControlEvaluatorPropertyTest

get(SoftAssertions) 0.132 s

LdaptiveTokenBasedRememberMeServicesTest

createSuccessfulAuthentication 0.178 s
getUserDetailsService 0.003 s

LdaptivePwdLastSetPasswordProviderTest

getRememberMeToken 1.505 s

ActiveDirectoryAccountControlEvaluatorTest

isAccountNonExpired 0.003 s
isCredentialsNonExpired 0.001 s
isAccountNonLocked 0.001 s
isEnabled 0.005 s