Class PasswordEncoderServiceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.user.PasswordEncoderServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class PasswordEncoderServiceTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description PasswordEncoderServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefaultEncodingExists()voidencodeWithPlainEncoding()voidtestCannotDecodeException()voidtestDecodeWithPasswordEncoderNotFoundException()voidtestEncodeWithNullEncoding()voidtestEncodeWithPasswordEncoderNotFoundException()voidtestIsValidAndDecodePassword()voidtestSetPasswordWithAllEncodings()voidtestValidMethodWithPBKDF2()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testEncodeWithPasswordEncoderNotFoundException
public void testEncodeWithPasswordEncoderNotFoundException()
-
encodeWithPlainEncoding
public void encodeWithPlainEncoding()
-
testEncodeWithNullEncoding
public void testEncodeWithNullEncoding()
-
defaultEncodingExists
public void defaultEncodingExists()
-
testIsValidAndDecodePassword
public void testIsValidAndDecodePassword()
-
testCannotDecodeException
public void testCannotDecodeException()
-
testDecodeWithPasswordEncoderNotFoundException
public void testDecodeWithPasswordEncoderNotFoundException()
-
testSetPasswordWithAllEncodings
public void testSetPasswordWithAllEncodings()
-
testValidMethodWithPBKDF2
public void testValidMethodWithPBKDF2()
-
-