Interface AaaAuthenticationConfig
-
- 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 AaaAuthenticationConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for global authenticationThis class represents the following YANG schema fragment defined in module openconfig-aaa
grouping aaa-authentication-config { leaf-list authentication-method { type union { type identityref { base AAA_METHOD_TYPE; } type string; } ordered-by user; } }
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAaaAuthenticationConfig.AuthenticationMethod
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<AaaAuthenticationConfig.AuthenticationMethod>getAuthenticationMethod()Return authenticationMethod, ornullif it is not present.Class<? extends AaaAuthenticationConfig>implementedInterface()default @NonNull List<AaaAuthenticationConfig.AuthenticationMethod>requireAuthenticationMethod()Return authenticationMethod, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AaaAuthenticationConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAuthenticationMethod
@Nullable List<AaaAuthenticationConfig.AuthenticationMethod> getAuthenticationMethod()
Return authenticationMethod, ornullif it is not present.Ordered list of authentication methods for users. This can be either a reference to a server group, or a well- defined designation in the AAA_METHOD_TYPE identity. If authentication fails with one method, the next defined method is tried -- failure of all methods results in the user being denied access.- Returns:
List<AuthenticationMethod>authenticationMethod, ornullif it is not present.
-
requireAuthenticationMethod
default @NonNull List<AaaAuthenticationConfig.AuthenticationMethod> requireAuthenticationMethod()
Return authenticationMethod, guaranteed to be non-null.Ordered list of authentication methods for users. This can be either a reference to a server group, or a well- defined designation in the AAA_METHOD_TYPE identity. If authentication fails with one method, the next defined method is tried -- failure of all methods results in the user being denied access.- Returns:
List<AuthenticationMethod>authenticationMethod, guaranteed to be non-null.- Throws:
NoSuchElementException- if authenticationMethod is not present
-
-