mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-02 17:35:18 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
33 lines
495 B
Java
33 lines
495 B
Java
/**
|
|
*
|
|
*/
|
|
package org.alfresco.repo.remote;
|
|
|
|
/**
|
|
* Remote client utility to hold an authentication ticket.
|
|
* @author britt
|
|
*/
|
|
public class ClientTicketHolder
|
|
{
|
|
/**
|
|
* Thread local tickets.
|
|
*/
|
|
private static String fTicket;
|
|
|
|
/**
|
|
* Set the ticket.
|
|
*/
|
|
public static void SetTicket(String ticket)
|
|
{
|
|
fTicket = ticket;
|
|
}
|
|
|
|
/**
|
|
* Get the ticket.
|
|
*/
|
|
public static String GetTicket()
|
|
{
|
|
return fTicket;
|
|
}
|
|
}
|