Interface AaaData
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.DataRoot
@Generated("mdsal-binding-generator")
public interface AaaData
extends org.opendaylight.yangtools.yang.binding.DataRoot
This class represents the following YANG schema fragment defined in module aaa
module aaa {
yang-version 1;
namespace urn:opendaylight:params:xml:ns:yang:aaa;
prefix aaa;
revision 2016-12-14 {
}
grouping user {
leaf userid {
type string;
}
leaf name {
type string;
}
leaf description {
type string;
default "";
}
leaf enabled {
type boolean;
default true;
}
leaf email {
type string;
default "";
}
leaf password {
type string;
}
leaf salt {
type string;
}
leaf domainid {
type string;
}
}
grouping domain {
leaf domainid {
type string;
}
leaf name {
type string;
}
leaf description {
type string;
default "";
}
}
grouping role {
leaf roleid {
type string;
}
leaf name {
type string;
}
leaf description {
type string;
default "";
}
leaf domainid {
type string;
}
}
grouping grant {
leaf grantid {
type string;
}
leaf domainid {
type string;
}
leaf userid {
type string;
}
leaf roleid {
type string;
}
}
container authentication {
container domains {
list domains {
key domainid;
uses domain;
}
}
container users {
list users {
key userid;
uses user;
}
}
container roles {
list roles {
key roleid;
uses role;
}
}
container grants {
list grants {
key grantid;
uses grant;
}
}
}
grouping http-permission {
leaf resource {
type string;
default *;
}
leaf index {
type uint32;
}
list permissions {
leaf-list actions {
type enumeration {
enum get;
enum put;
enum post;
enum patch;
enum delete;
}
}
leaf role {
type string;
}
}
leaf description {
type string;
default "";
}
}
container http-authorization {
container policies {
list policies {
key resource;
unique index;
uses http-permission;
ordered-by user;
}
}
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn authentication, ornullif it is not present.Return httpAuthorization, ornullif it is not present.@NonNull AuthenticationReturn authentication, or an empty instance if it is not present.@NonNull HttpAuthorizationReturn httpAuthorization, or an empty instance if it is not present.
-
Method Details
-
getAuthentication
Authentication getAuthentication()Return authentication, ornullif it is not present.- Returns:
Authenticationauthentication, ornullif it is not present.
-
nonnullAuthentication
@NonNull Authentication nonnullAuthentication()Return authentication, or an empty instance if it is not present.- Returns:
Authenticationauthentication, or an empty instance if it is not present.
-
getHttpAuthorization
HttpAuthorization getHttpAuthorization()Return httpAuthorization, ornullif it is not present.- Returns:
HttpAuthorizationhttpAuthorization, ornullif it is not present.
-
nonnullHttpAuthorization
@NonNull HttpAuthorization nonnullHttpAuthorization()Return httpAuthorization, or an empty instance if it is not present.- Returns:
HttpAuthorizationhttpAuthorization, or an empty instance if it is not present.
-