Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
34 0 0 0 100% 13.83 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% 4.492 s
org.bremersee.spring.security.ldaptive.authentication 23 0 0 0 100% 9.306 s
org.bremersee.spring.security.ldaptive.authentication.provider 5 0 0 0 100% 0.032 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.009 s
LdaptiveUserDetailsServiceTest 3 0 0 0 100% 2.679 s
LdaptiveRememberMeTokenProviderTest 1 0 0 0 100% 0.006 s
LdaptivePwdLastSetPasswordProviderTest 1 0 0 0 100% 1.798 s

org.bremersee.spring.security.ldaptive.authentication

- Class Tests Errors Failures Skipped Success Rate Time
EmailToUsernameResolverByLdapAttributeTest 3 0 0 0 100% 0.225 s
ReactiveLdaptiveAuthenticationManagerTest 1 0 0 0 100% 0.199 s
LdaptiveAuthenticationManagerTest 13 0 0 0 100% 1.207 s
LdaptiveAuthenticationManagerSpringBootTest 3 0 0 0 100% 7.092 s
AccountControlEvaluatorPropertyTest 1 0 0 0 100% 0.287 s
LdaptiveTokenBasedRememberMeServicesTest 2 0 0 0 100% 0.296 s

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

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

Test Cases

[Summary] [Package List] [Test Cases]

EmailToUsernameResolverByLdapAttributeTest

getUsernameByEmail 0.191 s
getNoUsernameByEmailBecauseOfLdapException 0.023 s
getNoUsernameByEmailBecauseOfMissingProperty 0.006 s

ReactiveLdaptiveAuthenticationManagerTest

initialize 0.197 s

LdaptiveEvaluatedPasswordProviderTest

getRememberMeToken 0.005 s

LdaptiveAuthenticationManagerTest

authenticateWithPasswordComparisonAndBadCredentials 0.073 s
supports 0.049 s
authenticateWithSimpleBindAndBadCredentials 0.259 s
isRefusedUsername(SoftAssertions) 0.003 s
init 0.044 s
authenticateWithPasswordComparison(SoftAssertions) 0.304 s
checkAccountControl(SoftAssertions) 0.354 s
authenticateWithSimpleBind(SoftAssertions) 0.015 s
getLdaptiveTemplate 0.002 s
rememberMeAuthenticationThrowsBadCredentialsExceptionWithInvalidKey 0.071 s
authenticateWithSimpleBindAndUsernameNotFound 0.009 s
getUserDetailsService 0.002 s
authenticateWithRefusedUsername 0.005 s

LdaptiveUserDetailsServiceTest

loadUserAndGroupsByUsername(SoftAssertions) 2.649 s
loadUserWithGroupsByUsername(SoftAssertions) 0.012 s
loadNotExistingUser 0.009 s

TemplateTest

applyTemplate(SoftAssertions) 0.009 s

LdaptiveAuthenticationManagerSpringBootTest

sayHelloEndpoint(SoftAssertions) 1.999 s
emailToUsername(SoftAssertions) 0.268 s
authenticate(SoftAssertions) 0.104 s

LdaptiveRememberMeTokenProviderTest

invalid 0.003 s

AccountControlEvaluatorPropertyTest

get(SoftAssertions) 0.285 s

LdaptiveTokenBasedRememberMeServicesTest

createSuccessfulAuthentication 0.288 s
getUserDetailsService 0.004 s

LdaptivePwdLastSetPasswordProviderTest

getRememberMeToken 1.767 s

ActiveDirectoryAccountControlEvaluatorTest

isAccountNonExpired 0.005 s
isCredentialsNonExpired 0.002 s
isAccountNonLocked 0.002 s
isEnabled 0.006 s