blob: d645856f5444527d036374c1d4522e80978d8490 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 Tasktop Technologies and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Tasktop Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.commons.repositories.core.auth;
import org.eclipse.mylyn.commons.repositories.core.RepositoryLocation;
/**
* @author Steffen Pingel
*/
public class UserAuthenticationRequest extends AuthenticationRequest<AuthenticationType<UserCredentials>> {
private final boolean needsDomain;
public UserAuthenticationRequest(RepositoryLocation location,
AuthenticationType<UserCredentials> authenticationType, boolean needsDomain) {
super(location, authenticationType);
this.needsDomain = needsDomain;
}
public boolean needsDomain() {
return needsDomain;
}
}