Interface AaaAdminConfig
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator")
public interface AaaAdminConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for the system built-in administrator / root user account
This class represents the following YANG schema fragment defined in module openconfig-aaa
grouping aaa-admin-config {
leaf admin-password {
type string;
oc-ext:openconfig-hashed-value;
}
leaf admin-password-hashed {
type oc-aaa-types:crypt-password-type;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn adminPassword, ornullif it is not present.Return adminPasswordHashed, ornullif it is not present.Class<? extends AaaAdminConfig>default @NonNull StringReturn adminPassword, guaranteed to be non-null.default @NonNull CryptPasswordTypeReturn adminPasswordHashed, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends AaaAdminConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAdminPassword
String getAdminPassword()Return adminPassword, ornullif it is not present.The admin/root password, supplied as a cleartext string. The system should hash and only store the password as a hashed value.- Returns:
StringadminPassword, ornullif it is not present.
-
requireAdminPassword
Return adminPassword, guaranteed to be non-null.The admin/root password, supplied as a cleartext string. The system should hash and only store the password as a hashed value.- Returns:
StringadminPassword, guaranteed to be non-null.- Throws:
NoSuchElementException- if adminPassword is not present
-
getAdminPasswordHashed
CryptPasswordType getAdminPasswordHashed()Return adminPasswordHashed, ornullif it is not present.The admin/root password, supplied as a hashed value using the notation described in the definition of the crypt-password-type.- Returns:
CryptPasswordTypeadminPasswordHashed, ornullif it is not present.
-
requireAdminPasswordHashed
Return adminPasswordHashed, guaranteed to be non-null.The admin/root password, supplied as a hashed value using the notation described in the definition of the crypt-password-type.- Returns:
CryptPasswordTypeadminPasswordHashed, guaranteed to be non-null.- Throws:
NoSuchElementException- if adminPasswordHashed is not present
-