Skip to content

Instantly share code, notes, and snippets.

@darranl
Last active December 23, 2015 00:19
Show Gist options
  • Save darranl/6553062 to your computer and use it in GitHub Desktop.
Save darranl/6553062 to your computer and use it in GitHub Desktop.
Role Mapping - Adding All
"role-mapping" => {
"Monitor" => {
"exclude" => {
"user-username" => {
"name" => "username",
"realm" => undefined,
"type" => "USER"
},
"user-username@realmname" => {
"name" => "username",
"realm" => "realmname",
"type" => "USER"
},
"group-groupname" => {
"name" => "groupname",
"realm" => undefined,
"type" => "GROUP"
},
"group-groupname@realmname" => {
"name" => "groupname",
"realm" => "realmname",
"type" => "GROUP"
}
},
"include" => {
"user-username" => {
"name" => "username",
"realm" => undefined,
"type" => "USER"
},
"user-username@realmname" => {
"name" => "username",
"realm" => "realmname",
"type" => "USER"
},
"group-groupname" => {
"name" => "groupname",
"realm" => undefined,
"type" => "GROUP"
},
"group-groupname@realmname" => {
"name" => "groupname",
"realm" => "realmname",
"type" => "GROUP"
}
}
"role-mapping" => {
"Monitor" => {
"exclude" => {
"user-username" => {
"name" => "username",
"realm" => undefined,
"type" => "USER"
},
"user-username@realmname" => {
"name" => "username",
"realm" => "realmname",
"type" => "USER"
},
"group-groupname" => {
"name" => "groupname",
"realm" => undefined,
"type" => "GROUP"
},
"group-groupname@realmname" => {
"name" => "groupname",
"realm" => "realmname",
"type" => "GROUP"
}
},
"include" => {
"all" => {
"realm" => undefined,
"type" => "ALL"
},
"all@realmname" => {
"realm" => realmname,
"type" => "USER"
},
"user-username" => {
"name" => "username",
"realm" => undefined,
"type" => "USER"
},
"user-username" => {
"name" => "username",
"realm" => undefined,
"type" => "USER"
},
"user-username@realmname" => {
"name" => "username",
"realm" => "realmname",
"type" => "USER"
},
"group-groupname" => {
"name" => "groupname",
"realm" => undefined,
"type" => "GROUP"
},
"group-groupname@realmname" => {
"name" => "groupname",
"realm" => "realmname",
"type" => "GROUP"
}
}
"role-mapping" {
"Monitor" : {
"exclude-user" : {
"username" : {
"name" : "username",
"realm" : null,
},
"username@realmname" : {
"name" : "username",
"realm" : "realmname",
}
}
"exclude-group" {
"groupname" : {
"name" : "groupname",
"realm" : null,
},
"groupname@realmname" : {
"name" : "groupname",
"realm" : "realmname",
}
}
"include-all" {
"all" : {
"realm" : null,
},
"all@realmname" : {
"realm" : "realmname",
"type" : "USER"
},
"include-user" : {
"username" : {
"name" : "username",
"realm" : null,
},
"username@realmname" : {
"name" : "username",
"realm" : "realmname",
}
}
"include-group" {
"groupname" : {
"name" : "groupname",
"realm" : null,
},
"groupname@realmname" : {
"name" : "groupname",
"realm" : "realmname",
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment