public interface AuthorizationCheck<C extends AuthorizationCheck>
(See the AuthorizationManager
check
methods)
Modifier and Type | Method and Description |
---|---|
C |
denied(Command onDenied)
Specifies the command instance to execute in case the check result is denied.
|
C |
granted(Command onGranted)
Specifies the command instance to execute in case the check result is granted.
|
boolean |
result()
Get the check result value
|
C granted(Command onGranted)
onGranted
- The command to executeC denied(Command onDenied)
onDenied
- The command to executeboolean result()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.