| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| */ |
| package org.eclipse.osbp.osgi.hybrid.api; |
| |
| import java.io.Serializable; |
| import java.net.URI; |
| import java.util.List; |
| |
| import org.apache.http.NameValuePair; |
| import org.apache.http.client.utils.URLEncodedUtils; |
| |
| import com.vaadin.server.Page; |
| import com.vaadin.ui.UI; |
| |
| public class HybridCredentials { |
| |
| private final String portalId; |
| private final String userName; |
| private final String password; |
| |
| protected HybridCredentials(String portalId, String userName, String password) { |
| this.portalId = portalId; |
| this.userName = userName; |
| this.password = password; |
| } |
| |
| public String getPortalId() { |
| return portalId; |
| } |
| |
| public String getUserName() { |
| return userName; |
| } |
| |
| public String getPassword() { |
| return password; |
| } |
| } |