org.openhealthtools.ihe.atna.context.SecurityContextFactory Maven / Gradle / Ivy
The newest version!
/**
* ****************************************************************************
* Copyright (c) 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* ICW AG - thread-local cleanup
* *****************************************************************************
*/
package org.openhealthtools.ihe.atna.context;
import org.openhealthtools.ihe.utils.thread.ConfigurableInheritableThreadLocal;
/**
* Factory to create, initialize, and hold in a Thread Local context the singleton
* instance of the Security Context for use throughout the IHE Security-enabled
* modules. The instance of the security context should be fetched statically
* using the following:
*
* SecurityContext context = SecurityContextFactory.getInstance().getSecurityContext()
*
* @author