Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.2.0
-
None
-
Wildfly 8.1.0.Final / JSF / DeltaSpike
Description
According specification @Nonbinding annotation desingates properties of annotations to be ignored when checking for equality.
Nevertheless I get a missing parameter binding exception in following situation:
Exception:
java.lang.IllegalStateException: Missing required security parameter binding [@at.telekom.sms.web.security.AuthorizedParam(action=UPDATE)] on method invocation [net.a1.csms.jsf.GroupBean.setCsmsGroup(class at.telekom.sms.persistence.entities.SmsLists)]
Binding Annotaiton:
@SecurityParameterBinding
@Target(
)
@Retention(RUNTIME)
public @interface AuthorizedParam
Authorizer:
public class MssmsAuthorizer {
@Secures @Authorized
public boolean authorized(InvocationContext ctx, @LoggedIn MssmsUser mssmsUser, @AuthorizedParam SmsLists smsList)
}
Annotated Bean method:
{
@Authorized
@OpenTransactionProvided(rollbackOnly=true)
public void setCsmsGroup(@AuthorizedParam(action=Action.READ) final SmsLists newGroup)
}