@ManagedResource(description="Generate hashes for passwords")
public interface PasswordEncryptionSupportMBean
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHash(java.lang.String content) |
java.lang.String |
getHash(java.lang.String content,
java.lang.String salt) |
java.lang.String |
getPasswordHash(java.lang.String userId,
java.lang.String password) |
java.lang.String |
getPasswordHashMethod() |
java.lang.String |
getPlainHash(java.lang.String content)
Deprecated.
|
java.lang.String |
getRandomPassword() |
java.lang.String |
getSpecificHash(java.lang.String content,
java.lang.String method) |
java.lang.String |
getSpecificHash(java.lang.String content,
java.lang.String salt,
java.lang.String method) |
java.lang.String |
getSpecificPasswordHash(java.lang.String userId,
java.lang.String password,
java.lang.String method) |
java.lang.String |
getSpecificPlainHash(java.lang.String content,
java.lang.String method)
Deprecated.
|
java.lang.String |
getSupportedHashMethods() |
@ManagedAttribute(description="Default Hash method") java.lang.String getPasswordHashMethod()
@ManagedAttribute(description="Supported hash methods") java.lang.String getSupportedHashMethods()
@ManagedOperation(description="Get random password") java.lang.String getRandomPassword()
@ManagedOperation(description="Get hash and salt for content") @ManagedOperationParameters(value=@ManagedOperationParameter(name="content",description="String for hash")) java.lang.String getHash(java.lang.String content)
@ManagedOperation(description="Get hash for content with specified salt") @ManagedOperationParameter(name="content",description="String for hash") @ManagedOperationParameter(name="salt",description="Salt") java.lang.String getHash(java.lang.String content, java.lang.String salt)
@ManagedOperation(description="Get plain hash without salt") @ManagedOperationParameters(value=@ManagedOperationParameter(name="content",description="String for hash")) @Deprecated java.lang.String getPlainHash(java.lang.String content)
@ManagedOperation(description="Get hash and salt for password") @ManagedOperationParameter(name="userId",description="User id") @ManagedOperationParameter(name="password",description="Password for hash") java.lang.String getPasswordHash(java.lang.String userId, java.lang.String password)
@ManagedOperation(description="Get hash and salt with specified method") @ManagedOperationParameter(name="content",description="String for hash") @ManagedOperationParameter(name="method",description="Hash method") java.lang.String getSpecificHash(java.lang.String content, java.lang.String method)
@ManagedOperation(description="Get hash and salt for password") @ManagedOperationParameter(name="userId",description="User id") @ManagedOperationParameter(name="password",description="Password for hash") @ManagedOperationParameter(name="method",description="Hash method") java.lang.String getSpecificPasswordHash(java.lang.String userId, java.lang.String password, java.lang.String method)
@ManagedOperation(description="Get hash with specified salt and method") @ManagedOperationParameter(name="content",description="String for hash") @ManagedOperationParameter(name="salt",description="Salt") @ManagedOperationParameter(name="method",description="Hash method") java.lang.String getSpecificHash(java.lang.String content, java.lang.String salt, java.lang.String method)
@ManagedOperation(description="Get plain hash without salt with specified method") @ManagedOperationParameter(name="content",description="String for hash") @ManagedOperationParameter(name="method",description="Hash method") @Deprecated java.lang.String getSpecificPlainHash(java.lang.String content, java.lang.String method)