Interface AaaAuthorizationMethodsConfig
- 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
- All Known Subinterfaces:
AaaAuthorizationConfig,Config,State
@Generated("mdsal-binding-generator")
public interface AaaAuthorizationMethodsConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Common definitions for authorization methods for global and per-event type
This class represents the following YANG schema fragment defined in module openconfig-aaa
grouping aaa-authorization-methods-config {
leaf-list authorization-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 TypeMethodDescriptionReturn authorizationMethod, ornullif it is not present.Class<? extends AaaAuthorizationMethodsConfig>default @NonNull List<AaaAuthorizationMethodsConfig.AuthorizationMethod>Return authorizationMethod, 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 AaaAuthorizationMethodsConfig> 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
-
getAuthorizationMethod
@Nullable List<AaaAuthorizationMethodsConfig.AuthorizationMethod> getAuthorizationMethod()Return authorizationMethod, ornullif it is not present.Ordered list of methods for authorizing commands. The first method that provides a response (positive or negative) should be used. The list may contain a well-defined method such as the set of all TACACS or RADIUS servers, or the name of a defined AAA server group. The system must validate that the named server group exists.- Returns:
List<AuthorizationMethod>authorizationMethod, ornullif it is not present.
-
requireAuthorizationMethod
default @NonNull List<AaaAuthorizationMethodsConfig.AuthorizationMethod> requireAuthorizationMethod()Return authorizationMethod, guaranteed to be non-null.Ordered list of methods for authorizing commands. The first method that provides a response (positive or negative) should be used. The list may contain a well-defined method such as the set of all TACACS or RADIUS servers, or the name of a defined AAA server group. The system must validate that the named server group exists.- Returns:
List<AuthorizationMethod>authorizationMethod, guaranteed to be non-null.- Throws:
NoSuchElementException- if authorizationMethod is not present
-