com.bagri.server.hazelcast.task.auth.UserAuthenticator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bagri-server-hazelcast Show documentation
Show all versions of bagri-server-hazelcast Show documentation
Bagri DB Cache: Hazelcast implementation
The newest version!
package com.bagri.server.hazelcast.task.auth;
import org.springframework.beans.factory.annotation.Autowired;
import com.bagri.server.hazelcast.impl.SchemaRepositoryImpl;
public class UserAuthenticator extends com.bagri.client.hazelcast.task.auth.UserAuthenticator {
private transient SchemaRepositoryImpl repo;
@Autowired
public void setRepository(SchemaRepositoryImpl repo) {
this.repo = repo;
}
@Override
public Boolean call() throws Exception {
return repo.getAccessManagement().authenticate(userName, new String(password));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy