Interface AaaAuthorizationMethodsConfig
-
- All Superinterfaces:
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 typeThis 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; } }The schema path to identify an instance is openconfig-aaaaaa-authorization-methods-config
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAaaAuthorizationMethodsConfig.AuthorizationMethod
-
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 @Nullable List<AaaAuthorizationMethodsConfig.AuthorizationMethod>getAuthorizationMethod()Return authorizationMethod, ornullif it is not present.Class<? extends AaaAuthorizationMethodsConfig>implementedInterface()default @NonNull List<AaaAuthorizationMethodsConfig.AuthorizationMethod>requireAuthorizationMethod()Return authorizationMethod, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AaaAuthorizationMethodsConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
-
-