2 * Copyright (c) 2023 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.netconf.authprovider;
10 import org.opendaylight.aaa.api.PasswordCredentials;
12 final class DefaultPasswordCredentials implements PasswordCredentials {
13 private final String username;
14 private final String password;
16 DefaultPasswordCredentials(final String username, final String password) {
17 this.username = username;
18 this.password = password;
22 public String username() {
27 public String password() {
32 public String domain() {
33 // If this is left null, default "sdn" domain is assumed