Package | Description |
---|---|
org.uberfire.security.authz | |
org.uberfire.security.impl.authz |
Modifier and Type | Method and Description |
---|---|
AuthorizationResult |
PermissionManager.checkPermission(Permission permission,
org.jboss.errai.security.shared.api.identity.User user)
Check if the given permission is granted to the specified user.
|
AuthorizationResult |
PermissionManager.checkPermission(Permission permission,
org.jboss.errai.security.shared.api.identity.User user,
VotingStrategy votingStrategy)
Check if the given permission is granted to the specified user.
|
AuthorizationResult |
Permission.getResult()
The authorization result or permission status.
|
AuthorizationResult |
AuthorizationResult.invert() |
static AuthorizationResult |
AuthorizationResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationResult[] |
AuthorizationResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
AuthorizationResult |
VotingAlgorithm.vote(Iterable<AuthorizationResult> results)
It get a list of results as input and votes for a winning result.
|
Modifier and Type | Method and Description |
---|---|
void |
Permission.setResult(AuthorizationResult result)
Change the authorzation result.
|
Modifier and Type | Method and Description |
---|---|
AuthorizationResult |
VotingAlgorithm.vote(Iterable<AuthorizationResult> results)
It get a list of results as input and votes for a winning result.
|
Modifier and Type | Method and Description |
---|---|
protected AuthorizationResult |
DefaultPermissionManager._checkPermission(Permission permission,
PermissionCollection collection) |
protected AuthorizationResult |
DefaultPermissionManager._checkPermission(Permission permission,
org.jboss.errai.security.shared.api.identity.User user,
VotingStrategy votingStrategy) |
AuthorizationResult |
DefaultPermissionManager.checkPermission(Permission permission,
org.jboss.errai.security.shared.api.identity.User user) |
AuthorizationResult |
DefaultPermissionManager.checkPermission(Permission permission,
org.jboss.errai.security.shared.api.identity.User user,
VotingStrategy votingStrategy) |
AuthorizationResult |
DefaultAuthzResultCache.get(org.jboss.errai.security.shared.api.identity.User user,
Permission permission) |
AuthorizationResult |
DotNamedPermission.getResult() |
AuthorizationResult |
AffirmativeBasedVoter.vote(Iterable<AuthorizationResult> results) |
AuthorizationResult |
UnanimousBasedVoter.vote(Iterable<AuthorizationResult> results) |
AuthorizationResult |
ConsensusBasedVoter.vote(Iterable<AuthorizationResult> results) |
Modifier and Type | Method and Description |
---|---|
protected List<AuthorizationResult> |
DefaultPermissionManager._checkRoleAndGroupPermissions(Permission permission,
org.jboss.errai.security.shared.api.identity.User user) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAuthzResultCache.put(org.jboss.errai.security.shared.api.identity.User user,
Permission permission,
AuthorizationResult authzResult) |
void |
DotNamedPermission.setResult(AuthorizationResult result) |
Modifier and Type | Method and Description |
---|---|
AuthorizationResult |
AffirmativeBasedVoter.vote(Iterable<AuthorizationResult> results) |
AuthorizationResult |
UnanimousBasedVoter.vote(Iterable<AuthorizationResult> results) |
AuthorizationResult |
ConsensusBasedVoter.vote(Iterable<AuthorizationResult> results) |
Constructor and Description |
---|
DotNamedPermission(String name,
AuthorizationResult result) |
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.