Code example for CookieManager

0
			  public boolean verify(String hostname, SSLSession session) {
				  return true; 
			  } 
		}); 
		 
		CookieManager cm = new CookieManager();
		CookieHandler.setDefault(cm); 
	} 
	 
	protected void setContext(Context c) {
		context = c;
	} 
	 
	public static SkywardAuthenticator getInstance(Context c) {
		// as a singleton 
		if(instance == null) {
			instance = new SkywardAuthenticator(c);
			return instance;
		} else { 
			instance.setContext(c);
			return instance;