deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lincoln Baxter III (Created) (JIRA)" <>
Subject [jira] [Created] (DELTASPIKE-126) Include SecurityParameterBinding support for SecurityBindingType feature
Date Tue, 20 Mar 2012 05:11:56 GMT
Include SecurityParameterBinding support for SecurityBindingType feature

                 Key: DELTASPIKE-126
             Project: DeltaSpike
          Issue Type: Improvement
          Components: Security-Module
            Reporter: Lincoln Baxter III
            Assignee: Gerhard Petracek
             Fix For: 0.2-incubating

Allows access to the business method invocation arguments in the bound security interceptor

    public @interface ProjectAdmin
        // empty

    public @interface ProjectBinding
        // empty

    public void updateName(@ProjectBinding Project p, String name)
       // save project name

    public boolean isProjectAdmin(@ProjectBinding Project p, Identity identity)
       if(identity.hasRole("project" + p.getId() + "_admin")

Note that the @Project annotation is not a CDI bean Qualifier / Stereotype annotation, it
is a method parameter security binding annotation that tells Security to use the value of
the Project passed to the method call in the security binding check itself.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message