Mostly minor changes: - Add deprecated javadoc tag on deprecated members - Reduce duplication (FlatFile, BackupService, ...) - Make methods static - Reduce size of anonymous classes - Replace name with displayName in PermissionsSystemType (avoids confusing with Enum name()) - Tabs to spaces - Merge if statements Code from third-party sources (BCryptService, BinTools, PHPBB) not modified.
17 lines
334 B
Java
17 lines
334 B
Java
package fr.xephi.authme.security.crypts;
|
|
|
|
/**
|
|
* Plaintext password storage.
|
|
*
|
|
* @deprecated Using this is no longer supported. AuthMe will migrate to SHA256 on startup.
|
|
*/
|
|
@Deprecated
|
|
public class PLAINTEXT extends UnsaltedMethod {
|
|
|
|
@Override
|
|
public String computeHash(String password) {
|
|
return password;
|
|
}
|
|
|
|
}
|