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.InitializingBean
Exception
public String getPasswordForUser(String username)
getPasswordForUser
in interface org.alfresco.http.AuthenticationDetailsProvider
public String getTicketForUser(String userName)
getTicketForUser
in interface org.alfresco.http.AuthenticationDetailsProvider
public void updateTicketForUser(String username, String ticket) throws IllegalArgumentException
updateTicketForUser
in interface org.alfresco.http.AuthenticationDetailsProvider
IllegalArgumentException
public String getAdminUsername()
getAdminUsername
in interface org.alfresco.http.AuthenticationDetailsProvider
public String getAdminPassword()
getAdminPassword
in interface org.alfresco.http.AuthenticationDetailsProvider
Copyright © 2014. All rights reserved.