Interface AaaAuthenticationConfig
- 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 AaaAuthenticationConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for global authentication
This 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 ClassesModifier and TypeInterfaceDescriptionstatic final classThis class represents the following YANG schema fragment defined in module openconfig-aaa -
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 TypeMethodDescription@Nullable List<AaaAuthenticationConfig.AuthenticationMethod>Return authenticationMethod, ornullif it is not present.Class<? extends AaaAuthenticationConfig>default @NonNull List<AaaAuthenticationConfig.AuthenticationMethod>Return authenticationMethod, 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 AaaAuthenticationConfig> 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
-
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
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
-