Revision 568f7fa0
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/BaseRemotingTest.java | ||
---|---|---|
201 | 201 |
sc.setAuthentication(authentication); |
202 | 202 |
|
203 | 203 |
SecurityContextHolder.setContext(sc); |
204 |
CdmApplicationState.setCurrentSecurityContext(SecurityContextHolder.getContext()); |
|
204 | 205 |
} |
205 | 206 |
|
206 | 207 |
|
Also available in: Unified diff
Set security context for tests