Interface AaaAuthenticationConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config, State

    @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;
       }
     }
     
    The schema path to identify an instance is openconfig-aaaaaa-authentication-config
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

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

        @Nullable List<AaaAuthenticationConfig.AuthenticationMethod> getAuthenticationMethod()
        Return authenticationMethod, or null if 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, or null if 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