Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
39 0 0 0 100% 9.683 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.077 s
org.bremersee.spring.security.ldaptive.authentication 28 0 0 0 100% 6.587 s
org.bremersee.spring.security.ldaptive.authentication.provider 5 0 0 0 100% 0.019 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.004 s
LdaptiveUserDetailsServiceTest 3 0 0 0 100% 1.639 s
LdaptiveRememberMeTokenProviderTest 1 0 0 0 100% 0.003 s
LdaptivePwdLastSetPasswordProviderTest 1 0 0 0 100% 1.431 s

org.bremersee.spring.security.ldaptive.authentication

- Class Tests Errors Failures Skipped Success Rate Time
EmailToUsernameResolverByLdapAttributeTest 3 0 0 0 100% 0.126 s
UsernameToBindDnConverterTest 2 0 0 0 100% 0.276 s
ReactiveLdaptiveAuthenticationManagerTest 1 0 0 0 100% 0.147 s
LdaptiveAuthenticationManagerTest 14 0 0 0 100% 0.470 s
UsernameToBindDnConverterPropertyTest 2 0 0 0 100% 0.012 s
LdaptiveAuthenticationManagerSpringBootTest 3 0 0 0 100% 5.283 s
AccountControlEvaluatorPropertyTest 1 0 0 0 100% 0.127 s
LdaptiveTokenBasedRememberMeServicesTest 2 0 0 0 100% 0.146 s

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

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

Test Cases

[Summary] [Package List] [Test Cases]

EmailToUsernameResolverByLdapAttributeTest

getUsernameByEmail 0.114 s
getNoUsernameByEmailBecauseOfLdapException 0.005 s
getNoUsernameByEmailBecauseOfMissingProperty 0.003 s

UsernameToBindDnConverterTest

convertByUserRdnAttribute(SoftAssertions) 0.270 s
convertByDomainEmail(SoftAssertions) 0.003 s

ReactiveLdaptiveAuthenticationManagerTest

initialize 0.145 s

LdaptiveEvaluatedPasswordProviderTest

getRememberMeToken 0.002 s

LdaptiveAuthenticationManagerTest

authenticateWithApplicationLdaptiveTemplateAndBadCredentials 0.060 s
authenticateWithUserLdaptiveTemplateAndBadCredentialsWithMessage 0.021 s
supports 0.033 s
authenticateWithUserLdaptiveTemplateAndRefusedUsername 0.005 s
authenticateWithUserLdaptiveTemplateAndBadCredentialsWithResultCode 0.006 s
authenticateWithUserLdaptiveTemplate(SoftAssertions) 0.018 s
authenticateWithApplicationLdaptiveTemplate(SoftAssertions) 0.198 s
isRefusedUsername(SoftAssertions) 0.001 s
init 0.038 s
checkAccountControl(SoftAssertions) 0.003 s
authenticateWithUserLdaptiveTemplateAndUsernameNotFound 0.008 s
getLdaptiveTemplate(SoftAssertions) 0.010 s
rememberMeAuthenticationThrowsBadCredentialsExceptionWithInvalidKey 0.057 s
getUserDetailsService 0.001 s

UsernameToBindDnConverterPropertyTest

applyByDomainEmail 0.006 s
applyByUserRdnAttribute 0.001 s

LdaptiveUserDetailsServiceTest

loadUserAndGroupsByUsername(SoftAssertions) 1.620 s
loadUserWithGroupsByUsername(SoftAssertions) 0.007 s
loadNotExistingUser 0.007 s

TemplateTest

applyTemplate(SoftAssertions) 0.006 s

LdaptiveAuthenticationManagerSpringBootTest

sayHelloEndpoint(SoftAssertions) 0.977 s
emailToUsername(SoftAssertions) 0.174 s
authenticate(SoftAssertions) 0.074 s

LdaptiveRememberMeTokenProviderTest

invalid 0.003 s

AccountControlEvaluatorPropertyTest

get(SoftAssertions) 0.126 s

LdaptiveTokenBasedRememberMeServicesTest

createSuccessfulAuthentication 0.140 s
getUserDetailsService 0.003 s

LdaptivePwdLastSetPasswordProviderTest

getRememberMeToken 1.403 s

ActiveDirectoryAccountControlEvaluatorTest

isAccountNonExpired 0.005 s
isCredentialsNonExpired 0 s
isAccountNonLocked 0.001 s
isEnabled 0.004 s