org.alfresco.bm.http
Interface AuthenticationDetailsProvider

All Known Implementing Classes:
UserDataAutheticationDetailsProvider

public interface AuthenticationDetailsProvider

Provides details to allow users to authenticate against alfresco.

Author:
Frederik Heremans

Method Summary
 String getAdminPassword()
           
 String getAdminUserName()
           
 String getPasswordForUser(String userName)
           
 String getTicketForUser(String userName)
           
 void updateTicketForUser(String userName, String ticket)
          Update the value of the ticket for the given user.
 

Method Detail

getPasswordForUser

String getPasswordForUser(String userName)
Parameters:
userName -
Returns:
the password for the given user. Returns null, if user doesn't exist.

getTicketForUser

String getTicketForUser(String userName)
Parameters:
userName -
Returns:
the password for the given user. Returns null, if no ticket has been stored for this user or if the user doesn't exist.

updateTicketForUser

void updateTicketForUser(String userName,
                         String ticket)
                         throws IllegalArgumentException
Update the value of the ticket for the given user.

Parameters:
username -
Throws:
IllegalArgumentException - when the user does not exist.

getAdminUserName

String getAdminUserName()
Returns:
the Alfresco administrator username

getAdminPassword

String getAdminPassword()
Returns:
the Alfresco administrator password


Copyright © 2012. All Rights Reserved.