Uses of Class
de.hybris.platform.servicelayer.security.auth.InvalidCredentialsException
-
-
Uses of InvalidCredentialsException in de.hybris.platform.sap.productconfig.facades.integrationtests
Methods in de.hybris.platform.sap.productconfig.facades.integrationtests that throw InvalidCredentialsException Modifier and Type Method Description voidCPQFacadeLayerTest. login(java.lang.String userName, java.lang.String password)voidProductConfigurationAccessIntegrationTest. login(java.lang.String userName, java.lang.String password)protected voidLifecycleStrategiesIntegrationTestBase. makeNewSessionByLoggingOutAndIn(java.lang.String userName)protected LifecycleStrategiesIntegrationTestBase.PrepareProcessTestReturnContainerLifecycleStrategiesIntegrationTestBase. 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.servicelayer.security.auth
Methods in de.hybris.platform.servicelayer.security.auth that throw InvalidCredentialsException Modifier and Type Method Description UserModelAuthenticationService. checkCredentials(java.lang.String login, java.lang.String password)check credentials.UserModelAuthenticationService. login(java.lang.String login, java.lang.String password)login the user identified with login and password. -
Uses of InvalidCredentialsException in de.hybris.platform.servicelayer.security.auth.impl
Methods in de.hybris.platform.servicelayer.security.auth.impl that return InvalidCredentialsException Modifier and Type Method Description protected 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(java.lang.String message)Methods in de.hybris.platform.servicelayer.security.auth.impl that throw InvalidCredentialsException Modifier and Type Method Description UserModelDefaultAuthenticationService. checkCredentials(java.lang.String login, java.lang.String password)UserModelDefaultAuthenticationService. login(java.lang.String login, java.lang.String password)voidDefaultAuthenticationServiceTest. shouldLoginWhenUserIsDeactivatedInFuture()voidDefaultAuthenticationServiceTest. shouldThrowInvalidCredentialsExceptionWhenUserIsAnonymousAndAnonymousLoginIsDisabled()voidDefaultAuthenticationServiceTest. testCheckCredentials()voidDefaultAuthenticationServiceTest. testCheckCredentialsWrongPwd()voidDefaultAuthenticationServiceTest. testCheckCredentialsWrongUser()voidDefaultAuthenticationServiceTest. testLoginLogout()voidDefaultAuthenticationServiceTest. testLoginWithEmptyPassword()voidDefaultAuthenticationServiceTest. testLoginWithEmptyPasswordWithAcceptEmptyFlagSetToTrue()voidDefaultAuthenticationServiceTest. testLoginWrongPwd()voidDefaultAuthenticationServiceTest. testLoginWrongUser()
-