public interface AuthorizationIdentity
Modifier and Type | Field and Description |
---|---|
static AuthorizationIdentity |
EMPTY
The empty authorization identity.
|
Modifier and Type | Method and Description |
---|---|
static AuthorizationIdentity |
basicIdentity(Attributes attributes)
Create a basic authorization identity implementation.
|
static AuthorizationIdentity |
basicIdentity(AuthorizationIdentity authorizationIdentity,
Attributes runtimeAttributes)
Create a basic authorization identity implementation using the given authorization
identity and runtime attributes.
|
static AuthorizationIdentity |
basicIdentity(Supplier<Attributes> attributes,
String string)
Create a basic authorization identity implementation.
|
static AuthorizationIdentity |
basicIdentity(Supplier<Attributes> attributes,
Supplier<Attributes> runtimeAttributes,
String string)
Create a basic authorization identity implementation using the given attributes and runtime attributes.
|
default Attributes |
getAttributes()
Get the attributes which pertain to this identity.
|
default Attributes |
getRuntimeAttributes()
Get the runtime attributes which pertain to this identity.
|
static final AuthorizationIdentity EMPTY
default Attributes getAttributes()
null
)default Attributes getRuntimeAttributes()
null
)static AuthorizationIdentity basicIdentity(Attributes attributes)
attributes
- the identity attributesstatic AuthorizationIdentity basicIdentity(Supplier<Attributes> attributes, String string)
attributes
- the identity attributesstatic AuthorizationIdentity basicIdentity(Supplier<Attributes> attributes, Supplier<Attributes> runtimeAttributes, String string)
attributes
- the attributesruntimeAttributes
- the runtime attributesstatic AuthorizationIdentity basicIdentity(AuthorizationIdentity authorizationIdentity, Attributes runtimeAttributes)
authorizationIdentity
- the authorization identityruntimeAttributes
- the identity runtime attributesCopyright © 2021 JBoss by Red Hat. All rights reserved.