Class DefaultPasswordHashService
java.lang.Object
org.opendaylight.aaa.impl.password.service.DefaultPasswordHashService
- All Implemented Interfaces:
org.opendaylight.aaa.api.password.service.PasswordHashService
public class DefaultPasswordHashService
extends Object
implements org.opendaylight.aaa.api.password.service.PasswordHashService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultPasswordHashService(org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.password.service.config.rev170619.PasswordServiceConfig passwordServiceConfig) -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.aaa.api.password.service.PasswordHashgetPasswordHash(String password) org.opendaylight.aaa.api.password.service.PasswordHashgetPasswordHash(String password, String salt) booleanpasswordsMatch(String plaintext, String stored, String salt)
-
Field Details
-
DEFAULT_HASH_ALGORITHM
- See Also:
-
DEFAULT_NUM_ITERATIONS
public static final int DEFAULT_NUM_ITERATIONS- See Also:
-
-
Constructor Details
-
DefaultPasswordHashService
public DefaultPasswordHashService() -
DefaultPasswordHashService
public DefaultPasswordHashService(org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.password.service.config.rev170619.PasswordServiceConfig passwordServiceConfig)
-
-
Method Details
-
getPasswordHash
- Specified by:
getPasswordHashin interfaceorg.opendaylight.aaa.api.password.service.PasswordHashService
-
getPasswordHash
public org.opendaylight.aaa.api.password.service.PasswordHash getPasswordHash(String password, String salt) - Specified by:
getPasswordHashin interfaceorg.opendaylight.aaa.api.password.service.PasswordHashService
-
passwordsMatch
- Specified by:
passwordsMatchin interfaceorg.opendaylight.aaa.api.password.service.PasswordHashService
-