@Service public class SpringSecurityService extends Object implements SecurityService
BEAN_AUTHENTICATION_MANAGER| Constructor and Description |
|---|
SpringSecurityService() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
authenticate(String username,
String password) |
<T> T |
authenticate(String username,
String password,
boolean useIfValid) |
String |
encodePassword(UserIdentity userIdentity,
String value) |
UserIdentity |
getAdministratorIdentity() |
public <T> T authenticate(String username, String password)
authenticate in interface SecurityServicepublic <T> T authenticate(String username, String password, boolean useIfValid)
authenticate in interface SecurityServicepublic String encodePassword(UserIdentity userIdentity, String value)
encodePassword in interface SecurityServicepublic UserIdentity getAdministratorIdentity()
getAdministratorIdentity in interface SecurityServiceCopyright 2012-2013 Veniamin Isaias. All rights reserved.