Interface AaaAdminConfig
-
- All Superinterfaces:
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 accountThis 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; } }The schema path to identify an instance is openconfig-aaaaaa-admin-config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetAdminPassword()Return adminPassword, ornullif it is not present.CryptPasswordTypegetAdminPasswordHashed()Return adminPasswordHashed, ornullif it is not present.Class<? extends AaaAdminConfig>implementedInterface()default @NonNull StringrequireAdminPassword()Return adminPassword, guaranteed to be non-null.default @NonNull CryptPasswordTyperequireAdminPasswordHashed()Return adminPasswordHashed, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AaaAdminConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
default @NonNull String 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
default @NonNull CryptPasswordType 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
-
-