[jbosstools-issues] [JBoss JIRA] (JBIDE-19812) Refactor IConnection to be agnostic of authorization specifics

Andre Dietisheim (JIRA) issues at jboss.org
Fri May 22 08:04:19 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-19812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-19812:
-------------------------------------
    Description: 
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.

{code}
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();
	...
{code}

  was: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.



> Refactor IConnection to be agnostic of authorization specifics
> --------------------------------------------------------------
>
>                 Key: JBIDE-19812
>                 URL: https://issues.jboss.org/browse/JBIDE-19812
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Jeff Cantrill
>            Assignee: Jeff Cantrill
>              Labels: v3
>             Fix For: 4.3.0.Beta1
>
>
> 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.
> {code}
> 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();
> 	...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list