@Transactional @Service(value="baseAuthenticationDomainService") public class BaseAuthenticationDomainService extends Object implements BaseAuthenticationService
| Constructor and Description |
|---|
BaseAuthenticationDomainService() |
| Modifier and Type | Method and Description |
|---|---|
de.alpharogroup.auth.models.AuthenticationResult<User,de.alpharogroup.auth.models.AuthenticationErrors> |
authenticate(String emailOrUsername,
String password) |
String |
newAuthenticationToken(String username)
Factory method that creates a new authentication token or gets the existing one from the
given user name.
|
public de.alpharogroup.auth.models.AuthenticationResult<User,de.alpharogroup.auth.models.AuthenticationErrors> authenticate(String emailOrUsername, String password)
authenticate in interface BaseAuthenticationServicepublic String newAuthenticationToken(String username)
BaseAuthenticationServicenewAuthenticationToken in interface BaseAuthenticationServiceusername - the usernameCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.