mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Moved a bunch of things to more logical locations.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
32
source/java/org/alfresco/repo/remote/ClientTicketHolder.java
Normal file
32
source/java/org/alfresco/repo/remote/ClientTicketHolder.java
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user