org.jasig.cas.client.util
Class AssertionHolder

java.lang.Object
  extended by org.jasig.cas.client.util.AssertionHolder

public class AssertionHolder
extends Object

Static holder that places Assertion in a ThreadLocal.

Since:
3.0
Version:
$Revision: 11728 $ $Date: 2007-09-26 14:20:43 -0400 (Tue, 26 Sep 2007) $
Author:
Scott Battaglia

Constructor Summary
AssertionHolder()
           
 
Method Summary
static void clear()
          Clear the ThreadLocal.
static Assertion getAssertion()
          Retrieve the assertion from the ThreadLocal.
static void setAssertion(Assertion assertion)
          Add the Assertion to the ThreadLocal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertionHolder

public AssertionHolder()
Method Detail

getAssertion

public static Assertion getAssertion()
Retrieve the assertion from the ThreadLocal.

Returns:
the Asssertion associated with this thread.

setAssertion

public static void setAssertion(Assertion assertion)
Add the Assertion to the ThreadLocal.

Parameters:
assertion - the assertion to add.

clear

public static void clear()
Clear the ThreadLocal.



Copyright © 2006-2011 Jasig. All Rights Reserved.