@FunctionalInterface public interface Authenticator
| Modifier and Type | Interface and Description |
|---|---|
static class |
Authenticator.AuthenticationResult
Provide the result of the authentication and the player id.
|
| Modifier and Type | Method and Description |
|---|---|
Authenticator.AuthenticationResult |
getPasswordForUser(be.yildiz.common.authentication.Credentials credentials)
Check if the given login password are correct.
|
Authenticator.AuthenticationResult getPasswordForUser(be.yildiz.common.authentication.Credentials credentials) throws be.yildiz.common.exeption.NotFoundException
credentials - User credentials.true if the password is correct for the userName.be.yildiz.common.exeption.TechnicalException - If something went wrong while trying to check the credentials.be.yildiz.common.exeption.NotFoundException - If the credentials login does not exists.Copyright © 2014–2017. All rights reserved.