APISonar


org.eclipse.mylyn.commons.net.AuthenticationType.HTTP

> org > eclipse > mylyn > commons > net > AuthenticationType > HTTP
org APIs eclipse APIs mylyn APIs commons APIs net APIs AuthenticationType APIs HTTP APIs

Example 1
public String getHttpUsername() {
        AuthenticationCredentials c = getTaskRepository().getCredentials(AuthenticationType.HTTP);
        return c != null ? c.getUserName() : ""; // NOI18N
    }
Example 2
public char[] getHttpPassword() {
        AuthenticationCredentials c = getTaskRepository().getCredentials(AuthenticationType.HTTP);
        return c != null ? c.getPassword().toCharArray() : new char[0]; 
    }