{
String contextID = PolicyContext.getContextID();
AuthConfigFactory factory = AuthConfigFactory.getFactory();
AuthConfigProvider provider = factory.getConfigProvider(layer,contextID,null);
ServerAuthConfig serverConfig = provider.getServerAuthConfig(layer,contextID,
new AppCallbackHandler("DUMMY","DUMMY".toCharArray()));
ServerAuthContext sctx = serverConfig.getAuthContext(contextID,
new Subject(), new HashMap());
if(clientSubject == null)
clientSubject = new Subject();
Subject serviceSubject = new Subject();