public interface AuthenticationService
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String username,
String password)
authenticates the given credentials
|
org.jabylon.users.User |
authenticateUser(String username,
String password)
tries to authenticate the given credentials
if the credentials are correct, the matching user object is returned.
|
org.jabylon.users.User |
getAnonymousUser()
retrieves the anonymous user.
|
org.jabylon.users.User authenticateUser(String username, String password)
if the credentials are correct, the matching user object is returned.
Otherwise this method returns null
username - password - nullboolean authenticate(String username, String password)
username - password - true if the credentials are valid. false otherwiseorg.jabylon.users.User getAnonymousUser()
Copyright © 2013–2014 Jabylon. All rights reserved.