| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
addAttribute(String key,
Object value)
Add and attribute to this grant.
|
T |
attributes(AbacSupport attribs)
Attributes of this grant.
|
Grant |
build()
Build the instance from this builder.
|
T |
name(String name)
Name of this grant.
|
T |
origin(String origin)
Origin of this grant (e.g.
|
T |
type(String type)
Configure type of this grant.
|
public Grant build()
Builderpublic T type(String type)
type - type name, known types are "role" and "scope"public T name(String name)
name - logical name of this grant (e.g. "admin", "calendar_read" etc.)public T origin(String origin)
origin - who granted this grant?public T attributes(AbacSupport attribs)
attribs - Attributes to add to this grant, allowing us to extend the information known (such as "nickname",
"cn" etc.)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.