Revision 5a87d221
Added by Andreas Kohlbecker about 4 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteConfiguration.java | ||
---|---|---|
150 | 150 |
|
151 | 151 |
private ICachedCommonService cachedCommonService; |
152 | 152 |
|
153 |
static { |
|
154 |
// The Taxeditor is multithreaded, the same authentication should be used |
|
155 |
// in all threads |
|
156 |
SecurityContextHolder.setStrategyName(SecurityContextHolder.MODE_GLOBAL); |
|
157 |
} |
|
158 |
|
|
153 | 159 |
public CdmApplicationRemoteConfiguration() {} |
154 | 160 |
|
155 | 161 |
public CdmApplicationRemoteConfiguration(ICdmRemoteSource remoteSource) { |
Also available in: Unified diff
ref #8848 switching from thread local to global secutity context holder strategy