@Transactional @Service(value="authenticationDomainService") public class AuthenticationDomainService extends Object implements AuthenticationService
| Constructor and Description |
|---|
AuthenticationDomainService() |
| Modifier and Type | Method and Description |
|---|---|
de.alpharogroup.auth.models.AuthenticationResult<de.alpharogroup.user.domain.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<de.alpharogroup.user.domain.User,de.alpharogroup.auth.models.AuthenticationErrors> authenticate(String emailOrUsername, String password)
authenticate in interface AuthenticationServicepublic String newAuthenticationToken(String username)
AuthenticationServicenewAuthenticationToken in interface AuthenticationServiceusername - the usernameCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.