[
https://issues.jboss.org/browse/WFLY-1662?page=com.atlassian.jira.plugin....
]
Heiko Braun commented on WFLY-1662:
-----------------------------------
Here's an example:
{noformat}
@Override
protected void onAttach() {
super.onAttach();
// access control
String nameToken =
FRAMEWORK.getPlaceManager().getCurrentPlaceRequest().getNameToken();
SecurityContext securityContext = SECURITY_SERVICE.getSecurityContext(nameToken);
boolean visible = securityContext.isWritable();
setVisible(visible);
}
{noformat}
SecurityContext API for UI Components (especialy ballroom)
----------------------------------------------------------
Key: WFLY-1662
URL:
https://issues.jboss.org/browse/WFLY-1662
Project: WildFly
Issue Type: Feature Request
Components: Web Console
Reporter: Heiko Braun
Assignee: Heiko Braun
we need the ability for UI components to access the security context and reason over it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira