[jboss-jira] [JBoss JIRA] (WFLY-1662) SecurityContext API for UI Components (especialy ballroom)

Heiko Braun (JIRA) jira-events at lists.jboss.org
Fri Jul 12 08:35:21 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789328#comment-12789328 ] 

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


More information about the jboss-jira mailing list