Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19812

Refactor IConnection to be agnostic of authorization specifics

XMLWordPrintable

    • 16

      The auth scheme can change in v3. A plain IConnection should be able to be refactored to support the auth details as an interface and details like get/set password, username, etc should be moved to those interface implementations.

      public interface IConnection {
      	...
      	public String getUsername();
      
      	public void setUsername(String username);
      
      	public String getPassword();
      
      	public void setPassword(String password);
      
      	public void setRememberPassword(boolean rememberPassword);
      	
      	public boolean isRememberPassword();
      	...
      

            Unassigned Unassigned
            jcantril@redhat.com Jeffrey Cantrill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: