org.alfresco.http
Interface AuthenticationDetailsProvider
public interface AuthenticationDetailsProvider
Provides details to allow users to authenticate against alfresco.
- Author:
- Frederik Heremans
getPasswordForUser
String getPasswordForUser(String username)
- Returns:
- the password for the given user. Returns null, if user doesn't exist.
getTicketForUser
String getTicketForUser(String username)
- Returns:
- the ticket being used by the given user or null if no ticket
is stored
updateTicketForUser
boolean updateTicketForUser(String username,
String ticket)
- Update the value of the ticket for the given user.
- Returns:
- true if the ticket was updated or false if
it was not (e.g. if the user is not defined)
getAdminUsername
String getAdminUsername()
- Returns:
- the Alfresco administrator username
getAdminPassword
String getAdminPassword()
- Returns:
- the Alfresco administrator password
Copyright © 2012. All Rights Reserved.