@PermissionCheck("featureX")
private void enableFeatureX() {
...
}
This processor will append the required security check code to ensure the method body
is only executed when the user is granted with the proper permission rights. @SecuredAction(type="project", action="create")
private void enableProjectCreation() {
creationButton.setEnabled(true);
}
This processor class will append the required security check code to ensure the method body
is only executed when the user is granted with the proper permission rights.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.