AuthConfigProvider provider = factory.getConfigProvider(layer, appId, null);
ServerAuthConfig serverConfig = provider.getServerAuthConfig(layer, appId, new AppCallbackHandler("jduke",
"theduke".toCharArray()));
assertNotNull("ServerAuthConfig is not null", serverConfig);
MessageInfo mi = new GenericMessageInfo(new Object(), new Object());
String authContextID = serverConfig.getAuthContextID(mi);
assertNotNull("AuthContext ID != null", authContextID);
ServerAuthContext sctx = serverConfig.getAuthContext(authContextID, new Subject(), new HashMap());
assertNotNull("ServerAuthContext != null", sctx);
Subject clientSubject = new Subject();