public class ResourceAuthenticator extends Object implements IAuthenticator
echo -n "yourpassword" | sha256sum
NB -n is important because echo append a newline by default at the of string. -n avoid this
behaviour.public ResourceAuthenticator(IResourceLoader resourceLoader, String resourceName)
public boolean checkValid(String clientId, String username, byte[] password)
checkValid 在接口中 IAuthenticatorCopyright © 2021. All rights reserved.