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 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;
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends AaaAuthorizationMethodsConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAuthorizationMethod

        @Nullable List<AaaAuthorizationMethodsConfig.AuthorizationMethod> getAuthorizationMethod()
        Return authorizationMethod, or null if 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, or null if 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