Uses of Class
de.hybris.platform.servicelayer.security.auth.InvalidCredentialsException
Packages that use InvalidCredentialsException
Package
Description
-
Uses of InvalidCredentialsException in de.hybris.platform.sap.productconfig.facades.integrationtests
Methods in de.hybris.platform.sap.productconfig.facades.integrationtests that throw InvalidCredentialsExceptionModifier and TypeMethodDescriptionvoidprotected voidLifecycleStrategiesIntegrationTestBase.makeNewSessionByLoggingOutAndIn(String userName) LifecycleStrategiesIntegrationTestBase.prepareProcessTest()voidLifecycleStrategiesIntegrationTestBase.testAddToCartDirectlyForVariant()voidLifecycleStrategiesIntegrationTestBase.testAddToCartDirectlyThenConfigure()voidLifecycleStrategiesIntegrationTestBase.testAddVariantDirectlyToCarAndProveDraftHandlingDefault()voidLifecycleStrategiesIntegrationTestBase.testAddVariantDirectlyToCarAndProveDraftHandlingPersistent()voidProductConfigurationCacheIntegrationTest.testCacheBehaviourAfterLoginAndLogout()Tests running with Currency: isoCode=EUR; sapCode=EURvoidCPQOrderFacadeIntegrationTest.testConfigOrderIntegrationDraftHandlingFacade()voidCPQOrderFacadeIntegrationTest.testConfigOrderIntegrationFacade()voidCPQOrderFacadeIntegrationTest.testConfigOrderIntegrationProductBoundHandlingFacade()voidCPQQuoteFacadeIntegrationTest.testConfigQuoteIntegrationFacade()voidLifecycleStrategiesIntegrationTestBase.testCreateConfigWithLogInUser()voidLifecycleStrategiesIntegrationTestBase.testLinkToCartEntryThenRemove()voidLifecycleStrategiesIntegrationTestBase.testOrderProcessDefault()voidCPQOrderFacadeIntegrationTest.testPlaceOrderAccessCheck()voidCPQQuoteFacadeIntegrationTest.testQuoteDataHasConfigurationData()voidCPQQuoteFacadeIntegrationTest.testQuoteDataHasNoConfigurationData()voidLifecycleStrategiesIntegrationTestBase.testQuoteProcessDefault()voidCPQQuoteFacadeIntegrationTest.testQuoteSessionArtifacts()voidCPQQuoteFacadeIntegrationTest.testQuoteSessionArtifactsDraftHandling()voidProductConfigurationAccessIntegrationTest.testReadingNotOwnCartRelatedFails()Configurations with cart relation
read: allow only for same user
update: allow only for drafts and for same uservoidProductConfigurationAccessIntegrationTest.testReadingNotOwnDraftCartRelatedFails()voidProductConfigurationAccessIntegrationTest.testReadingNotOwnOrderRelatedFails()Configurations with order relation
read: allow only for same user
update: never allowedvoidProductConfigurationAccessIntegrationTest.testReadingNotOwnProductRelatedFailsNot()Configurations with product relation
read: allow for every user
update: allow only for same uservoidProductConfigurationAccessIntegrationTest.testReadingNotOwnQuoteRelatedFails()Configurations with quote relation
read: allow only for same user
update: never allowedvoidProductConfigurationAccessIntegrationTest.testReleasingNotOwnCartRelatedFails()voidProductConfigurationAccessIntegrationTest.testReleasingNotOwnDraftCartRelatedFails()voidProductConfigurationAccessIntegrationTest.testReleasingNotOwnOrderRelatedFails()voidProductConfigurationAccessIntegrationTest.testReleasingNotOwnProductRelatedFails()voidProductConfigurationAccessIntegrationTest.testReleasingNotOwnQuoteRelatedFails()voidLifecycleStrategiesIntegrationTestBase.testSanityCheckToProductLinkDefault()voidLifecycleStrategiesIntegrationTestBase.testSanityCheckToProductLinkPersistent()Further logic needs to be pushed to facades, therefore ignore for the time beingvoidLifecycleStrategiesIntegrationTestBase.testUpdateUserAfterLogIn()voidProductConfigurationAccessIntegrationTest.testUpdatingNotOwnCartRelatedFails()voidProductConfigurationAccessIntegrationTest.testUpdatingNotOwnDraftCartRelatedFails()voidProductConfigurationAccessIntegrationTest.testUpdatingNotOwnProductRelatedFails()voidProductConfigurationAccessIntegrationTest.testUpdatingOwnCartRelatedNoDraftFails()voidProductConfigurationAccessIntegrationTest.testUpdatingOwnOrderRelatedFails()voidProductConfigurationAccessIntegrationTest.testUpdatingOwnQuoteRelatedFails() -
Uses of InvalidCredentialsException in de.hybris.platform.sap.productconfig.services.integrationtests
Methods in de.hybris.platform.sap.productconfig.services.integrationtests that throw InvalidCredentialsException -
Uses of InvalidCredentialsException in de.hybris.platform.servicelayer.security.auth
Methods in de.hybris.platform.servicelayer.security.auth that throw InvalidCredentialsException -
Uses of InvalidCredentialsException in de.hybris.platform.servicelayer.security.auth.impl
Methods in de.hybris.platform.servicelayer.security.auth.impl that return InvalidCredentialsExceptionModifier and TypeMethodDescriptionprotected InvalidCredentialsExceptionDefaultAuthenticationService.buildInvalidCredentialsException()for security reasons we should throw same exception for both cases: user not found password does not match You can overwrite this method and adapt the exception and/or test that should be thrown in this caseprotected InvalidCredentialsExceptionDefaultAuthenticationService.buildInvalidCredentialsException(String message) Methods in de.hybris.platform.servicelayer.security.auth.impl that throw InvalidCredentialsExceptionModifier and TypeMethodDescriptionDefaultAuthenticationService.checkCredentials(String login, String password) voidDefaultAuthenticationServiceTest.shouldLoginWhenUserIsDeactivatedInFuture()voidDefaultAuthenticationServiceTest.shouldThrowInvalidCredentialsExceptionWhenUserIsAnonymousAndAnonymousLoginIsDisabled()voidDefaultAuthenticationServiceTest.testCheckCredentials()voidDefaultAuthenticationServiceTest.testCheckCredentialsWrongPwd()voidDefaultAuthenticationServiceTest.testCheckCredentialsWrongUser()voidDefaultAuthenticationServiceTest.testLoginLogout()voidDefaultAuthenticationServiceTest.testLoginWithEmptyPassword()voidDefaultAuthenticationServiceTest.testLoginWithEmptyPasswordWithAcceptEmptyFlagSetToTrue()voidDefaultAuthenticationServiceTest.testLoginWrongPwd()voidDefaultAuthenticationServiceTest.testLoginWrongUser()