String servlet) {
Object currentSC = null;
if (runAsPrincipals.containsKey(servlet)) {
String user = runAsPrincipals.get(servlet);
RunAsAuthenticator ras = new RunAsAuthenticator(user, "");
ras.authenticate(null);
currentSC =
SipSecurityManager.getSecurityContext();
}
return currentSC;