act.aaa.init.html Maven / Gradle / Ivy
ACT-AAA Startup Guide
ACT-AAA Startup Guide
You have added act-aaa
to your application project dependency, however you haven't created the bridge
class to configure act-aaa
. Please create a class extends act.aaa.ActAAAService.Base
to
allow act-aaa
work through. Below is a sample class you can follow:
package com.mycomp.myproj;
import act.aaa.ActAAAService;
import act.crypto.AppCrypt;
import javax.inject.Inject;
public class MyAppSecurity extends ActAAAService.Base<User> {
@Inject
private AppCrypto crypto;
@Override
protected boolean verifyPassword(User user, char[] password) {
return crypto.verifyPassword(password, user.passwordHash());
}
}