public class UserDataAutheticationDetailsProvider extends Object implements org.alfresco.http.AuthenticationDetailsProvider, org.springframework.beans.factory.InitializingBean
AuthenticationDetailsProvider using UserData to store user-details.| Constructor and Description |
|---|
UserDataAutheticationDetailsProvider(UserDataService userDataService,
String adminUserName,
String adminPassword) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Ensures that the bean is properly initialized.
|
String |
getAdminPassword() |
String |
getAdminUsername() |
String |
getPasswordForUser(String username) |
String |
getTicketForUser(String userName) |
void |
updateTicketForUser(String username,
String ticket) |
public UserDataAutheticationDetailsProvider(UserDataService userDataService, String adminUserName, String adminPassword)
userDataService - service to use for UserData related operationspublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic String getPasswordForUser(String username)
getPasswordForUser in interface org.alfresco.http.AuthenticationDetailsProviderpublic String getTicketForUser(String userName)
getTicketForUser in interface org.alfresco.http.AuthenticationDetailsProviderpublic void updateTicketForUser(String username, String ticket) throws IllegalArgumentException
updateTicketForUser in interface org.alfresco.http.AuthenticationDetailsProviderIllegalArgumentExceptionpublic String getAdminUsername()
getAdminUsername in interface org.alfresco.http.AuthenticationDetailsProviderpublic String getAdminPassword()
getAdminPassword in interface org.alfresco.http.AuthenticationDetailsProviderCopyright © 2014. All rights reserved.